Skip to content

Commit

Permalink
Pre download terraform clis to Jenkins instance and use TF_ACC_TERRAF…
Browse files Browse the repository at this point in the history
…ORM_PATH to prevent disk space issues
  • Loading branch information
ddelnano committed Dec 18, 2023
1 parent 6f9d08e commit 7cca899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pipeline {
axes {
axis {
name 'TF_VERSION'
values 'v0.14.11', 'v1.6.5'
values 'terraform-v0.14.11', 'terraform-v1.6.6'
}
}
stages {
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ testacc: xoa/testdata/alpine-virt-3.17.0-x86_64.iso
# to be removed from the repo. Add a target to enforce that the CI system
# has copied that file into place before the tests run
ci: xoa/testdata/alpine-virt-3.17.0-x86_64.iso
TF_ACC_TERRAFORM_VERSION=$(TF_VERSION) TF_ACC=1 gotestsum --debug --rerun-fails=5 --max-fails=15 --packages=./xoa -- ./xoa -v -count=1 -timeout=$(TIMEOUT) -sweep=true -parallel=$(GOMAXPROCS)
TF_ACC_TERRAFORM_PATH=/opt/terraform-provider-xenorchestra/bin/$(TF_VERSION) TF_ACC=1 gotestsum --debug --rerun-fails=5 --max-fails=15 --packages=./xoa -- ./xoa -v -count=1 -timeout=$(TIMEOUT) -sweep=true -parallel=$(GOMAXPROCS)

0 comments on commit 7cca899

Please sign in to comment.