Skip to content

Commit 7f861f5

Browse files
committed
Try arm64 instead of amd64
1 parent c0c9c03 commit 7f861f5

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
image: registry.ddbuild.io/images/mirror/golang:1.23.4
2-
31
stages:
42
- test
53

64
tests:
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

tests/main_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)