Skip to content

Commit

Permalink
Cincinnati: mount credentials secret in e2e test container
Browse files Browse the repository at this point in the history
Required to use github token in e2e runs, see openshift/cincinnati#233
  • Loading branch information
vrutkovs committed Mar 2, 2020
1 parent 0cae309 commit b733b31
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@ tests:
openshift_installer_custom_test_image:
cluster_profile: aws
from: pipeline:e2e-test
secret:
mount_path: /tmp/shared/cincinnati-credentials
name: cincinnati-secrets-cincinnati-credentials
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ presubmits:
- --org=openshift
- --repo=cincinnati
- --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org
- --secret-dir=/tmp/shared/cincinnati-credentials
- --secret-dir=/usr/local/e2e-cluster-profile
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=e2e
Expand Down Expand Up @@ -132,6 +133,9 @@ presubmits:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /tmp/shared/cincinnati-credentials
name: cincinnati-secrets-cincinnati-credentials
readOnly: true
- mountPath: /usr/local/e2e-cluster-profile
name: cluster-profile
- mountPath: /usr/local/e2e
Expand All @@ -157,6 +161,9 @@ presubmits:
- key: password
path: password
secretName: boskos-credentials
- name: cincinnati-secrets-cincinnati-credentials
secret:
secretName: cincinnati-secrets-cincinnati-credentials
- name: cluster-profile
projected:
sources:
Expand Down

0 comments on commit b733b31

Please sign in to comment.