Skip to content

Commit

Permalink
update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia-medvedev-codefresh committed Feb 28, 2024
1 parent 80248af commit 16d4816
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ steps:
- TF_ACC="test"
- CGO_ENABLED=0
commands:
- go install github.com/warrensbox/[email protected]
- terraform-switcher --latest-stable ${TF_VERSION}
- wget -O /tmp/tfswitch-install.sh https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh
- chmod +x /tmp/tfswitch-install.sh
- /tmp/tfswitch-install.sh
- tfswitch --latest-stable ${TF_VERSION}
- sleep $((RANDOM % 45))
- go test -v ./...
retry:
maxAttempts: 3
Expand All @@ -38,8 +41,7 @@ steps:
# 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
- TF_VERSION=1.7.0

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

0 comments on commit 16d4816

Please sign in to comment.