Skip to content

Commit 462e250

Browse files
authored
Lock terraform version to v1.12.0 for Java EKS OTLP/OCB canary (#408)
*Issue description:* The latest version v1.12.1 of terraform has regression problem. Pin to the previous working version v1.12.0 as mitigation. *Description of changes:* *Rollback procedure:* <Can we safely revert this commit if needed? If not, detail what must be done to safely revert and why it is needed.> *Ensure you've run the following tests on your changes and include the link below:* To do so, create a `test.yml` file with `name: Test` and workflow description to test your changes, then remove the file for your PR. Link your test run in your PR description. This process is a short term solution while we work on creating a staging environment for testing. NOTE: TESTS RUNNING ON A SINGLE EKS CLUSTER CANNOT BE RUN IN PARALLEL. See the [needs](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds) keyword to run tests in succession. - Run Java EKS on `e2e-playground` in us-east-1 and eu-central-2 - Run Python EKS on `e2e-playground` in us-east-1 and eu-central-2 - Run metric limiter on EKS cluster `e2e-playground` in us-east-1 and eu-central-2 - Run EC2 tests in all regions - Run K8s on a separate K8s cluster (check IAD test account for master node endpoints; these will change as we create and destroy clusters for OS patching) By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 6c5020d commit 462e250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/java-eks-otlp-ocb-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ jobs:
175175
with:
176176
command: "wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg"
177177
post-command: 'echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
178-
&& sudo apt update && sudo apt install terraform'
178+
&& sudo apt update && sudo apt install terraform=1.12.0-1'
179179
sleep_time: 60
180180

181181
- name: Initiate Terraform
@@ -388,4 +388,4 @@ jobs:
388388
--name appsignals-collector \
389389
--namespace ${{ env.SAMPLE_APP_NAMESPACE }} \
390390
--cluster ${{ env.CLUSTER_NAME }} \
391-
--region ${{ env.E2E_TEST_AWS_REGION }}
391+
--region ${{ env.E2E_TEST_AWS_REGION }}

0 commit comments

Comments
 (0)