Skip to content

Commit fe6d071

Browse files
author
Jim Sheldon
authored
update tests to use go modules (#31)
* update tests to use go modules tests were pulling newer incompatible modules
1 parent 8ecb7f4 commit fe6d071

File tree

3 files changed

+545
-7
lines changed

3 files changed

+545
-7
lines changed

.drone.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@ steps:
1313
commands:
1414
- apk add go build-base
1515
- cd terratest
16-
- terrapin -force -tf-version 0.12.14 -directory /usr/local/bin
17-
- export GOPATH=$(pwd)
18-
- export PATH=$PATH:$GOPATH/bin
19-
- go get -u github.com/golang/dep/cmd/dep
20-
- go get github.com/gruntwork-io/terratest/modules/aws
21-
- go get github.com/gruntwork-io/terratest/modules/terraform
22-
- go get github.com/stretchr/testify/assert
16+
- terrapin -force -tf-version 0.12.21 -directory /usr/local/bin
2317
- cd test
2418
- go test -v -run TestAwsDnsRecordName
2519

terratest/go.mod

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module github.com/meltwater/terraform-aws-asg-dns-handler/terratest
2+
3+
go 1.15
4+
5+
require (
6+
github.com/aws/aws-sdk-go v1.27.1
7+
github.com/gruntwork-io/terratest v0.28.7
8+
github.com/stretchr/testify v1.6.1
9+
)

0 commit comments

Comments
 (0)