Skip to content

Commit f64b8ea

Browse files
committed
cluster-launch-installer-e2e: Set expirationDate tags
For four hours in the future. Successful runs are currently taking around 40 minutes [1], so this gives us a reasonable buffer without leaving leaked resources around forever. [1]: https://deck-ci.svc.ci.openshift.org/?job=pull-ci-origin-installer-e2e-aws&state=success
1 parent bf9c6f3 commit f64b8ea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cluster/ci/config/prow/jobs/cluster-launch-installer-e2e.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ objects:
191191
export EMAIL=test@ci.openshift.io
192192
export PASSWORD=$( date +%s | sha256sum | base64 | head -c 32 ; echo )
193193
export EC2_AMI_OVERRIDE=ami-02323e873420d8eab
194+
export EXPIRATION_DATE=$( date -d '4 hours' --iso=minutes --utc )
194195
cat /etc/openshift-installer/openshift.yaml | envsubst > /tmp/cluster/inputs.yaml
195196
)
196197
echo "Invoking installer ..."

cluster/test-deploy/aws/openshift.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ aws:
7373
# (optional) Extra AWS tags to be applied to created resources.
7474
#
7575
# Example: `{ "key" = "value", "foo" = "bar" }`
76-
# extraTags:
76+
extraTags: {"expirationDate" = "${EXPIRATION_DATE}"}
7777

7878
# (optional) Name of IAM role to use to access AWS in order to deploy the Tectonic Cluster.
7979
# The name is also the full role's ARN.

0 commit comments

Comments
 (0)