Skip to content

Commit 7221114

Browse files
committed
bump terraform to 11.8, clean up unused files
1 parent 6d9f76b commit 7221114

File tree

3 files changed

+9
-30
lines changed

3 files changed

+9
-30
lines changed

buildah-from-alpine/terraform-alpine.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22
set -x
33

44
cleanup() {
5-
rm -fv terraform terraform_0.11.7_linux_amd64.zip
5+
rm -fv terraform terraform_0.11.8_linux_amd64.zip
66
}
77
trap "cleanup" EXIT
88
ctr=$(buildah from alpine) || (echo "Must be root to execute buildah" && exit 1)
99
mnt=`buildah mount $ctr` || (echo "Must be root to execute buildah" && exit 1)
10-
wget https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip
11-
unzip terraform_0.11.7_linux_amd64.zip
10+
wget https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_linux_amd64.zip
11+
unzip terraform_0.11.8_linux_amd64.zip
1212
cp terraform "${mnt}/usr/bin" || exit 1
1313
buildah unmount $ctr
1414
buildah config $ctr
15-
buildah commit $ctr terraform-alpine:v0.11.7
15+
buildah commit $ctr terraform-alpine:v0.11.8
1616
set +x
17-
echo "run 'podman run -v "$PWD":"$PWD":ro terraform-alpine:v0.11.7 terraform fmt -list -check -write=false' to terraform fmt source"
1817
echo "to cleanup run 'podman stop [containerid from podman run]; podman rm [containerid from podman run]'"
19-
echo "to push to docker-daemon run 'buildah push [imageID] docker-daemon:terraform-alpine:v0.11.7'"
18+
echo "to push to docker-daemon run 'buildah push [imageID] docker-daemon:terraform-alpine:v0.11.8'"

buildah-from-scratch/terraform-fmt-from-scratch.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

buildah-from-scratch/terraform-from-scratch.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ cleanup() {
77
trap "cleanup" EXIT
88
ctr=$(buildah from scratch) || (echo "Must be root to execute buildah" && exit 1)
99
mnt=`buildah mount $ctr` || (echo "Must be root to execute buildah" && exit 1)
10-
wget https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip
11-
unzip terraform_0.11.7_linux_amd64.zip
10+
wget https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_linux_amd64.zip
11+
unzip terraform_0.11.8_linux_amd64.zip
1212
cp terraform $mnt || exit 1
1313
mkdir $mnt/tmp || exit 1
1414
buildah unmount $ctr
1515
buildah config --entrypoint='["/terraform"]' "${ctr}"
16-
buildah commit $ctr terraform-scratch:v0.11.7
16+
buildah commit $ctr terraform-scratch:v0.11.8
1717
set +x
18-
echo "run 'podman run -v "$PWD":"$PWD":ro terraform-scratch:v0.11.7 fmt -list -check -write=false' to terraform fmt source"
18+
echo "run 'podman run -v "$PWD":"$PWD":ro terraform-scratch:v0.11.8 fmt -list -check -write=false' to terraform fmt source"
1919
echo "to cleanup run 'podman stop [containerid from podman run]; podman rm [containerid from podman run]'"
20-
echo "to push to docker-daemon run 'buildah push [imageID] docker-daemon:terraform-scratch:v0.11.7'"

0 commit comments

Comments
 (0)