From 79ef034caddd7f56efbfc7e4f5392c4fdd2b8576 Mon Sep 17 00:00:00 2001 From: Roy Golan Date: Tue, 31 Dec 2019 14:44:13 +0200 Subject: [PATCH] ovirt: Add machine-config-operator presubmit Signed-off-by: Roy Golan --- ...ine-config-operator-master-presubmits.yaml | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml index b329a70e07780..85c638430034d 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml @@ -411,6 +411,70 @@ presubmits: name: prow-job-cluster-launch-installer-openstack-e2e name: job-definition trigger: (?m)^/test( | .* )e2e-openstack,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - master + context: ci/prow/e2e-ovirt + decorate: true + decoration_config: + skip_cloning: true + labels: + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-machine-config-operator-master-e2e-ovirt + optional: true + rerun_command: /test e2e-ovirt + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --give-pr-author-access-to-namespace=true + - --secret-dir=/usr/local/e2e-ovirt-cluster-profile + - --target=e2e-ovirt + - --template=/usr/local/e2e-ovirt + command: + - ci-operator + env: + - name: CLUSTER_TYPE + value: ovirt + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-machine-config-operator-master.yaml + name: ci-operator-master-configs + - name: JOB_NAME_SAFE + value: e2e-ovirt + - name: LEASE_TYPE + value: minimal + - name: TEST_COMMAND + value: run-minimal-tests + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /usr/local/e2e-ovirt-cluster-profile + name: cluster-profile + - mountPath: /usr/local/e2e-ovirt + name: job-definition + subPath: cluster-launch-installer-ovirt-e2e.yaml + serviceAccountName: ci-operator + volumes: + - name: cluster-profile + projected: + sources: + - secret: + name: cluster-secrets-ovirt + - secret: + name: ovirt-infra-secrets + - configMap: + name: cluster-profile-ovirt + - configMap: + name: prow-job-cluster-launch-installer-ovirt-e2e + name: job-definition + trigger: (?m)^/test( | .* )e2e-ovirt,?($|\s.*) - agent: kubernetes always_run: false branches: