From b90699f13874bd8685197b8ade90a55d73c9c4fe Mon Sep 17 00:00:00 2001 From: Jacob McCann Date: Thu, 11 Oct 2018 14:22:15 -0500 Subject: [PATCH 1/3] update script to build images to show more info and confirm --- build-docker.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/build-docker.sh b/build-docker.sh index cf1c4d7..369f928 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -13,6 +13,18 @@ minor=$(echo $tag | awk -F. '{print $2}') tf_ver=$(grep TERRAFORM_VERSION Dockerfile | head -n 1 | awk '{print $3}') +echo "Confirm building images for:" +echo " MAJOR: ${major}" +echo " MINOR: ${minor}" +echo " TF_VERSION: ${tf_ver}" + +read -p "Proceed? [Y/N] " ans + +if [[ "$ans" != "Y" && "$ans" != "y" ]]; then + echo "Cancelling" + exit 0 +fi + docker build -t jmccann/drone-terraform:latest . set -x @@ -24,4 +36,4 @@ docker push jmccann/drone-terraform:latest docker push jmccann/drone-terraform:${major} docker push jmccann/drone-terraform:${major}.${minor} docker push jmccann/drone-terraform:${major}.${minor}-${tf_ver} -set +x \ No newline at end of file +set +x From 40ff4507ef9f3de64d7166786811a66a99593d90 Mon Sep 17 00:00:00 2001 From: Joe Snell Date: Thu, 17 Jan 2019 19:40:48 -0600 Subject: [PATCH 2/3] update terraform version to 0.11.11 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6d8cae2..69b9294 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN apk -U add \ openssh-client && \ rm -rf /var/cache/apk/* -ENV TERRAFORM_VERSION 0.11.8 +ENV TERRAFORM_VERSION 0.11.11 RUN wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -O terraform.zip && \ unzip terraform.zip -d /bin && \ rm -f terraform.zip From 2d4914fe7604fac0839212c7c1ea3e3d8d8df8e0 Mon Sep 17 00:00:00 2001 From: Jacob McCann Date: Fri, 18 Jan 2019 15:18:17 -0600 Subject: [PATCH 3/3] Version 5.1-0.11.11 --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d97a13..dd5d079 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 5.1-0.11.11 (2019-01-18) +* Update embedded TF to `0.11.11` + ## 5.1-0.11.8 (2018-10-11) * Update embedded TF to `0.11.8`