diff --git a/ci-operator/config/openshift/custom-metrics-autoscaler-operator/openshift-custom-metrics-autoscaler-operator-main.yaml b/ci-operator/config/openshift/custom-metrics-autoscaler-operator/openshift-custom-metrics-autoscaler-operator-main.yaml index e82739bbecdd3..54d5dc6cd3e92 100644 --- a/ci-operator/config/openshift/custom-metrics-autoscaler-operator/openshift-custom-metrics-autoscaler-operator-main.yaml +++ b/ci-operator/config/openshift/custom-metrics-autoscaler-operator/openshift-custom-metrics-autoscaler-operator-main.yaml @@ -122,6 +122,8 @@ tests: - ref: keda-e2e-cma-apply-kc - ref: keda-e2e-setup - ref: keda-e2e-run + - ref: http-addon-e2e-setup + - ref: http-addon-e2e-run - ref: tls-scanner-run - ref: keda-e2e-clean - ref: keda-e2e-cma-teardown diff --git a/ci-operator/step-registry/http-addon/OWNERS b/ci-operator/step-registry/http-addon/OWNERS new file mode 100644 index 0000000000000..946f5c4a8c1bc --- /dev/null +++ b/ci-operator/step-registry/http-addon/OWNERS @@ -0,0 +1,13 @@ +approvers: +- Fedosin +- jkyros +- joelsmith +- linkvt +- maxcao13 + +reviewers: +- Fedosin +- jkyros +- joelsmith +- linkvt +- maxcao13 diff --git a/ci-operator/step-registry/http-addon/e2e/OWNERS b/ci-operator/step-registry/http-addon/e2e/OWNERS new file mode 100644 index 0000000000000..946f5c4a8c1bc --- /dev/null +++ b/ci-operator/step-registry/http-addon/e2e/OWNERS @@ -0,0 +1,13 @@ +approvers: +- Fedosin +- jkyros +- joelsmith +- linkvt +- maxcao13 + +reviewers: +- Fedosin +- jkyros +- joelsmith +- linkvt +- maxcao13 diff --git a/ci-operator/step-registry/http-addon/e2e/run/OWNERS b/ci-operator/step-registry/http-addon/e2e/run/OWNERS new file mode 100644 index 0000000000000..946f5c4a8c1bc --- /dev/null +++ b/ci-operator/step-registry/http-addon/e2e/run/OWNERS @@ -0,0 +1,13 @@ +approvers: +- Fedosin +- jkyros +- joelsmith +- linkvt +- maxcao13 + +reviewers: +- Fedosin +- jkyros +- joelsmith +- linkvt +- maxcao13 diff --git a/ci-operator/step-registry/http-addon/e2e/run/http-addon-e2e-run-commands.sh b/ci-operator/step-registry/http-addon/e2e/run/http-addon-e2e-run-commands.sh new file mode 100644 index 0000000000000..798bb12b87bcb --- /dev/null +++ b/ci-operator/step-registry/http-addon/e2e/run/http-addon-e2e-run-commands.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -o errexit +set -o nounset +set -o pipefail + +make e2e-test-openshift-ci diff --git a/ci-operator/step-registry/http-addon/e2e/run/http-addon-e2e-run-ref.metadata.json b/ci-operator/step-registry/http-addon/e2e/run/http-addon-e2e-run-ref.metadata.json new file mode 100644 index 0000000000000..095018dd18d63 --- /dev/null +++ b/ci-operator/step-registry/http-addon/e2e/run/http-addon-e2e-run-ref.metadata.json @@ -0,0 +1,19 @@ +{ + "path": "http-addon/e2e/run/http-addon-e2e-run-ref.yaml", + "owners": { + "approvers": [ + "Fedosin", + "jkyros", + "joelsmith", + "linkvt", + "maxcao13" + ], + "reviewers": [ + "Fedosin", + "jkyros", + "joelsmith", + "linkvt", + "maxcao13" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/http-addon/e2e/run/http-addon-e2e-run-ref.yaml b/ci-operator/step-registry/http-addon/e2e/run/http-addon-e2e-run-ref.yaml new file mode 100644 index 0000000000000..14be22ba79af4 --- /dev/null +++ b/ci-operator/step-registry/http-addon/e2e/run/http-addon-e2e-run-ref.yaml @@ -0,0 +1,14 @@ +ref: + as: http-addon-e2e-run + cli: latest + commands: http-addon-e2e-run-commands.sh + from: custom-metrics-autoscaler-http-add-on-tests + resources: + requests: + cpu: 100m + dependencies: + - env: IMAGE_GRPC_ECHO + name: custom-metrics-autoscaler-http-add-on-grpc-echo + documentation: |- + Runs the HTTP Add-on e2e OpenShift test suite from the prebuilt test + image, against a previously installed HTTP Add-on. diff --git a/ci-operator/step-registry/http-addon/e2e/setup/OWNERS b/ci-operator/step-registry/http-addon/e2e/setup/OWNERS new file mode 100644 index 0000000000000..946f5c4a8c1bc --- /dev/null +++ b/ci-operator/step-registry/http-addon/e2e/setup/OWNERS @@ -0,0 +1,13 @@ +approvers: +- Fedosin +- jkyros +- joelsmith +- linkvt +- maxcao13 + +reviewers: +- Fedosin +- jkyros +- joelsmith +- linkvt +- maxcao13 diff --git a/ci-operator/step-registry/http-addon/e2e/setup/http-addon-e2e-setup-commands.sh b/ci-operator/step-registry/http-addon/e2e/setup/http-addon-e2e-setup-commands.sh new file mode 100644 index 0000000000000..a16a642b68a43 --- /dev/null +++ b/ci-operator/step-registry/http-addon/e2e/setup/http-addon-e2e-setup-commands.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -o errexit +set -o nounset +set -o pipefail + +make e2e-deps-external diff --git a/ci-operator/step-registry/http-addon/e2e/setup/http-addon-e2e-setup-ref.metadata.json b/ci-operator/step-registry/http-addon/e2e/setup/http-addon-e2e-setup-ref.metadata.json new file mode 100644 index 0000000000000..b3b4af7c4872a --- /dev/null +++ b/ci-operator/step-registry/http-addon/e2e/setup/http-addon-e2e-setup-ref.metadata.json @@ -0,0 +1,19 @@ +{ + "path": "http-addon/e2e/setup/http-addon-e2e-setup-ref.yaml", + "owners": { + "approvers": [ + "Fedosin", + "jkyros", + "joelsmith", + "linkvt", + "maxcao13" + ], + "reviewers": [ + "Fedosin", + "jkyros", + "joelsmith", + "linkvt", + "maxcao13" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/http-addon/e2e/setup/http-addon-e2e-setup-ref.yaml b/ci-operator/step-registry/http-addon/e2e/setup/http-addon-e2e-setup-ref.yaml new file mode 100644 index 0000000000000..5afd55c28a4aa --- /dev/null +++ b/ci-operator/step-registry/http-addon/e2e/setup/http-addon-e2e-setup-ref.yaml @@ -0,0 +1,14 @@ +ref: + as: http-addon-e2e-setup + cli: latest + commands: http-addon-e2e-setup-commands.sh + from: custom-metrics-autoscaler-http-add-on-tests + resources: + requests: + cpu: 100m + documentation: |- + Installs the HTTP Add-on e2e suite's external test dependencies + (e.g. cert-manager) on an OpenShift cluster. + KEDA and the HTTP Add-on itself are not installed by this step as + both should already be installed, e.g. by the CMA operator via the + shared KedaController CR.