Skip to content

Commit

Permalink
Feat: Update supported terraform versions - Minimal version 1.3.0 and…
Browse files Browse the repository at this point in the history
… Maximum version 1.7.0 (#140)

## What
Update supported terraform versions in CI pipeline
## Why

## Notes
<!-- Add any notes here -->

## 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)._
  • Loading branch information
ilia-medvedev-codefresh authored Feb 28, 2024
1 parent 80248af commit c2313c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ steps:
commands:
- go install github.com/warrensbox/[email protected]
- terraform-switcher --latest-stable ${TF_VERSION}
- sleep $((RANDOM % 45))
- go test -v ./...
retry:
maxAttempts: 3
Expand All @@ -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..."
Expand Down

0 comments on commit c2313c5

Please sign in to comment.