We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887901f commit e9e9559Copy full SHA for e9e9559
codefresh.yml
@@ -22,15 +22,24 @@ steps:
22
go_test:
23
title: "Run tests"
24
stage: test
25
- image: goreleaser/goreleaser:v1.17.0
+ image: golang:1.18.10-alpine3.17
26
environment:
27
- TF_ACC="test"
28
+ - CGO_ENABLED=0
29
commands:
30
+ - go install github.com/warrensbox/[email protected]
31
+ - terraform-switcher --latest-stable ${TF_VERSION}
32
- go test -v ./...
33
retry:
34
maxAttempts: 3
35
delay: 5
36
exponentialFactor: 2
37
+ matrix:
38
+ # The following will resolve to their latest patch version
39
+ environment:
40
+ - TF_VERSION=1.3.0
41
+ - TF_VERSION=1.4.0
42
+ - TF_VERSION=1.5.0
43
44
prepare_env_vars:
45
title: "Preparing environment variables..."
0 commit comments