Skip to content

Commit

Permalink
Fix CI pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
korenyoni committed Oct 3, 2023
1 parent d1beb61 commit 59f5e10
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,24 @@ steps:
go_test:
title: "Run tests"
stage: test
image: goreleaser/goreleaser:v1.17.0
image: golang:1.18.10-alpine3.17
environment:
- TF_ACC="test"
- CGO_ENABLED=0
commands:
- go install github.com/warrensbox/[email protected]
- terraform-switcher --latest-stable ${TF_VERSION}
- go test -v ./...
retry:
maxAttempts: 3
delay: 5
exponentialFactor: 2
matrix:
# The following will resolve to their latest patch version
environment:
- TF_VERSION=1.3.0
- TF_VERSION=1.4.0
- TF_VERSION=1.5.0

prepare_env_vars:
title: "Preparing environment variables..."
Expand Down

0 comments on commit 59f5e10

Please sign in to comment.