-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump Terraform from 0.11.7 to 0.11.8 #218
Bump Terraform from 0.11.7 to 0.11.8 #218
Conversation
48d239d
to
f859d92
Compare
f859d92
to
59af76b
Compare
The smoke error included:
But between openshift/release#1405, openshift/release#1317, and #221, I don't see anyone asking for that AMI angmore. /retest |
/retest |
/lgtm |
@@ -9,6 +9,6 @@ else | |||
--env IS_CONTAINER=TRUE \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above, in #L6, please update /terraform
to terraform
i've pushed an 11.8 terraform image using the change you made to the build script-adding terraform binary to PATH, so now you terraform fmt...
no leading slash.
You can verify image is available, docker pull quay.io/coreos/terraform-alpine:v0.11.8
or you can run ./hack/tf-fmt.sh
from installer dir to verify all is working well (I did, it is 👍 ).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above, in #L6, please update
/terraform
toterraform
...
Done and rebased onto master with 59af76b -> 0032348.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above, in #L6, please update
/terraform
toterraform
...
It turns out that I can't actually do that until openshift/release bumps its image to v0.11.8. I've filed openshift/release#1515 with that bump, and put a temporary fixup 856350d here. Going forward, we'll want to:
- Land this PR.
- Land Bump Terraform from 0.11.7 to 0.11.8 release#1515.
- Revert 856350d.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack yup i missed that
0.11.8 was cut on 2018-08-15 [1,2]. Removing the leading slash is because with v0.11.8, terraform-alpine is dropping the terraform binary into the PATH [3,4,5]. [1]: https://github.com/hashicorp/terraform/releases/tag/v0.11.8 [2]: https://releases.hashicorp.com/terraform/0.11.8/ [3]: sallyom/scripts-images#3 [4]: sallyom/scripts-images@7221114 [5]: openshift#218 (comment)
59af76b
to
0032348
Compare
a054b40
to
cd14e0d
Compare
0.11.8 was cut on 2018-08-15 [1,2]. The image bump moved the terraform binary into the container's PATH with sallyom/scripts-images@931c8ee8 (terraform-alpine: Install terraform into $PATH, 2018-08-16, sallyom/scripts-images#3), but the installer's tf-fmt.sh was updated to match in openshift/installer@00323486 (Bump Terraform from 0.11.7 to 0.11.8, 2018-06-09, openshift/installer#218). Bumping the image here depends on using that bumped version of tf-fmt.sh. [1]: https://github.com/hashicorp/terraform/releases/tag/v0.11.8 [2]: https://releases.hashicorp.com/terraform/0.11.8/
We'll want to revert this once we bump [1] to point to the new image. I've filed [2] with that bump. [1]: https://github.com/openshift/release/blob/4ea9040eeb4131730af491d2feb926a889a0bd62/ci-operator/jobs/openshift/installer/openshift-installer-presubmits.yaml#L281 [2]: openshift/release#1515
cd14e0d
to
856350d
Compare
Looks like smoke hung:
/retest |
/hold cancel |
All green here. @crawford, can you re-lgtm at some point? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: crawford, wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
… v0.11.7" This reverts commit 856350d, openshift#218. openshift/release@bbb02d36 (Bump Terraform from 0.11.7 to 0.11.8, 2018-09-14, openshift/release#1515) has landed, so we can drop the workaround.
0.11.8 was cut on 2018-08-15. We'll need to wait until @sallyom pushes a 0.11.8 version of her image before the
tf-fmt.sh
change works./hold