diff --git a/ci-operator/config/rhbk/sso-test/rhbk-sso-test-main__rhsso-product-ocp4.21-lp-rosa-hypershift.yaml b/ci-operator/config/rhbk/sso-test/rhbk-sso-test-main__rhsso-product-ocp4.21-lp-rosa-hypershift.yaml new file mode 100644 index 0000000000000..e006cb27f19a1 --- /dev/null +++ b/ci-operator/config/rhbk/sso-test/rhbk-sso-test-main__rhsso-product-ocp4.21-lp-rosa-hypershift.yaml @@ -0,0 +1,85 @@ +base_images: + cli: + name: "4.21" + namespace: ocp + tag: cli + ocm-cli: + name: ocm-cli + namespace: ci + tag: latest + rosa-aws-cli: + name: rosa-aws-cli + namespace: ci + tag: latest + upi-installer: + name: "4.21" + namespace: ocp + tag: upi-installer +build_root: + image_stream_tag: + name: release + namespace: openshift + tag: rhel-9-release-golang-1.24-openshift-4.21 +images: +- context_dir: . + dockerfile_path: docker-container-executor/Dockerfile + inputs: + cli: + paths: + - destination_dir: . + source_path: /usr/bin/oc + to: rhsso-runner +releases: + latest: + candidate: + product: ocp + stream: nightly + version: "4.21" +resources: + '*': + requests: + cpu: 100m + memory: 200Mi +tests: +- as: rhsso-aws-rosa-hypershift + cron: 0 23 31 2 * + steps: + cluster_profile: aws-sd-qe + env: + CHANNEL_GROUP: candidate + FIREWATCH_CONFIG: | + { + "failure_rules": + [ + {"step": "keycloak-qe-rhsso-tests", "failure_type": "pod_failure", "classification": "Keycloak-RHSSO Test Execution", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]}, + {"step": "keycloak-qe-rhsso-tests", "failure_type": "test_failure", "classification": "Keycloak-RHSSO Test Failure", "jira_project": "RHSSO", "group": {"name": "lp-tests", "priority": 2},"jira_additional_labels": ["rhsso","!default","interop-tests"],"jira_assignee":"ikhomyn@redhat.com"} + ] + } + FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/rosa/lp-interop.json + FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.21-lp","rosa-hypershift-lp","rhsso-lp"]' + FIREWATCH_DEFAULT_JIRA_ASSIGNEE: ikhomyn@redhat.com + FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP + FIREWATCH_FAIL_WITH_TEST_FAILURES: "true" + FIREWATCH_JIRA_SERVER: https://issues.redhat.com + NAME_PREFIX: ocpe2e + OCM_LOGIN_ENV: staging + OCP_PROJECT_NAME: keycloak + OPERATORS: | + [ + {"name": "rhsso-operator", "source": "redhat-operators", "channel": "stable", "install_namespace": "keycloak", "operator_group": "rhsso-operator-group", "target_namespaces": "keycloak"} + ] + ROSACLI_BUILD: latest + TEST_PROFILE: ocpe2e-rosa-hcp-shared-vpc-advanced + VERSION: "4.21" + test: + - ref: ipi-install-rbac + - ref: cucushift-hypershift-extended-health-check + - ref: install-operators + - ref: keycloak-qe-rhsso-tests + - ref: firewatch-report-issues + workflow: rosa-lifecycle-advanced +zz_generated_metadata: + branch: main + org: rhbk + repo: sso-test + variant: rhsso-product-ocp4.21-lp-rosa-hypershift diff --git a/ci-operator/jobs/rhbk/sso-test/rhbk-sso-test-main-periodics.yaml b/ci-operator/jobs/rhbk/sso-test/rhbk-sso-test-main-periodics.yaml index 2a7237e39e236..fb7fcf72aa03a 100644 --- a/ci-operator/jobs/rhbk/sso-test/rhbk-sso-test-main-periodics.yaml +++ b/ci-operator/jobs/rhbk/sso-test/rhbk-sso-test-main-periodics.yaml @@ -1499,3 +1499,97 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build03 + cron: 0 23 31 2 * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: main + org: rhbk + repo: sso-test + labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws-sd-qe + ci-operator.openshift.io/variant: rhsso-product-ocp4.21-lp-rosa-hypershift + ci.openshift.io/generator: prowgen + job-release: "4.21" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-rhbk-sso-test-main-rhsso-product-ocp4.21-lp-rosa-hypershift-rhsso-aws-rosa-hypershift + reporter_config: + slack: + channel: '#team-keycloak-continuous-testing' + 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 + - --target=rhsso-aws-rosa-hypershift + - --variant=rhsso-product-ocp4.21-lp-rosa-hypershift + command: + - ci-operator + env: + - name: HTTP_SERVER_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + ports: + - containerPort: 8080 + name: http + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - 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: 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 diff --git a/ci-operator/jobs/rhbk/sso-test/rhbk-sso-test-main-presubmits.yaml b/ci-operator/jobs/rhbk/sso-test/rhbk-sso-test-main-presubmits.yaml index 956429a5d2846..2292a7eaacbe7 100644 --- a/ci-operator/jobs/rhbk/sso-test/rhbk-sso-test-main-presubmits.yaml +++ b/ci-operator/jobs/rhbk/sso-test/rhbk-sso-test-main-presubmits.yaml @@ -866,3 +866,61 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )rhsso-product-ocp4.20-lp-rosa-hypershift-images,?($|\s.*) + - agent: kubernetes + always_run: true + branches: + - ^main$ + - ^main- + cluster: build08 + context: ci/prow/rhsso-product-ocp4.21-lp-rosa-hypershift-images + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/variant: rhsso-product-ocp4.21-lp-rosa-hypershift + ci.openshift.io/generator: prowgen + job-release: "4.21" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-rhbk-sso-test-main-rhsso-product-ocp4.21-lp-rosa-hypershift-images + rerun_command: /test rhsso-product-ocp4.21-lp-rosa-hypershift-images + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --report-credentials-file=/etc/report/credentials + - --target=[images] + - --variant=rhsso-product-ocp4.21-lp-rosa-hypershift + command: + - ci-operator + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - 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: 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 + trigger: (?m)^/test( | .* )rhsso-product-ocp4.21-lp-rosa-hypershift-images,?($|\s.*)