Skip to content

Commit

Permalink
cluster-launch-installer-e2e: Start setting expirationDate again
Browse files Browse the repository at this point in the history
We'd dropped this in 3f2f01c
(ci-operator/config/openshift/installer/master: Move to
openshift-install, 2018-09-26, openshift#1677).  But since
openshift/installer@98a35316 (pkg/asset/installconfig: Add
_CI_ONLY_STAY_AWAY_OPENSHIFT_INSTALL_AWS_USER_TAGS, 2018-09-28,
openshift/installer#364), the installer supports setting it again, so
we can add it back.

As the name suggests, this variable is not a stable API.  Soon the new
installer will be able to load the configuration from YAML (again),
but we can keep adjusting as the installer evolves.
  • Loading branch information
wking committed Oct 4, 2018
1 parent f292297 commit b20d571
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,12 @@ objects:
- name: OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE
value: ${RELEASE_IMAGE_LATEST}
command:
- /bin/openshift-install
- --dir=/tmp/artifacts/installer
- --log-level=debug
- cluster
- /bin/sh
- -c
- |
#!/bin/sh
export _CI_ONLY_STAY_AWAY_OPENSHIFT_INSTALL_AWS_USER_TAGS="{\"expirationDate\": \"$(date -d '4 hours' --iso=minutes --utc)\"}"
exec /bin/openshift-install --dir=/tmp/artifacts/installer --log-level=debug cluster
# Performs cleanup of all created resources
- name: teardown
Expand Down

0 comments on commit b20d571

Please sign in to comment.