From 55da42eac776f49c27da05b2be3119608d299d79 Mon Sep 17 00:00:00 2001 From: vshakya Date: Thu, 6 Feb 2025 06:12:55 -0500 Subject: [PATCH] hcp-demo --- ...-pipelines-ocp4.17-lp-rosa-hypershift.yaml | 72 ++++++++++++++++++ ...release-tests-release-v1.17-periodics.yaml | 75 +++++++++++++++++++ ...elease-tests-release-v1.17-presubmits.yaml | 58 ++++++++++++++ 3 files changed, 205 insertions(+) create mode 100644 ci-operator/config/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17__openshift-pipelines-ocp4.17-lp-rosa-hypershift.yaml diff --git a/ci-operator/config/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17__openshift-pipelines-ocp4.17-lp-rosa-hypershift.yaml b/ci-operator/config/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17__openshift-pipelines-ocp4.17-lp-rosa-hypershift.yaml new file mode 100644 index 0000000000000..61e03707355e0 --- /dev/null +++ b/ci-operator/config/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17__openshift-pipelines-ocp4.17-lp-rosa-hypershift.yaml @@ -0,0 +1,72 @@ +base_images: + cli: + name: "4.17" + namespace: ocp + tag: cli + cli-ocm: + name: cli-ocm + namespace: ci + tag: latest + rosa-aws-cli: + name: rosa-aws-cli + namespace: ci + tag: latest + upi-installer: + name: "4.17" + namespace: ocp + tag: upi-installer +build_root: + image_stream_tag: + name: release + namespace: openshift + tag: golang-1.21 +images: +- context_dir: . + dockerfile_path: Dockerfile + to: openshift-pipelines-runner +releases: + latest: + candidate: + product: ocp + stream: ci + version: "4.17" +resources: + '*': + limits: + memory: 8Gi + requests: + cpu: "1" + memory: 4Gi +tests: +- as: openshift-pipelines-rosa-hypershift + cron: 0 23 31 2 * + steps: + cluster_profile: aws-cspi-qe + env: + FIREWATCH_CONFIG: | + { + "failure_rules": + [ + {"step": "openshift-pipelines-install", "failure_type": "all", "classification": "Operator Installation Failure", "jira_project": "LPINTEROP", "group": {"name": "lp-tests", "priority": 1},"jira_additional_labels": ["!default"]}, + {"step": "openshift-pipelines-tests", "failure_type": "all", "classification": "Test Failure", "jira_project": "SRVKP", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default"]} + ] + } + 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.17-lp","rosa-hypershift-lp","pipelines-lp"]' + FIREWATCH_DEFAULT_JIRA_COMPONENT: '["QA"]' + FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP + FIREWATCH_FAIL_WITH_TEST_FAILURES: "true" + FIREWATCH_JIRA_SERVER: https://issues.redhat.com + OCM_LOGIN_ENV: staging + OPENSHIFT_VERSION: "4.17" + REGION: us-west-2 + test: + - ref: cucushift-hypershift-extended-health-check + - ref: openshift-pipelines-install + - ref: openshift-pipelines-tests + workflow: firewatch-rosa-aws-sts-hypershift +zz_generated_metadata: + branch: release-v1.17 + org: openshift-pipelines + repo: release-tests + variant: openshift-pipelines-ocp4.17-lp-rosa-hypershift diff --git a/ci-operator/jobs/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17-periodics.yaml b/ci-operator/jobs/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17-periodics.yaml index 3e50fd3c842e3..7a219648c3de8 100644 --- a/ci-operator/jobs/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17-periodics.yaml +++ b/ci-operator/jobs/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17-periodics.yaml @@ -85,6 +85,81 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build11 + cron: 0 23 31 2 * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-v1.17 + org: openshift-pipelines + repo: release-tests + labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe + ci-operator.openshift.io/variant: openshift-pipelines-ocp4.17-lp-rosa-hypershift + ci.openshift.io/generator: prowgen + job-release: "4.17" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-pipelines-release-tests-release-v1.17-openshift-pipelines-ocp4.17-lp-rosa-hypershift-openshift-pipelines-rosa-hypershift + 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=openshift-pipelines-rosa-hypershift + - --variant=openshift-pipelines-ocp4.17-lp-rosa-hypershift + 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: /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 - agent: kubernetes cluster: build11 cron: 0 23 31 2 * diff --git a/ci-operator/jobs/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17-presubmits.yaml b/ci-operator/jobs/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17-presubmits.yaml index e229ed5f4b1d2..fa453b34933fe 100644 --- a/ci-operator/jobs/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17-presubmits.yaml +++ b/ci-operator/jobs/openshift-pipelines/release-tests/openshift-pipelines-release-tests-release-v1.17-presubmits.yaml @@ -58,6 +58,64 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )openshift-pipelines-ocp4.17-lp-rosa-classic-images,?($|\s.*) + - agent: kubernetes + always_run: true + branches: + - ^release-v1\.17$ + - ^release-v1\.17- + cluster: build11 + context: ci/prow/openshift-pipelines-ocp4.17-lp-rosa-hypershift-images + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/variant: openshift-pipelines-ocp4.17-lp-rosa-hypershift + ci.openshift.io/generator: prowgen + job-release: "4.17" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-pipelines-release-tests-release-v1.17-openshift-pipelines-ocp4.17-lp-rosa-hypershift-images + rerun_command: /test openshift-pipelines-ocp4.17-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=openshift-pipelines-ocp4.17-lp-rosa-hypershift + command: + - ci-operator + image: 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( | .* )openshift-pipelines-ocp4.17-lp-rosa-hypershift-images,?($|\s.*) - agent: kubernetes always_run: true branches: