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

Service Interconnect zstream onboarding on ibmcloud #51408

Merged
merged 1 commit into from May 2, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -14,10 +14,12 @@ images:
to: rhsi-test-runner
releases:
latest:
candidate:
prerelease:
product: ocp
stream: nightly
version: "4.14"
version_bounds:
lower: 4.14.0-0
stream: 4-stable
upper: 4.15.0-0
resources:
'*':
requests:
Expand All @@ -34,19 +36,52 @@ tests:
{
"failure_rules":
[
{"step": "ipi-*", "failure_type": "all", "classification": "Infrastructure Provisioning - Cluster"},
{"step": "install-operators", "failure_type": "all", "classification": "Infrastructure Provisioning - Operators"},
{"step": "gather-*", "failure_type": "all", "classification": "Other"},
{"step": "openshift-*", "failure_type": "all", "classification": "Other"},
{"step": "rhsi-run-tests", "failure_type": "pod_failure", "classification": "Test Execution"},
{"step": "rhsi-run-tests", "failure_type": "test_failure", "classification": "Test Failure", "jira_project": "SKUPPER"}
{"step": "ipi-*", "failure_type": "all", "classification": "Infrastructure Provisioning - Cluster", "group": {"name": "cluster", "priority": 1}, "jira_additional_labels": ["!default"]},
{"step": "install-operators", "failure_type": "all", "classification": "Infrastructure Provisioning - Operators", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default"]},
{"step": "gather-*", "failure_type": "all", "classification": "Other", "group": {"name": "cluster", "priority": 3}, "jira_additional_labels": ["!default"]},
{"step": "openshift-*", "failure_type": "all", "classification": "Other", "group": {"name": "cluster", "priority": 2}, "jira_additional_labels": ["!default"]},
{"step": "rhsi-run-tests", "failure_type": "pod_failure", "classification": "Test Execution", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]},
{"step": "rhsi-run-tests", "failure_type": "test_failure", "classification": "Test Failure", "jira_project": "SKUPPER", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]}
],
"success_rules":
[
{"jira_project": "CSPIT", "jira_additional_labels": ["!default"]}
]
}
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.14-lp","self-managed-lp","rhsi-lp"]'
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
FIREWATCH_FAIL_WITH_TEST_FAILURES: "true"
test:
- ref: rhsi-run-tests
workflow: firewatch-ipi-aws
- as: rhsi-interop-ibmcloud
cron: 0 6 25 04 *
steps:
cluster_profile: ibmcloud-cspi-qe
env:
BASE_DOMAIN: zstream.interop.ccitredhat.com
FIREWATCH_CONFIG: |
{
"failure_rules":
[
{"step": "ipi-*", "failure_type": "all", "classification": "Infrastructure Provisioning - Cluster", "group": {"name": "cluster", "priority": 1}, "jira_additional_labels": ["!default"]},
{"step": "install-operators", "failure_type": "all", "classification": "Infrastructure Provisioning - Operators", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default"]},
{"step": "gather-*", "failure_type": "all", "classification": "Other", "group": {"name": "cluster", "priority": 3}, "jira_additional_labels": ["!default"]},
{"step": "openshift-*", "failure_type": "all", "classification": "Other", "group": {"name": "cluster", "priority": 2}, "jira_additional_labels": ["!default"]},
{"step": "rhsi-run-tests", "failure_type": "pod_failure", "classification": "Test Execution", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]},
{"step": "rhsi-run-tests", "failure_type": "test_failure", "classification": "Test Failure", "jira_project": "SKUPPER", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]}
],
"success_rules":
[
{"jira_project": "CSPIT", "jira_additional_labels": ["!default"]}
]
}
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.14-lp","self-managed-lp","rhsi-lp"]'
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
FIREWATCH_FAIL_WITH_TEST_FAILURES: "true"
test:
- ref: rhsi-run-tests
workflow: firewatch-ipi-ibmcloud
zz_generated_metadata:
branch: main
org: skupperproject
Expand Down
Expand Up @@ -14,10 +14,12 @@ images:
to: rhsi-test-runner
releases:
latest:
candidate:
prerelease:
product: ocp
stream: nightly
version: "4.15"
version_bounds:
lower: 4.15.0-0
stream: 4-stable
upper: 4.16.0-0
resources:
'*':
requests:
Expand Down Expand Up @@ -54,6 +56,34 @@ tests:
test:
- ref: rhsi-run-tests
workflow: firewatch-ipi-aws
- as: rhsi-interop-ibmcloud
cron: 0 6 25 4 *
steps:
cluster_profile: ibmcloud-cspi-qe
env:
BASE_DOMAIN: zstream.interop.ccitredhat.com
FIREWATCH_CONFIG: |
{
"failure_rules":
[
{"step": "ipi-*", "failure_type": "all", "classification": "Infrastructure Provisioning - Cluster", "group": {"name": "cluster", "priority": 1}, "jira_additional_labels": ["!default"]},
{"step": "install-operators", "failure_type": "all", "classification": "Infrastructure Provisioning - Operators", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default"]},
{"step": "gather-*", "failure_type": "all", "classification": "Other", "group": {"name": "cluster", "priority": 3}, "jira_additional_labels": ["!default"]},
{"step": "openshift-*", "failure_type": "all", "classification": "Other", "group": {"name": "cluster", "priority": 2}, "jira_additional_labels": ["!default"]},
{"step": "rhsi-run-tests", "failure_type": "pod_failure", "classification": "Test Execution", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]},
{"step": "rhsi-run-tests", "failure_type": "test_failure", "classification": "Test Failure", "jira_project": "SKUPPER", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]}
],
"success_rules":
[
{"jira_project": "CSPIT", "jira_additional_labels": ["!default"]}
]
}
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.15-lp","self-managed-lp","rhsi-lp"]'
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
FIREWATCH_FAIL_WITH_TEST_FAILURES: "true"
test:
- ref: rhsi-run-tests
workflow: firewatch-ipi-ibmcloud
zz_generated_metadata:
branch: main
org: skupperproject
Expand Down
Expand Up @@ -14,7 +14,6 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: service-interconnect-ocp4.14-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.14"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-skupperproject-skupper-openshift-smoke-test-image-main-service-interconnect-ocp4.14-lp-interop-rhsi-interop-aws
reporter_config:
Expand Down Expand Up @@ -91,6 +90,97 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build05
cron: 0 6 25 04 *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: main
org: skupperproject
repo: skupper-openshift-smoke-test-image
labels:
ci-operator.openshift.io/cloud: ibmcloud
ci-operator.openshift.io/cloud-cluster-profile: ibmcloud-cspi-qe
ci-operator.openshift.io/variant: service-interconnect-ocp4.14-lp-interop
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-skupperproject-skupper-openshift-smoke-test-image-main-service-interconnect-ocp4.14-lp-interop-rhsi-interop-ibmcloud
reporter_config:
slack:
channel: '#service-interconnect-qe-interop'
job_states_to_report:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :green_jenkins_circle: Job
*{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs>
{{else}} :red_jenkins_circle: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*.
<{{.Status.URL}}|View logs> {{end}}'
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/rhsi-interop-ibmcloud-cluster-profile
- --target=rhsi-interop-ibmcloud
- --variant=service-interconnect-ocp4.14-lp-interop
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/rhsi-interop-ibmcloud-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: cluster-profile
secret:
secretName: cluster-secrets-ibmcloud-cspi-qe
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build05
cron: 0 6 25 10 *
Expand Down Expand Up @@ -198,7 +288,6 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: service-interconnect-ocp4.15-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.15"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-skupperproject-skupper-openshift-smoke-test-image-main-service-interconnect-ocp4.15-lp-interop-rhsi-interop-aws
reporter_config:
Expand Down Expand Up @@ -275,6 +364,97 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build05
cron: 0 6 25 4 *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: main
org: skupperproject
repo: skupper-openshift-smoke-test-image
labels:
ci-operator.openshift.io/cloud: ibmcloud
ci-operator.openshift.io/cloud-cluster-profile: ibmcloud-cspi-qe
ci-operator.openshift.io/variant: service-interconnect-ocp4.15-lp-interop
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-skupperproject-skupper-openshift-smoke-test-image-main-service-interconnect-ocp4.15-lp-interop-rhsi-interop-ibmcloud
reporter_config:
slack:
channel: '#service-interconnect-qe-interop'
job_states_to_report:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :green_jenkins_circle: Job
*{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs>
{{else}} :red_jenkins_circle: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*.
<{{.Status.URL}}|View logs> {{end}}'
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/rhsi-interop-ibmcloud-cluster-profile
- --target=rhsi-interop-ibmcloud
- --variant=service-interconnect-ocp4.15-lp-interop
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/rhsi-interop-ibmcloud-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: cluster-profile
secret:
secretName: cluster-secrets-ibmcloud-cspi-qe
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build05
cron: 0 6 11 2 *
Expand Down
Expand Up @@ -13,7 +13,6 @@ presubmits:
labels:
ci-operator.openshift.io/variant: service-interconnect-ocp4.14-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.14"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-skupperproject-skupper-openshift-smoke-test-image-main-service-interconnect-ocp4.14-lp-interop-images
rerun_command: /test service-interconnect-ocp4.14-lp-interop-images
Expand Down Expand Up @@ -129,7 +128,6 @@ presubmits:
labels:
ci-operator.openshift.io/variant: service-interconnect-ocp4.15-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.15"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-skupperproject-skupper-openshift-smoke-test-image-main-service-interconnect-ocp4.15-lp-interop-images
rerun_command: /test service-interconnect-ocp4.15-lp-interop-images
Expand Down