diff --git a/ci-operator/config/openshift/managed-cluster-validating-webhooks/openshift-managed-cluster-validating-webhooks-master.yaml b/ci-operator/config/openshift/managed-cluster-validating-webhooks/openshift-managed-cluster-validating-webhooks-master.yaml index 35d5130a69bdb..c5da52f5ebc52 100644 --- a/ci-operator/config/openshift/managed-cluster-validating-webhooks/openshift-managed-cluster-validating-webhooks-master.yaml +++ b/ci-operator/config/openshift/managed-cluster-validating-webhooks/openshift-managed-cluster-validating-webhooks-master.yaml @@ -1,23 +1,18 @@ -base_images: - base: - name: ubi - namespace: ocp - tag: "9" build_root: image_stream_tag: name: release namespace: openshift tag: rhel-9-release-golang-1.25-openshift-4.21 -images: -- dockerfile_path: build/Dockerfile - from: base - to: managed-cluster-validating-webhooks resources: '*': requests: cpu: 100m memory: 200Mi tests: +- as: pr-check + commands: hack/prow_pr_check.sh + container: + from: src - as: e2e-binary-build-success commands: | make e2e-binary-build diff --git a/ci-operator/jobs/openshift/managed-cluster-validating-webhooks/openshift-managed-cluster-validating-webhooks-master-presubmits.yaml b/ci-operator/jobs/openshift/managed-cluster-validating-webhooks/openshift-managed-cluster-validating-webhooks-master-presubmits.yaml index 8f6a751ee8348..f8ab1d1025461 100644 --- a/ci-operator/jobs/openshift/managed-cluster-validating-webhooks/openshift-managed-cluster-validating-webhooks-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/managed-cluster-validating-webhooks/openshift-managed-cluster-validating-webhooks-master-presubmits.yaml @@ -5,7 +5,7 @@ presubmits: branches: - ^master$ - ^master- - cluster: build03 + cluster: build01 context: ci/prow/e2e-binary-build-success decorate: true decoration_config: @@ -69,28 +69,36 @@ presubmits: branches: - ^master$ - ^master- - cluster: build03 - context: ci/prow/images + cluster: build01 + context: ci/prow/pr-check decorate: true decoration_config: skip_cloning: true labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: pull-ci-openshift-managed-cluster-validating-webhooks-master-images - rerun_command: /test images + name: pull-ci-openshift-managed-cluster-validating-webhooks-master-pr-check + rerun_command: /test pr-check 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] + - --target=pr-check 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 @@ -118,4 +126,4 @@ presubmits: - name: result-aggregator secret: secretName: result-aggregator - trigger: (?m)^/test( | .* )images,?($|\s.*) + trigger: (?m)^/test( | .* )pr-check,?($|\s.*)