From fb4ae21396d68ebafccf40e2cc65abbce605f3ca Mon Sep 17 00:00:00 2001 From: JoukoVirtanen Date: Thu, 28 May 2026 10:29:14 -0700 Subject: [PATCH 1/7] X-Smart-Branch-Parent: main From 537b0b57379cdd6df9b4b7bf5c93ac865312a0f1 Mon Sep 17 00:00:00 2001 From: JoukoVirtanen Date: Thu, 28 May 2026 10:56:49 -0700 Subject: [PATCH 2/7] If ORION_JOB_TYPE is set, job_type is set to ORION_JOB_TYPE --- .../openshift-qe/orion/openshift-qe-orion-commands.sh | 4 +++- .../openshift-qe/orion/openshift-qe-orion-ref.yaml | 7 +++++++ .../stackrox/perfscale/stackrox-perfscale-chain.yaml | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh index 069fe5eca5c49..db7b1e4da75d9 100755 --- a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh +++ b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh @@ -189,7 +189,9 @@ fi # pull_number input variable is required and # it must be set as $PULL_NUMBER OR 0 to get compared against periodic runs. pull_number='0' -if [[ "${JOB_TYPE}" == "periodic" ]]; then +if [[ -n "${ORION_JOB_TYPE:-}" ]]; then + job_type="${ORION_JOB_TYPE}" +elif [[ "${JOB_TYPE}" == "periodic" ]]; then if [[ -n "${PULL_NUMBER:-}" ]] && [[ "${PULL_NUMBER}" -ne 0 ]]; then pull_number="(${PULL_NUMBER} OR 0)" job_type="(periodic OR pull)" diff --git a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-ref.yaml b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-ref.yaml index 26a705be93e28..6a15ec5d294b4 100644 --- a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-ref.yaml +++ b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-ref.yaml @@ -86,6 +86,13 @@ ref: When set, auto-selects ORION_CONFIG based on worker node count and this workload suffix. Matches orion example configs named {scale-prefix}-{ORION_WORKLOAD_TYPE}.yaml. Ignored if ORION_CONFIG is explicitly set. + - name: ORION_JOB_TYPE + default: "" + documentation: |- + When set, overrides the automatic job_type detection logic and uses this value directly. + This allows teams to control which runs are included in the Orion baseline. + For example, set to "periodic" to always compare against nightly periodic runs only, + even when the job is triggered from a PR. commands: openshift-qe-orion-commands.sh timeout: 6h diff --git a/ci-operator/step-registry/stackrox/perfscale/stackrox-perfscale-chain.yaml b/ci-operator/step-registry/stackrox/perfscale/stackrox-perfscale-chain.yaml index 98fafbd13667a..2f699b7f21055 100644 --- a/ci-operator/step-registry/stackrox/perfscale/stackrox-perfscale-chain.yaml +++ b/ci-operator/step-registry/stackrox/perfscale/stackrox-perfscale-chain.yaml @@ -22,6 +22,8 @@ chain: documentation: Output format for Orion (JUNIT, JSON, or TEXT). JUNIT format enables better error display in Prow. - name: RUN_ORION default: "true" + - name: ORION_JOB_TYPE + default: "periodic" - name: VERSION default: "4.20" documentation: |- From ae177097547555c6c237405819b15620d1544be2 Mon Sep 17 00:00:00 2001 From: JoukoVirtanen Date: Thu, 28 May 2026 11:29:07 -0700 Subject: [PATCH 3/7] Changed ORION_JOB_TYPE to ORION_BASELINE_JOB_TYPE and moved logic to set job_type to its own function --- .../orion/openshift-qe-orion-commands.sh | 51 ++++++++++--------- .../orion/openshift-qe-orion-ref.yaml | 10 ++-- .../perfscale/stackrox-perfscale-chain.yaml | 2 +- 3 files changed, 33 insertions(+), 30 deletions(-) diff --git a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh index db7b1e4da75d9..ab8e4b499b164 100755 --- a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh +++ b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh @@ -1,6 +1,32 @@ #!/bin/bash set -x +resolve_baseline_job_type() { + pull_number='0' + + if [[ -n "${ORION_BASELINE_JOB_TYPE:-}" ]]; then + echo "${ORION_BASELINE_JOB_TYPE}" + return + fi + + if [[ "${JOB_TYPE}" == "periodic" ]]; then + if [[ -n "${PULL_NUMBER:-}" ]] && [[ "${PULL_NUMBER}" -ne 0 ]]; then + pull_number="(${PULL_NUMBER} OR 0)" + echo "(periodic OR pull)" + else + echo "periodic" + fi + elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" =~ ^pull* ]] && [[ -n "${PULL_NUMBER:-}" ]]; then + pull_number="(${PULL_NUMBER} OR 0)" + echo "(periodic OR pull)" + elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" == *rehearse* ]] && [[ -n "${PULL_NUMBER:-}" ]]; then + pull_number="(${PULL_NUMBER} OR 0)" + echo "(rehearse OR pull OR periodic)" + elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" == *rehearse* ]]; then + echo "(periodic OR rehearse)" + fi +} + if [ ${RUN_ORION} == false ]; then exit 0 fi @@ -186,30 +212,7 @@ if [[ -n "${CHANGE_POINT_REPOS}" ]]; then EXTRA_FLAGS+=" --github-repos ${CHANGE_POINT_REPOS}" fi -# pull_number input variable is required and -# it must be set as $PULL_NUMBER OR 0 to get compared against periodic runs. -pull_number='0' -if [[ -n "${ORION_JOB_TYPE:-}" ]]; then - job_type="${ORION_JOB_TYPE}" -elif [[ "${JOB_TYPE}" == "periodic" ]]; then - if [[ -n "${PULL_NUMBER:-}" ]] && [[ "${PULL_NUMBER}" -ne 0 ]]; then - pull_number="(${PULL_NUMBER} OR 0)" - job_type="(periodic OR pull)" - else - job_type="periodic" - fi -elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" =~ ^pull* ]] && [[ -n "${PULL_NUMBER:-}" ]]; then - # Indicates a ci test triggered in PR against a pull request - pull_number="(${PULL_NUMBER} OR 0)" - job_type="(periodic OR pull)" -elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" == *rehearse* ]] && [[ -n "${PULL_NUMBER:-}" ]]; then - # Indicates a rehearse job triggered from a PR - pull_number="(${PULL_NUMBER} OR 0)" - job_type="(rehearse OR pull OR periodic)" -elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" == *rehearse* ]]; then - # Indicates a rehearsal in PR against openshift/release repo - job_type="(periodic OR rehearse)" -fi +job_type=$(resolve_baseline_job_type) set +e set -o pipefail diff --git a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-ref.yaml b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-ref.yaml index 6a15ec5d294b4..f4dee38bbbfc9 100644 --- a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-ref.yaml +++ b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-ref.yaml @@ -86,13 +86,13 @@ ref: When set, auto-selects ORION_CONFIG based on worker node count and this workload suffix. Matches orion example configs named {scale-prefix}-{ORION_WORKLOAD_TYPE}.yaml. Ignored if ORION_CONFIG is explicitly set. - - name: ORION_JOB_TYPE + - name: ORION_BASELINE_JOB_TYPE default: "" documentation: |- - When set, overrides the automatic job_type detection logic and uses this value directly. - This allows teams to control which runs are included in the Orion baseline. - For example, set to "periodic" to always compare against nightly periodic runs only, - even when the job is triggered from a PR. + When set, overrides the automatic job_type detection logic and uses this value + as the baseline job_type filter for Orion comparisons. This allows teams to control + which runs are included in the baseline. For example, set to "periodic" to always + compare against nightly periodic runs only, even when the job is triggered from a PR. commands: openshift-qe-orion-commands.sh timeout: 6h diff --git a/ci-operator/step-registry/stackrox/perfscale/stackrox-perfscale-chain.yaml b/ci-operator/step-registry/stackrox/perfscale/stackrox-perfscale-chain.yaml index 2f699b7f21055..387c9a26800be 100644 --- a/ci-operator/step-registry/stackrox/perfscale/stackrox-perfscale-chain.yaml +++ b/ci-operator/step-registry/stackrox/perfscale/stackrox-perfscale-chain.yaml @@ -22,7 +22,7 @@ chain: documentation: Output format for Orion (JUNIT, JSON, or TEXT). JUNIT format enables better error display in Prow. - name: RUN_ORION default: "true" - - name: ORION_JOB_TYPE + - name: ORION_BASELINE_JOB_TYPE default: "periodic" - name: VERSION default: "4.20" From dd5d66af8913577ad3575ba0abc1c279fa7bdb72 Mon Sep 17 00:00:00 2001 From: JoukoVirtanen Date: Thu, 28 May 2026 12:01:44 -0700 Subject: [PATCH 4/7] pull_number should now be set correctly --- .../orion/openshift-qe-orion-commands.sh | 46 +++++++++++++------ 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh index ab8e4b499b164..b41642fd1e9a9 100755 --- a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh +++ b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh @@ -1,32 +1,46 @@ #!/bin/bash set -x -resolve_baseline_job_type() { - pull_number='0' +classify_baseline_job() { + baseline_job_category='' if [[ -n "${ORION_BASELINE_JOB_TYPE:-}" ]]; then - echo "${ORION_BASELINE_JOB_TYPE}" - return - fi - - if [[ "${JOB_TYPE}" == "periodic" ]]; then + baseline_job_category="override" + elif [[ "${JOB_TYPE}" == "periodic" ]]; then if [[ -n "${PULL_NUMBER:-}" ]] && [[ "${PULL_NUMBER}" -ne 0 ]]; then - pull_number="(${PULL_NUMBER} OR 0)" - echo "(periodic OR pull)" + baseline_job_category="periodic_with_pull" else - echo "periodic" + baseline_job_category="periodic" fi elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" =~ ^pull* ]] && [[ -n "${PULL_NUMBER:-}" ]]; then - pull_number="(${PULL_NUMBER} OR 0)" - echo "(periodic OR pull)" + baseline_job_category="presubmit_pull" elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" == *rehearse* ]] && [[ -n "${PULL_NUMBER:-}" ]]; then - pull_number="(${PULL_NUMBER} OR 0)" - echo "(rehearse OR pull OR periodic)" + baseline_job_category="rehearse_with_pull" elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" == *rehearse* ]]; then - echo "(periodic OR rehearse)" + baseline_job_category="rehearse" fi } +resolve_baseline_job_type() { + case "$baseline_job_category" in + override) echo "${ORION_BASELINE_JOB_TYPE}" ;; + periodic_with_pull) echo "(periodic OR pull)" ;; + periodic) echo "periodic" ;; + presubmit_pull) echo "(periodic OR pull)" ;; + rehearse_with_pull) echo "(rehearse OR pull OR periodic)" ;; + rehearse) echo "(periodic OR rehearse)" ;; + esac +} + +resolve_pull_number() { + case "$baseline_job_category" in + periodic_with_pull|presubmit_pull|rehearse_with_pull) + echo "(${PULL_NUMBER} OR 0)" ;; + *) + echo "0" ;; + esac +} + if [ ${RUN_ORION} == false ]; then exit 0 fi @@ -212,7 +226,9 @@ if [[ -n "${CHANGE_POINT_REPOS}" ]]; then EXTRA_FLAGS+=" --github-repos ${CHANGE_POINT_REPOS}" fi +classify_baseline_job job_type=$(resolve_baseline_job_type) +pull_number=$(resolve_pull_number) set +e set -o pipefail From c091b3cca2c73564779dfffe8d19d44422eeae5f Mon Sep 17 00:00:00 2001 From: JoukoVirtanen Date: Thu, 28 May 2026 12:13:56 -0700 Subject: [PATCH 5/7] baseline_category is not global --- .../orion/openshift-qe-orion-commands.sh | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh index b41642fd1e9a9..efbddcc958731 100755 --- a/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh +++ b/ci-operator/step-registry/openshift-qe/orion/openshift-qe-orion-commands.sh @@ -2,27 +2,26 @@ set -x classify_baseline_job() { - baseline_job_category='' - if [[ -n "${ORION_BASELINE_JOB_TYPE:-}" ]]; then - baseline_job_category="override" + echo "override" elif [[ "${JOB_TYPE}" == "periodic" ]]; then if [[ -n "${PULL_NUMBER:-}" ]] && [[ "${PULL_NUMBER}" -ne 0 ]]; then - baseline_job_category="periodic_with_pull" + echo "periodic_with_pull" else - baseline_job_category="periodic" + echo "periodic" fi elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" =~ ^pull* ]] && [[ -n "${PULL_NUMBER:-}" ]]; then - baseline_job_category="presubmit_pull" + echo "presubmit_pull" elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" == *rehearse* ]] && [[ -n "${PULL_NUMBER:-}" ]]; then - baseline_job_category="rehearse_with_pull" + echo "rehearse_with_pull" elif [[ "${JOB_TYPE}" == "presubmit" && "${JOB_NAME}" == *rehearse* ]]; then - baseline_job_category="rehearse" + echo "rehearse" fi } resolve_baseline_job_type() { - case "$baseline_job_category" in + local baseline_category=$1 + case "$baseline_category" in override) echo "${ORION_BASELINE_JOB_TYPE}" ;; periodic_with_pull) echo "(periodic OR pull)" ;; periodic) echo "periodic" ;; @@ -33,7 +32,8 @@ resolve_baseline_job_type() { } resolve_pull_number() { - case "$baseline_job_category" in + local baseline_category=$1 + case "$baseline_category" in periodic_with_pull|presubmit_pull|rehearse_with_pull) echo "(${PULL_NUMBER} OR 0)" ;; *) @@ -226,9 +226,9 @@ if [[ -n "${CHANGE_POINT_REPOS}" ]]; then EXTRA_FLAGS+=" --github-repos ${CHANGE_POINT_REPOS}" fi -classify_baseline_job -job_type=$(resolve_baseline_job_type) -pull_number=$(resolve_pull_number) +baseline_category=$(classify_baseline_job) +job_type=$(resolve_baseline_job_type "$baseline_category") +pull_number=$(resolve_pull_number "$baseline_category") set +e set -o pipefail From bf165c9703cf12f922660690034474abcd7173d4 Mon Sep 17 00:00:00 2001 From: JoukoVirtanen Date: Thu, 28 May 2026 16:43:39 -0700 Subject: [PATCH 6/7] Added ORION_BASELINE_JOB_TYPE to more refs --- .../openshift-qe-orion-cluster-density-ref.yaml | 7 +++++++ .../orion/crd-scale/openshift-qe-orion-crd-scale-ref.yaml | 7 +++++++ .../node-density/openshift-qe-orion-node-density-ref.yaml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/ci-operator/step-registry/openshift-qe/orion/cluster-density/openshift-qe-orion-cluster-density-ref.yaml b/ci-operator/step-registry/openshift-qe/orion/cluster-density/openshift-qe-orion-cluster-density-ref.yaml index 88939642113b5..b7868ddcb37aa 100644 --- a/ci-operator/step-registry/openshift-qe/orion/cluster-density/openshift-qe-orion-cluster-density-ref.yaml +++ b/ci-operator/step-registry/openshift-qe/orion/cluster-density/openshift-qe-orion-cluster-density-ref.yaml @@ -82,6 +82,13 @@ ref: default: "cluster-density" documentation: Workload type suffix for auto-selecting ORION_CONFIG based on worker node count. + - name: ORION_BASELINE_JOB_TYPE + default: "" + documentation: |- + When set, overrides the automatic job_type detection logic and uses this value + as the baseline job_type filter for Orion comparisons. This allows teams to control + which runs are included in the baseline. For example, set to "periodic" to always + compare against nightly periodic runs only, even when the job is triggered from a PR. commands: openshift-qe-orion-cluster-density-commands.sh timeout: 6h credentials: diff --git a/ci-operator/step-registry/openshift-qe/orion/crd-scale/openshift-qe-orion-crd-scale-ref.yaml b/ci-operator/step-registry/openshift-qe/orion/crd-scale/openshift-qe-orion-crd-scale-ref.yaml index 4a2ac5fc0415f..1e6f9c22dc141 100644 --- a/ci-operator/step-registry/openshift-qe/orion/crd-scale/openshift-qe-orion-crd-scale-ref.yaml +++ b/ci-operator/step-registry/openshift-qe/orion/crd-scale/openshift-qe-orion-crd-scale-ref.yaml @@ -78,6 +78,13 @@ ref: default: "kube-burner/kube-burner,kube-burner/kube-burner-ocp,cloud-bulldozer/e2e-benchmarking,openshift/release" documentation: Comma separated list of repositories to monitor before and after change points. + - name: ORION_BASELINE_JOB_TYPE + default: "" + documentation: |- + When set, overrides the automatic job_type detection logic and uses this value + as the baseline job_type filter for Orion comparisons. This allows teams to control + which runs are included in the baseline. For example, set to "periodic" to always + compare against nightly periodic runs only, even when the job is triggered from a PR. commands: openshift-qe-orion-crd-scale-commands.sh timeout: 6h credentials: diff --git a/ci-operator/step-registry/openshift-qe/orion/node-density/openshift-qe-orion-node-density-ref.yaml b/ci-operator/step-registry/openshift-qe/orion/node-density/openshift-qe-orion-node-density-ref.yaml index 6bf812c169ebb..64bbfeb4f8d90 100644 --- a/ci-operator/step-registry/openshift-qe/orion/node-density/openshift-qe-orion-node-density-ref.yaml +++ b/ci-operator/step-registry/openshift-qe/orion/node-density/openshift-qe-orion-node-density-ref.yaml @@ -82,6 +82,13 @@ ref: default: "node-density" documentation: Workload type suffix for auto-selecting ORION_CONFIG based on worker node count. + - name: ORION_BASELINE_JOB_TYPE + default: "" + documentation: |- + When set, overrides the automatic job_type detection logic and uses this value + as the baseline job_type filter for Orion comparisons. This allows teams to control + which runs are included in the baseline. For example, set to "periodic" to always + compare against nightly periodic runs only, even when the job is triggered from a PR. commands: openshift-qe-orion-node-density-commands.sh timeout: 6h credentials: From c5aee7d0c65839e965e4a635d67e9eb23f0e6b1f Mon Sep 17 00:00:00 2001 From: JoukoVirtanen Date: Fri, 29 May 2026 10:22:18 -0700 Subject: [PATCH 7/7] Temporarily adding a job to test changes --- ...ackrox-jv-test-perf-scale__perf-scale.yaml | 70 +++++++++++++ ...tackrox-jv-test-perf-scale-presubmits.yaml | 99 +++++++++++++++++++ 2 files changed, 169 insertions(+) create mode 100644 ci-operator/config/stackrox/stackrox/stackrox-stackrox-jv-test-perf-scale__perf-scale.yaml create mode 100644 ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-jv-test-perf-scale-presubmits.yaml diff --git a/ci-operator/config/stackrox/stackrox/stackrox-stackrox-jv-test-perf-scale__perf-scale.yaml b/ci-operator/config/stackrox/stackrox/stackrox-stackrox-jv-test-perf-scale__perf-scale.yaml new file mode 100644 index 0000000000000..ef5c5cb01eea6 --- /dev/null +++ b/ci-operator/config/stackrox/stackrox/stackrox-stackrox-jv-test-perf-scale__perf-scale.yaml @@ -0,0 +1,70 @@ +base_images: + ocp-4: + name: automation-flavors + namespace: stackrox + tag: openshift-4-stable +build_root: + image_stream_tag: + name: apollo-ci + namespace: stackrox + tag: stackrox-ui-test-0.5.2 +releases: + latest: + release: + channel: stable + version: 4.20.8 +resources: + '*': + requests: + cpu: 2000m + memory: 4000Mi +test_binary_build_commands: .openshift-ci/dispatch.sh test-binary-build-commands +tests: +- always_run: false + as: 24nodes-scale-test + optional: true + reporter_config: + channel: '#acs-perfscale' + 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}}' + steps: + allow_skip_on_success: true + cluster_profile: aws-stackrox + env: + BASE_DOMAIN: perfscale.rox.systems + CD_V2_EXTRA_FLAGS: --churn-duration=20m --timeout=8h --metrics-profile metrics-aggregated.yml,https://raw.githubusercontent.com/stackrox/stackrox/refs/heads/master/tests/performance/scale/config/metrics-acs.yml + COMPUTE_NODE_REPLICAS: "24" + PODS_PER_NODE: "240" + ROX_SCANNER_V4_ENABLED: "true" + SCANNER_V4_MATCHER_READINESS: vulnerability + SCANNER_V4_MATCHER_READINESS_MAX_WAIT: "3600" + TEST_SUITE: ocp-perf-scale-tests + USER_TAGS: | + TicketId 382 + RoxProject PerfScale + ZONES_COUNT: "3" + post: + - chain: gather-core-dump + - chain: ipi-aws-post + - ref: stackrox-stackrox-end + pre: + - ref: stackrox-stackrox-begin + - ref: stackrox-stackrox-e2e-test + - chain: ipi-conf-aws + - chain: ipi-install + - chain: create-infra-move-ingress-monitoring-registry + - ref: stackrox-install-helm + test: + - chain: stackrox-perfscale + timeout: 14h0m0s +zz_generated_metadata: + branch: jv-test-perf-scale + org: stackrox + repo: stackrox + variant: perf-scale diff --git a/ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-jv-test-perf-scale-presubmits.yaml b/ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-jv-test-perf-scale-presubmits.yaml new file mode 100644 index 0000000000000..370281b709eb5 --- /dev/null +++ b/ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-jv-test-perf-scale-presubmits.yaml @@ -0,0 +1,99 @@ +presubmits: + stackrox/stackrox: + - agent: kubernetes + always_run: false + branches: + - ^jv-test-perf-scale$ + - ^jv-test-perf-scale- + cluster: build07 + context: ci/prow/perf-scale-24nodes-scale-test + decorate: true + decoration_config: + skip_cloning: true + timeout: 14h0m0s + labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws-stackrox + ci-operator.openshift.io/variant: perf-scale + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-stackrox-stackrox-jv-test-perf-scale-perf-scale-24nodes-scale-test + optional: true + reporter_config: + slack: + channel: '#acs-perfscale' + 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}}' + rerun_command: /test perf-scale-24nodes-scale-test + 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=24nodes-scale-test + - --variant=perf-scale + 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 + trigger: (?m)^/test( | .* )perf-scale-24nodes-scale-test,?($|\s.*)