diff --git a/ci-operator/config/jboss-fuse/csb-tnb-tests-container/.config.prowgen b/ci-operator/config/jboss-fuse/csb-tnb-tests-container/.config.prowgen new file mode 100644 index 000000000000..5f90a0bcef07 --- /dev/null +++ b/ci-operator/config/jboss-fuse/csb-tnb-tests-container/.config.prowgen @@ -0,0 +1,13 @@ +slack_reporter: +- channel: "#csb-qe" + 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: + - csb-interop-aws-latest + - csb-interop-aws-latest-fips \ No newline at end of file diff --git a/ci-operator/config/jboss-fuse/csb-tnb-tests-container/jboss-fuse-csb-tnb-tests-container-main__csb-ocp4.18-lp-interop.yaml b/ci-operator/config/jboss-fuse/csb-tnb-tests-container/jboss-fuse-csb-tnb-tests-container-main__csb-ocp4.18-lp-interop.yaml new file mode 100644 index 000000000000..c82cb052c0b4 --- /dev/null +++ b/ci-operator/config/jboss-fuse/csb-tnb-tests-container/jboss-fuse-csb-tnb-tests-container-main__csb-ocp4.18-lp-interop.yaml @@ -0,0 +1,71 @@ +base_images: + cli: + name: "4.18" + namespace: ocp + tag: cli +releases: + latest: + candidate: + product: ocp + stream: nightly + version: "4.18" +resources: + '*': + requests: + cpu: 100m + memory: 200Mi +tests: +- as: csb-interop-aws-latest + cron: 0 0 11 6 * + steps: + cluster_profile: aws-cspi-qe + env: + BASE_DOMAIN: cspilp.interop.ccitredhat.com + FIREWATCH_CONFIG: | + { + "failure_rules": + [ + {"step": "csb-*", "failure_type": "test_failure", "classification": "Test Failure-latest", "jira_project": "CSB", "group": {"name": "lp-tests", "priority": 1}, "jira_epic": "CSB-2628", "jira_additional_labels": ["!default","interop-tests"]}, + {"step": "csb-*", "failure_type": "pod_failure", "classification": "Test Execuiton", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default","interop-tests"]} + ] + } + FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/aws-ipi/lp-interop.json + FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.18-lp","self-managed-lp","csb-lp"]' + FIREWATCH_DEFAULT_JIRA_ASSIGNEE: smongiar@redhat.com + FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP + USER_TAGS: | + scenario csb + test: + - ref: csb-deploy-resources + - ref: csb-run-tests + workflow: firewatch-ipi-aws +- as: csb-interop-aws-latest-fips + cron: 0 0 11 6 * + steps: + cluster_profile: aws-cspi-qe + env: + BASE_DOMAIN: cspilp.interop.ccitredhat.com + FIPS_ENABLED: "true" + FIREWATCH_CONFIG: | + { + "failure_rules": + [ + {"step": "csb-*", "failure_type": "test_failure", "classification": "Test Failure-latest", "jira_project": "CSB", "group": {"name": "lp-tests", "priority": 1}, "jira_epic": "CSB-2628", "jira_additional_labels": ["!default","interop-tests"]}, + {"step": "csb-*", "failure_type": "pod_failure", "classification": "Test Execuiton", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default","interop-tests"]} + ] + } + FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/aws-ipi/lp-interop.json + FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.18-lp","self-managed-lp","csb-lp","fips"]' + FIREWATCH_DEFAULT_JIRA_ASSIGNEE: smongiar@redhat.com + FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP + USER_TAGS: | + scenario csb + test: + - ref: csb-deploy-resources + - ref: csb-run-tests + workflow: firewatch-ipi-aws +zz_generated_metadata: + branch: main + org: jboss-fuse + repo: csb-tnb-tests-container + variant: csb-ocp4.18-lp-interop diff --git a/ci-operator/jobs/jboss-fuse/csb-tnb-tests-container/jboss-fuse-csb-tnb-tests-container-main-periodics.yaml b/ci-operator/jobs/jboss-fuse/csb-tnb-tests-container/jboss-fuse-csb-tnb-tests-container-main-periodics.yaml index ad921a7dddef..195f180cacd1 100644 --- a/ci-operator/jobs/jboss-fuse/csb-tnb-tests-container/jboss-fuse-csb-tnb-tests-container-main-periodics.yaml +++ b/ci-operator/jobs/jboss-fuse/csb-tnb-tests-container/jboss-fuse-csb-tnb-tests-container-main-periodics.yaml @@ -297,8 +297,8 @@ periodics: - success - failure - error - report_template: '{{if eq .Status.State "success"}} :success: Job *{{.Spec.Job}}* - ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :dumpster-fire: + 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: @@ -389,8 +389,8 @@ periodics: - success - failure - error - report_template: '{{if eq .Status.State "success"}} :success: Job *{{.Spec.Job}}* - ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :dumpster-fire: + 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: @@ -456,3 +456,187 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build10 + cron: 0 0 11 6 * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: main + org: jboss-fuse + repo: csb-tnb-tests-container + labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe + ci-operator.openshift.io/variant: csb-ocp4.18-lp-interop + ci.openshift.io/generator: prowgen + job-release: "4.18" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-jboss-fuse-csb-tnb-tests-container-main-csb-ocp4.18-lp-interop-csb-interop-aws-latest + reporter_config: + slack: + channel: '#csb-qe' + 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: + - --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/csb-interop-aws-latest-cluster-profile + - --target=csb-interop-aws-latest + - --variant=csb-ocp4.18-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/csb-interop-aws-latest-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-aws-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: build10 + cron: 0 0 11 6 * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: main + org: jboss-fuse + repo: csb-tnb-tests-container + labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe + ci-operator.openshift.io/variant: csb-ocp4.18-lp-interop + ci.openshift.io/generator: prowgen + job-release: "4.18" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-jboss-fuse-csb-tnb-tests-container-main-csb-ocp4.18-lp-interop-csb-interop-aws-latest-fips + reporter_config: + slack: + channel: '#csb-qe' + 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: + - --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/csb-interop-aws-latest-fips-cluster-profile + - --target=csb-interop-aws-latest-fips + - --variant=csb-ocp4.18-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/csb-interop-aws-latest-fips-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-aws-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