From 9670f8b83e9088b9a728f4d3c1421a2ab1e9077c Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Mon, 16 Mar 2020 10:21:58 +0100 Subject: [PATCH] OKD: add optional openstack test for fcos branch --- .../openshift-installer-fcos-presubmits.yaml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/ci-operator/jobs/openshift/installer/openshift-installer-fcos-presubmits.yaml b/ci-operator/jobs/openshift/installer/openshift-installer-fcos-presubmits.yaml index dfd3a33ece3c..ab7c45c53e1a 100644 --- a/ci-operator/jobs/openshift/installer/openshift-installer-fcos-presubmits.yaml +++ b/ci-operator/jobs/openshift/installer/openshift-installer-fcos-presubmits.yaml @@ -93,6 +93,68 @@ presubmits: secret: secretName: sentry-dsn trigger: (?m)^/test( | .* )e2e-aws,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - fcos + context: ci/prow/e2e-openstack + decorate: true + decoration_config: + skip_cloning: true + labels: + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-installer-fcos-e2e-openstack + optional: true + rerun_command: /test e2e-openstack + run_if_changed: ^([^d]|d(d|o(d|cd))*([^do]|o([^cd]|c[^ds])))*(d(d|o(d|cd))*(oc?)?)?$ + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --give-pr-author-access-to-namespace=true + - --lease-server=http://boskos + - --secret-dir=/usr/local/e2e-openstack-cluster-profile + - --target=e2e-openstack + - --template=/usr/local/e2e-openstack + command: + - ci-operator + env: + - name: CLUSTER_TYPE + value: openstack + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-installer-fcos.yaml + name: ci-operator-misc-configs + - name: JOB_NAME_SAFE + value: e2e-openstack + - name: KURYR_ENABLED + value: "false" + - name: TEST_COMMAND + value: run-minimal-tests + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /usr/local/e2e-openstack-cluster-profile + name: cluster-profile + - mountPath: /usr/local/e2e-openstack + name: job-definition + subPath: cluster-launch-installer-openstack-e2e.yaml + serviceAccountName: ci-operator + volumes: + - name: cluster-profile + projected: + sources: + - secret: + name: cluster-secrets-openstack + - configMap: + name: prow-job-cluster-launch-installer-openstack-e2e + name: job-definition + trigger: (?m)^/test( | .* )e2e-openstack,?($|\s.*) - agent: kubernetes always_run: true branches: