Commit e9e9559
authored
ci: Concurrent Provider Acceptance Tests against Different Terraform Versions (#124)
## What
* Concurrent provider acceptance tests against different terraform
versions
* Install Terraform beforehand, do not delegate Terraform SDK v2 to do
download and install Terraform
## Why
* There is an issue caused when parallel Terraform Provider acceptance
tests install Terraform at the same time. Explained fairly well in
hashicorp/terraform-provider-kubernetes#2256
* Better testing by using different versions of the Terraform binary (3
latest stable minor versions — their latest stable patch version
resolved by
[terraform-switcher](https://github.com/warrensbox/terraform-switcher)
aka `tfswitch`)
## Notes
* Will probably need to test against OpenTofu in the future
## Checklist
* [x] _I have read
[CONTRIBUTING.md](https://github.com/codefresh-io/terraform-provider-codefresh/blob/master/CONTRIBUTING.md)._
* [x] _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)._
* [x] _I have added tests, assuming new tests are warranted_.
* [x] _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)._1 parent 887901f commit e9e9559
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
| |||
0 commit comments