Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable s390x/ppc jobs #26

Merged
merged 2 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions flaky-test-reporter/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,13 @@ jobConfigs:
slackChannels:
- name: knative-serving-bots
identity: C04MYJBP3H7
- name: s390x-contour-tests_serving_main_periodic
org: knative
repo: serving
type: postsubmit
slackChannels:
- name: knative-serving-bots
identity: C04MYJBP3H7
- name: kourier-stable_serving_main_periodic
org: knative
repo: serving
type: postsubmit
slackChannels:
- name: knative-serving-bots
identity: C04MYJBP3H7
- name: s390x-kourier-tests_serving_main_periodic
org: knative
repo: serving
type: postsubmit
slackChannels:
- name: knative-serving-bots
identity: C04MYJBP3H7
- name: continuous_eventing_main_periodic
org: knative
repo: eventing
Expand All @@ -71,29 +57,8 @@ jobConfigs:
slackChannels:
- name: knative-eventing
identity: C04LMU33V1S
- name: s390x-e2e-tests_eventing_main_periodic
org: knative
repo: eventing
type: postsubmit
slackChannels:
- name: knative-eventing
identity: C04LMU33V1S
- name: continuous_eventing-kafka-broker_main_periodic
org: knative-extensions
repo: eventing-kafka-broker
type: postsubmit
issueRepo: eventing-kafka-broker
- name: s390x-e2e-tests_operator_main_periodic
org: knative
repo: operator
type: postsubmit
slackChannels:
- name: knative-eventing
identity: C04LMU33V1S
- name: s390x-e2e-tests_client_main_periodic
org: knative
repo: client
type: postsubmit
slackChannels:
- name: knative-client
identity: C04LY4SKBQR
2 changes: 1 addition & 1 deletion flaky-test-reporter/github_issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const (
<summary>%s</summary><p>

%s
</p></details>` // The blank line is crucial for collapsible format
</p></details>` // The blank line is crucial for collapsible format

// issueBodyTemplate is a template for issue body
issueBodyTemplate = `
Expand Down
13 changes: 3 additions & 10 deletions release-jobs-syncer/pkg/jobs_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package pkg

import (
"fmt"
"io/ioutil"
"log"
"os"
"path/filepath"
Expand All @@ -38,16 +37,10 @@ const (
`
)

// extraPeriodicProwJobsToSync contains the extra periodic Prow jobs to sync for
// each repo.
// extraPeriodicProwJobsToSync contains the extra periodic Prow jobs to sync for each repo.
// By default only the continuous Prow jobs will be synced in order to reduce
// the load with Prow.
var extraPeriodicProwJobsToSync map[string]sets.String = map[string]sets.String{
"knative/serving": sets.NewString("s390x-kourier-tests", "s390x-contour-tests", "ppc64le-kourier-tests", "ppc64le-contour-tests"),
"knative/eventing": sets.NewString("s390x-e2e-tests", "s390x-e2e-reconciler-tests", "ppc64le-e2e-tests", "ppc64le-e2e-reconciler-tests"),
"knative/client": sets.NewString("s390x-e2e-tests", "ppc64le-e2e-tests"),
"knative/operator": sets.NewString("s390x-e2e-tests", "ppc64le-e2e-tests"),
}
var extraPeriodicProwJobsToSync map[string]sets.String = map[string]sets.String{}

func syncProwJobsForRelease(configRootPath, org, repo, releaseToRemove, releaseToAdd string) error {
mainPJConfigPath := filepath.Join(configRootPath, org, repo+".yaml")
Expand Down Expand Up @@ -114,7 +107,7 @@ func syncProwJobsForRelease(configRootPath, org, repo, releaseToRemove, releaseT
bs, _ := yaml.Marshal(releaseJobsConfig)
bs = append([]byte(fileHeader), bs...)
log.Printf("Adding config file %q", filePathToAdd)
ioutil.WriteFile(filePathToAdd, bs, 0o644)
os.WriteFile(filePathToAdd, bs, 0o644)
}

return nil
Expand Down
Loading