diff --git a/ci-operator/config/openshift/ci-tools/openshift-ci-tools-master.yaml b/ci-operator/config/openshift/ci-tools/openshift-ci-tools-master.yaml index 253f3ddba3796..dbc4ff41e1059 100644 --- a/ci-operator/config/openshift/ci-tools/openshift-ci-tools-master.yaml +++ b/ci-operator/config/openshift/ci-tools/openshift-ci-tools-master.yaml @@ -1,14 +1,16 @@ base_images: os: - cluster: https://api.ci.openshift.org name: centos namespace: openshift tag: '7' git: - cluster: https://api.ci.openshift.org name: release namespace: openshift tag: golang-1.11 + hive: + name: hive-v4.0 + namespace: openshift + tag: 'hive' binary_build_commands: make install images: - context_dir: images/ci-operator/ @@ -83,6 +85,9 @@ images: - destination_dir: . source_path: /go/bin/determinize-ci-operator to: determinize-ci-operator +- dockerfile_path: images/ipi-deprovision/Dockerfile + from: hive + to: ipi-provisioner promotion: cluster: https://api.ci.openshift.org namespace: ci diff --git a/ci-operator/jobs/infra-periodics.yaml b/ci-operator/jobs/infra-periodics.yaml index 5b15c6aee1fdb..9c15a357f61c5 100644 --- a/ci-operator/jobs/infra-periodics.yaml +++ b/ci-operator/jobs/infra-periodics.yaml @@ -232,6 +232,34 @@ periodics: - configMap: name: labels name: config +- agent: kubernetes + labels: + ci.openshift.io/role: infra + cron: "" + decorate: true + decoration_config: + timeout: 8h + interval: 5m + name: periodic-ipi-deprovision + spec: + containers: + - command: + - run.sh + image: registry.svc.ci.openshift.org/ci/ipi-deprovision:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 500m + volumeMounts: + - mountPath: /usr/local/e2e-aws-cluster-profile + name: cluster-profile + volumes: + - name: cluster-profile + projected: + sources: + - secret: + name: cluster-secrets-aws - agent: kubernetes labels: ci.openshift.io/role: infra