diff --git a/ci-operator/config/ComplianceAsCode/content/ComplianceAsCode-content-master.yaml b/ci-operator/config/ComplianceAsCode/content/ComplianceAsCode-content-master.yaml index 455a946c2b112..dd6b4f36c7bac 100644 --- a/ci-operator/config/ComplianceAsCode/content/ComplianceAsCode-content-master.yaml +++ b/ci-operator/config/ComplianceAsCode/content/ComplianceAsCode-content-master.yaml @@ -33,6 +33,19 @@ tests: requests: cpu: 100m workflow: ipi-aws +- artifact_dir: /tmp/artifacts + as: e2e-aws-ocp4-e8 + steps: + cluster_profile: aws + test: + - as: test + cli: latest + commands: content=ocp4-content-ds make -f tests/ocp4e2e/Makefile e2e PROFILE=e8 PRODUCT=ocp4 + from: src + resources: + requests: + cpu: 100m + workflow: ipi-aws - artifact_dir: /tmp/artifacts as: e2e-aws-ocp4-moderate steps: diff --git a/ci-operator/jobs/ComplianceAsCode/content/ComplianceAsCode-content-master-presubmits.yaml b/ci-operator/jobs/ComplianceAsCode/content/ComplianceAsCode-content-master-presubmits.yaml index f488e1a251f70..22c40ef47beb9 100644 --- a/ci-operator/jobs/ComplianceAsCode/content/ComplianceAsCode-content-master-presubmits.yaml +++ b/ci-operator/jobs/ComplianceAsCode/content/ComplianceAsCode-content-master-presubmits.yaml @@ -134,6 +134,73 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )e2e-aws-ocp4-cis-node,?($|\s.*) + - agent: kubernetes + always_run: true + branches: + - master + cluster: build01 + context: ci/prow/e2e-aws-ocp4-e8 + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/prowgen-controlled: "true" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-ComplianceAsCode-content-master-e2e-aws-ocp4-e8 + rerun_command: /test e2e-aws-ocp4-e8 + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-password-file=/etc/boskos/password + - --report-password-file=/etc/report/password.txt + - --report-username=ci + - --secret-dir=/usr/local/e2e-aws-ocp4-e8-cluster-profile + - --target=e2e-aws-ocp4-e8 + 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-ocp4-e8-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: password + path: password + 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-ocp4-e8,?($|\s.*) - agent: kubernetes always_run: true branches: