Skip to content

Commit

Permalink
Service Interconnect zstream onboarding on ibmcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
smatula committed Apr 26, 2024
1 parent 335c624 commit b8ffb8f
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 6 deletions.
Expand Up @@ -34,19 +34,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 @@ -54,6 +54,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 @@ -91,6 +91,98 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build03
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
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-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 @@ -275,6 +367,98 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build03
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
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-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

0 comments on commit b8ffb8f

Please sign in to comment.