Skip to content

Commit

Permalink
[INTEROP-7529] Update weekly cron and watcher bot to 4.18. (openshift…
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrazzette authored and josecastillolema committed Oct 15, 2024
1 parent 6a784b0 commit f082682
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 41 deletions.
15 changes: 15 additions & 0 deletions ci-operator/config/rhpit/.config.prowgen
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
slack_reporter:
- channel: '#team-qe-lp-triage'
job_states_to_report:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
job_names:
- ocp-self-managed-layered-product-interop-418
- ocp-self-managed-layered-product-interop-418-fips
- ocp-self-managed-lp-watcher-bot-message-418
- ocp-self-managed-lp-watcher-bot-message-418-fips
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,58 @@ releases:
candidate:
product: ocp
stream: nightly
version: "4.17"
version: "4.18"
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: ocp-self-managed-layered-product-interop-417
- as: ocp-self-managed-layered-product-interop-418
cron: 0 6 * * 1
steps:
cluster_profile: aws-cspi-qe
env:
FIREWATCH_CONFIG: |
{
"failure_rules": [{"step": "trigger-jobs", "failure_type": "all", "classification": "self-managed Trigger Failure", "jira_additional_labels": ["4.17-lp","self-managed-lp","weekly-trigger-lp"]}]
"failure_rules": [{"step": "trigger-jobs", "failure_type": "all", "classification": "self-managed Trigger Failure", "jira_additional_labels": ["4.18-lp","self-managed-lp","weekly-trigger-lp"]}]
}
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
JSON_TRIGGER_LIST: self-managed-lp-interop-jobs-417
JSON_TRIGGER_LIST: self-managed-lp-interop-jobs-418
post:
- ref: firewatch-report-issues
test:
- ref: trigger-jobs
- as: ocp-self-managed-lp-watcher-bot-message-417
- as: ocp-self-managed-lp-watcher-bot-message-418
cron: 0 14 * * 1
steps:
cluster_profile: aws-cspi-qe
env:
WATCHER_BOT_JOB_FILE: self-managed-lp-interop-jobs-417
WATCHER_BOT_JOB_FILE: self-managed-lp-interop-jobs-418
WATCHER_BOT_JOB_GROUP_NAME: OCP Self Managed Layered Product Scenarios
test:
- ref: trigger-jobs-interop-ocp-watcher-bot-send-message
- as: ocp-self-managed-layered-product-interop-417-fips
- as: ocp-self-managed-layered-product-interop-418-fips
cron: 0 6 * * 1
steps:
cluster_profile: aws-cspi-qe
env:
FIREWATCH_CONFIG: |
{
"failure_rules": [{"step": "trigger-jobs", "failure_type": "all", "classification": "self-managed Trigger Failure", "jira_additional_labels": ["4.17-lp","self-managed-lp","fips","weekly-trigger-lp"]}]
"failure_rules": [{"step": "trigger-jobs", "failure_type": "all", "classification": "self-managed Trigger Failure", "jira_additional_labels": ["4.18-lp","self-managed-lp","fips","weekly-trigger-lp"]}]
}
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
JSON_TRIGGER_LIST: self-managed-lp-interop-jobs-417-fips
JSON_TRIGGER_LIST: self-managed-lp-interop-jobs-418-fips
post:
- ref: firewatch-report-issues
test:
- ref: trigger-jobs
- as: ocp-self-managed-lp-watcher-bot-message-417-fips
- as: ocp-self-managed-lp-watcher-bot-message-418-fips
cron: 0 14 * * 1
steps:
cluster_profile: aws-cspi-qe
env:
WATCHER_BOT_JOB_FILE: self-managed-lp-interop-jobs-417-fips
WATCHER_BOT_JOB_FILE: self-managed-lp-interop-jobs-418-fips
WATCHER_BOT_JOB_GROUP_NAME: OCP Self Managed Layered Product Scenarios - FIPS
test:
- ref: trigger-jobs-interop-ocp-watcher-bot-send-message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-layered-product-interop-417
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-layered-product-interop-418
reporter_config:
slack:
channel: '#team-qe-lp-triage'
Expand All @@ -26,7 +26,7 @@ periodics:
- error
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
Expand All @@ -36,8 +36,8 @@ periodics:
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/ocp-self-managed-layered-product-interop-417-cluster-profile
- --target=ocp-self-managed-layered-product-interop-417
- --secret-dir=/usr/local/ocp-self-managed-layered-product-interop-418-cluster-profile
- --target=ocp-self-managed-layered-product-interop-418
- --variant=weekly_trigger
command:
- ci-operator
Expand All @@ -54,7 +54,7 @@ periodics:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/ocp-self-managed-layered-product-interop-417-cluster-profile
- mountPath: /usr/local/ocp-self-managed-layered-product-interop-418-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
Expand Down Expand Up @@ -106,9 +106,9 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-layered-product-interop-417-fips
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-layered-product-interop-418-fips
reporter_config:
slack:
channel: '#team-qe-lp-triage'
Expand All @@ -118,7 +118,7 @@ periodics:
- error
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
Expand All @@ -128,8 +128,8 @@ periodics:
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/ocp-self-managed-layered-product-interop-417-fips-cluster-profile
- --target=ocp-self-managed-layered-product-interop-417-fips
- --secret-dir=/usr/local/ocp-self-managed-layered-product-interop-418-fips-cluster-profile
- --target=ocp-self-managed-layered-product-interop-418-fips
- --variant=weekly_trigger
command:
- ci-operator
Expand All @@ -146,7 +146,7 @@ periodics:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/ocp-self-managed-layered-product-interop-417-fips-cluster-profile
- mountPath: /usr/local/ocp-self-managed-layered-product-interop-418-fips-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
Expand Down Expand Up @@ -198,7 +198,7 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-layered-product-interop-zstream-n-1
reporter_config:
Expand Down Expand Up @@ -290,7 +290,7 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-layered-product-interop-zstream-n-2
reporter_config:
Expand Down Expand Up @@ -382,9 +382,20 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-lp-watcher-bot-message-417
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-lp-watcher-bot-message-418
reporter_config:
slack:
channel: '#team-qe-lp-triage'
job_states_to_report:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
- args:
Expand All @@ -393,8 +404,8 @@ periodics:
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/ocp-self-managed-lp-watcher-bot-message-417-cluster-profile
- --target=ocp-self-managed-lp-watcher-bot-message-417
- --secret-dir=/usr/local/ocp-self-managed-lp-watcher-bot-message-418-cluster-profile
- --target=ocp-self-managed-lp-watcher-bot-message-418
- --variant=weekly_trigger
command:
- ci-operator
Expand All @@ -411,7 +422,7 @@ periodics:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/ocp-self-managed-lp-watcher-bot-message-417-cluster-profile
- mountPath: /usr/local/ocp-self-managed-lp-watcher-bot-message-418-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
Expand Down Expand Up @@ -463,9 +474,20 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-lp-watcher-bot-message-417-fips
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-ocp-self-managed-lp-watcher-bot-message-418-fips
reporter_config:
slack:
channel: '#team-qe-lp-triage'
job_states_to_report:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
- args:
Expand All @@ -474,8 +496,8 @@ periodics:
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/ocp-self-managed-lp-watcher-bot-message-417-fips-cluster-profile
- --target=ocp-self-managed-lp-watcher-bot-message-417-fips
- --secret-dir=/usr/local/ocp-self-managed-lp-watcher-bot-message-418-fips-cluster-profile
- --target=ocp-self-managed-lp-watcher-bot-message-418-fips
- --variant=weekly_trigger
command:
- ci-operator
Expand All @@ -492,7 +514,7 @@ periodics:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/ocp-self-managed-lp-watcher-bot-message-417-fips-cluster-profile
- mountPath: /usr/local/ocp-self-managed-lp-watcher-bot-message-418-fips-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
Expand Down Expand Up @@ -544,7 +566,7 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-rosa-classic-sts-layered-product-interop-416
reporter_config:
Expand Down Expand Up @@ -636,7 +658,7 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-rosa-classic-sts-lp-watcher-bot-message-416
spec:
Expand Down Expand Up @@ -717,7 +739,7 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-rosa-sts-hypershift-layered-product-interop-415
reporter_config:
Expand Down Expand Up @@ -809,7 +831,7 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-rosa-sts-hypershift-layered-product-interop-416
reporter_config:
Expand Down Expand Up @@ -901,7 +923,7 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-rosa-sts-hypershift-lp-watcher-bot-message-415
reporter_config:
Expand Down Expand Up @@ -993,7 +1015,7 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: weekly_trigger
ci.openshift.io/generator: prowgen
job-release: "4.17"
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rhpit-interop-tests-main-weekly_trigger-rosa-sts-hypershift-lp-watcher-bot-message-416
spec:
Expand Down

0 comments on commit f082682

Please sign in to comment.