Skip to content

Commit

Permalink
OKD 4.4: add a GCP test
Browse files Browse the repository at this point in the history
  • Loading branch information
vrutkovs committed Jan 7, 2020
1 parent d10dd4b commit 17e5cea
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ tests:
commands: TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer:
cluster_profile: aws
- as: e2e-gcp
commands: TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer:
cluster_profile: gcp
- as: e2e-vsphere
commands: TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer_upi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,79 @@ presubmits:
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )e2e-aws,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- fcos
context: ci/prow/e2e-gcp
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-openshift-installer-fcos-e2e-gcp
optional: true
rerun_command: /test e2e-gcp
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --branch=fcos
- --give-pr-author-access-to-namespace=true
- --lease-server=http://boskos
- --org=openshift
- --repo=installer
- --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org
- --secret-dir=/usr/local/e2e-gcp-cluster-profile
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=e2e-gcp
- --template=/usr/local/e2e-gcp
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: gcp
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-installer-fcos.yaml
name: ci-operator-misc-configs
- name: JOB_NAME_SAFE
value: e2e-gcp
- name: TEST_COMMAND
value: TEST_SUITE=openshift/conformance/parallel run-tests
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/e2e-gcp-cluster-profile
name: cluster-profile
- mountPath: /usr/local/e2e-gcp
name: job-definition
subPath: cluster-launch-installer-e2e.yaml
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-gcp
- configMap:
name: cluster-profile-gcp
- configMap:
name: prow-job-cluster-launch-installer-e2e
name: job-definition
- name: sentry-dsn
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )e2e-gcp,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down

0 comments on commit 17e5cea

Please sign in to comment.