diff --git a/ci-operator/config/openshift/assisted-service/openshift-assisted-service-master__edge.yaml b/ci-operator/config/openshift/assisted-service/openshift-assisted-service-master__edge.yaml index 2afb51037b3c8..0331de28cded8 100644 --- a/ci-operator/config/openshift/assisted-service/openshift-assisted-service-master__edge.yaml +++ b/ci-operator/config/openshift/assisted-service/openshift-assisted-service-master__edge.yaml @@ -107,6 +107,12 @@ images: as: - registry.ci.openshift.org/openshift/release:golang-1.20 to: assisted-service +- dockerfile_path: Dockerfile.assisted-service.el8 + inputs: + openshift_release_golang-1.20: + as: + - registry.ci.openshift.org/openshift/release:golang-1.20 + to: assisted-service-el8 - dockerfile_literal: | FROM coreos/centos COPY . . @@ -167,6 +173,15 @@ tests: SOURCE_IMAGE_REF: assisted-service test: - ref: assisted-baremetal-images-publish +- as: mirror-nightly-image-el8 + cron: '@daily' + steps: + dependencies: + SOURCE_IMAGE_REF: assisted-service-el8 + env: + IMAGE_REPO: assisted-service-el8 + test: + - ref: assisted-baremetal-images-publish - as: mirror-vcsref-image postsubmit: true steps: diff --git a/ci-operator/jobs/openshift/assisted-service/openshift-assisted-service-master-periodics.yaml b/ci-operator/jobs/openshift/assisted-service/openshift-assisted-service-master-periodics.yaml index 5bceb4334c723..8184bb0e9ff26 100644 --- a/ci-operator/jobs/openshift/assisted-service/openshift-assisted-service-master-periodics.yaml +++ b/ci-operator/jobs/openshift/assisted-service/openshift-assisted-service-master-periodics.yaml @@ -850,6 +850,67 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build04 + cron: 24 22 * * * + decorate: true + extra_refs: + - base_ref: master + org: openshift + repo: assisted-service + labels: + ci-operator.openshift.io/variant: edge + ci.openshift.io/generator: prowgen + job-release: "4.16" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-assisted-service-master-edge-mirror-nightly-image-el8 + 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 + - --secret-dir=/secrets/ci-pull-credentials + - --target=mirror-nightly-image-el8 + - --variant=edge + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - 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: 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: build04 cron: 00 00 */1 * 0-5