Skip to content

Commit

Permalink
Disable s390x/ppc jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Feb 12, 2024
1 parent e538037 commit b1b22ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 45 deletions.
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
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

0 comments on commit b1b22ea

Please sign in to comment.