From 8393032ca31d9aa3a18671ab1f3bdf17decda895 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2020 05:59:21 +0000 Subject: [PATCH 1/4] Bump github.com/gruntwork-io/terratest in /tests/terraform Bumps [github.com/gruntwork-io/terratest](https://github.com/gruntwork-io/terratest) from 0.28.12 to 0.28.13. - [Release notes](https://github.com/gruntwork-io/terratest/releases) - [Commits](https://github.com/gruntwork-io/terratest/compare/v0.28.12...v0.28.13) Signed-off-by: dependabot[bot] --- tests/terraform/go.mod | 2 +- tests/terraform/go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/terraform/go.mod b/tests/terraform/go.mod index 4e8812bc..d4fe64c6 100644 --- a/tests/terraform/go.mod +++ b/tests/terraform/go.mod @@ -2,4 +2,4 @@ module tardigrade-ci/tests go 1.13 -require github.com/gruntwork-io/terratest v0.28.12 +require github.com/gruntwork-io/terratest v0.28.13 diff --git a/tests/terraform/go.sum b/tests/terraform/go.sum index 89c8da34..326cb015 100644 --- a/tests/terraform/go.sum +++ b/tests/terraform/go.sum @@ -266,6 +266,8 @@ github.com/gruntwork-io/terratest v0.28.10 h1:4K3idJK5atavZ7iwY+L+RPCA7lFwPu87dV github.com/gruntwork-io/terratest v0.28.10/go.mod h1:PkVylPuUNmItkfOTwSiFreYA4FkanK8AluBuNeGxQOw= github.com/gruntwork-io/terratest v0.28.12 h1:XPLiZMV0XkRGNj1JRVvvZ2wj99tiQ4CWYfDtPI9cBlI= github.com/gruntwork-io/terratest v0.28.12/go.mod h1:PkVylPuUNmItkfOTwSiFreYA4FkanK8AluBuNeGxQOw= +github.com/gruntwork-io/terratest v0.28.13 h1:wzydkaIekNMuIpeU/ksgxuUFwc0wgEL5Y5hVkPAzni4= +github.com/gruntwork-io/terratest v0.28.13/go.mod h1:PkVylPuUNmItkfOTwSiFreYA4FkanK8AluBuNeGxQOw= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= From 4fea5cde5af4d3644576f2c685c54d0a7196bf75 Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Tue, 18 Aug 2020 07:04:45 -0700 Subject: [PATCH 2/4] Updates so docker image builds locally on ubuntu --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e3528830..2dfc9650 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ green = $(shell echo -e '\x1b[32;01m$1\x1b[0m') yellow = $(shell echo -e '\x1b[33;01m$1\x1b[0m') red = $(shell echo -e '\x1b[33;31m$1\x1b[0m') -PROJECT_ROOT ?= . +PROJECT_ROOT ?= ./ export SELF ?= $(MAKE) @@ -284,7 +284,7 @@ docs/lint: | terraform/lint @ $(README_FILES) | $(XARGS) $(MAKE) docs/lint/{} -docker/%: IMAGE_NAME := $(shell basename $(PROJECT_ROOT)):latest +docker/%: IMAGE_NAME := $(shell basename $$(readlink -f $(PROJECT_ROOT))):latest ## Builds the tardigrade-ci docker image docker/build: GET_IMAGE_ID := docker inspect --type=image -f '{{.Id}}' "$(IMAGE_NAME)" 2> /dev/null || true From 1572079098a83acea0bb42991bc4b91e2038b29d Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Tue, 18 Aug 2020 07:32:22 -0700 Subject: [PATCH 3/4] Updates terraform test case to work with tf 0.13 --- tests/make/terraform_test_success.bats | 2 +- tests/terraform/example_testcase/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/make/terraform_test_success.bats b/tests/make/terraform_test_success.bats index c34b7866..9fcde8ff 100644 --- a/tests/make/terraform_test_success.bats +++ b/tests/make/terraform_test_success.bats @@ -21,6 +21,6 @@ EOF } function teardown() { - find "$TEST_DIR/example_testcase/" -name "*terraform*" -exec rm -rf {} \; + find "$TEST_DIR/example_testcase" -name "*terraform*" -exec rm -rf {} \; rm $TEST_DIR/main.tf } diff --git a/tests/terraform/example_testcase/main.tf b/tests/terraform/example_testcase/main.tf index 1ad366b8..db78852d 100644 --- a/tests/terraform/example_testcase/main.tf +++ b/tests/terraform/example_testcase/main.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 0.12.0" + required_version = ">= 0.12.0" } module "example" { From 2021f775c995a920c8f41ff322d0352de9a8d677 Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Tue, 18 Aug 2020 07:33:51 -0700 Subject: [PATCH 4/4] Bumps version to 0.1.0 --- .bumpversion.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 8a2ac6fb..871c1b14 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.0.18 +current_version = 0.1.0 commit = True message = Bumps version to {new_version} tag = False