From 28371e784b87723372c488df34e7f6567988e62e Mon Sep 17 00:00:00 2001 From: Omer Tuchfeld Date: Thu, 1 Jul 2021 00:38:36 +0200 Subject: [PATCH] WIP - single node serial workflow --- ...nshift-machine-config-operator-master.yaml | 6 ++ ...ine-config-operator-master-presubmits.yaml | 65 +++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml index 2123eeb1d4d97..48eaece9d63f8 100644 --- a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml +++ b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml @@ -206,6 +206,12 @@ tests: steps: cluster_profile: aws workflow: openshift-e2e-aws-single-node +- as: e2e-aws-single-node-serial + steps: + cluster_profile: aws + env: + TEST_SUITE: openshift/conformance/serial + workflow: openshift-e2e-aws-single-node - as: e2e-gcp-single-node steps: cluster_profile: gcp 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 6bc8ac36220d9..95b39037a456f 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 @@ -456,6 +456,71 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )e2e-aws-single-node,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - master + cluster: build02 + context: ci/prow/e2e-aws-single-node-serial + decorate: true + labels: + ci-operator.openshift.io/prowgen-controlled: "true" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-machine-config-operator-master-e2e-aws-single-node-serial + optional: true + rerun_command: /test e2e-aws-single-node-serial + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/usr/local/e2e-aws-single-node-serial-cluster-profile + - --target=e2e-aws-single-node-serial + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /usr/local/e2e-aws-single-node-serial-cluster-profile + name: cluster-profile + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: cluster-profile + projected: + sources: + - secret: + name: cluster-secrets-aws + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )e2e-aws-single-node-serial,?($|\s.*) - agent: kubernetes always_run: false branches: