From c2313c58cf75758934f6404e7b51edbe2ef03083 Mon Sep 17 00:00:00 2001 From: ilia-medvedev-codefresh Date: Wed, 28 Feb 2024 12:09:06 +0200 Subject: [PATCH] Feat: Update supported terraform versions - Minimal version 1.3.0 and Maximum version 1.7.0 (#140) ## What Update supported terraform versions in CI pipeline ## Why ## Notes ## Checklist * [ ] _I have read [CONTRIBUTING.md](https://github.com/codefresh-io/terraform-provider-codefresh/blob/master/CONTRIBUTING.md)._ * [ ] _I have [allowed changes to my fork to be made](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork)._ * [ ] _I have added tests, assuming new tests are warranted_. * [ ] _I understand that the `/test` comment will be ignored by the CI trigger [unless it is made by a repo admin or collaborator](https://codefresh.io/docs/docs/pipelines/triggers/git-triggers/#support-for-building-pull-requests-from-forks)._ --- codefresh.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codefresh.yml b/codefresh.yml index 8e04ef6..48af15a 100644 --- a/codefresh.yml +++ b/codefresh.yml @@ -29,6 +29,7 @@ steps: commands: - go install github.com/warrensbox/terraform-switcher@0.13.1308 - terraform-switcher --latest-stable ${TF_VERSION} + - sleep $((RANDOM % 45)) - go test -v ./... retry: maxAttempts: 3 @@ -38,8 +39,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..."