File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- image : registry.ddbuild.io/images/mirror/golang:1.23.4
2-
31stages :
42 - test
53
64tests :
75 stage : test
86 image : registry.ddbuild.io/images/mirror/golang:1.23.4
97 tags :
10- - " arch:amd64 "
8+ - " arch:arm64 "
119 before_script :
1210 - mkdir -p ~/.aws
1311 - apt-get update && apt-get install -y unzip curl jq
@@ -20,14 +18,14 @@ tests:
2018 # - tofu version
2119
2220 # Setup Terraform
23- - curl -fsSL https://releases.hashicorp.com/terraform/1.6.6/terraform_1.6.6_linux_amd64 .zip -o terraform.zip
21+ - curl -fsSL https://releases.hashicorp.com/terraform/1.6.6/terraform_1.6.6_linux_arm64 .zip -o terraform.zip
2422 - unzip terraform.zip
2523 - mv terraform /usr/local/bin/terraform
2624 - chmod +x /usr/local/bin/terraform
2725 - terraform version
2826
2927 # Setup AWS CLI
30- - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64 .zip" -o "awscliv2.zip"
28+ - curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64 .zip" -o "awscliv2.zip"
3129 - unzip awscliv2.zip > /dev/null
3230 - ./aws/install
3331 - aws --version
Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ func (s *ECSFargateSuite) SetupSuite() {
5858 }
5959
6060 // Run terraform init and apply
61- terraform .InitAndApply (s .T (), s .terraformOptions )
61+ terraform .Init (s .T (), s .terraformOptions )
62+ terraform .Apply (s .T (), s .terraformOptions )
6263}
6364
6465// TearDownSuite is run once at the end of the test suite
You can’t perform that action at this time.
0 commit comments