From 9bdf24ecbf15e98ae755c5381c48e0983d0f679b Mon Sep 17 00:00:00 2001 From: Seth Levine Date: Tue, 17 Jan 2023 17:04:42 -0500 Subject: [PATCH 1/3] nick-invision/retry@v2 Became nick-fields/retry@v2 Fix ECSEC2LaunchDaemonIntegrationTest Action --- .github/workflows/integrationTest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integrationTest.yml b/.github/workflows/integrationTest.yml index 5a1e67487b..2c72148699 100644 --- a/.github/workflows/integrationTest.yml +++ b/.github/workflows/integrationTest.yml @@ -717,7 +717,7 @@ jobs: - name: Terraform apply if: steps.ecs-ec2-launch-daemon-integration-test.outputs.cache-hit != 'true' - uses: nick-invision/retry@v2 + uses: nick-fields/retry@v2 with: max_attempts: 3 timeout_minutes: 15 @@ -738,7 +738,7 @@ jobs: - name: Terraform destroy if: ${{ cancelled() && steps.ecs-ec2-launch-integration-test.outputs.cache-hit != 'true' }} - uses: nick-invision/retry@v2 + uses: nick-fields/retry@v2 with: max_attempts: 3 timeout_minutes: 8 From f4ae12953b28e16c0c1c0665c23cd1294ef38e37 Mon Sep 17 00:00:00 2001 From: Seth Levine Date: Fri, 20 Jan 2023 13:27:08 -0500 Subject: [PATCH 2/3] Metric Branchmark Test Takes longer Than 30 Minuts --- .github/workflows/integrationTest.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integrationTest.yml b/.github/workflows/integrationTest.yml index 2c72148699..395a975605 100644 --- a/.github/workflows/integrationTest.yml +++ b/.github/workflows/integrationTest.yml @@ -548,7 +548,7 @@ jobs: uses: nick-fields/retry@v2 with: max_attempts: 3 - timeout_minutes: 30 + timeout_minutes: 60 retry_wait_seconds: 5 command: | cd terraform/ec2/linux @@ -556,6 +556,7 @@ jobs: if terraform apply --auto-approve \ -var="ssh_key_value=${PRIVATE_KEY}" -var="github_test_repo=${{env.CWA_GITHUB_TEST_REPO_URL}}" \ -var="cwa_github_sha=${GITHUB_SHA}" -var="install_agent=${{ matrix.arrays.installAgentCommand }}" \ + -var="github_test_repo_branch=${{env.CWA_GITHUB_TEST_REPO_BRANCH}}" \ -var="ec2_instance_type=${{ matrix.arrays.instanceType }}" \ -var="user=${{ matrix.arrays.username }}" \ -var="ami=${{ matrix.arrays.ami }}" \ From 3ff547689e1d4b77a9200fc57831710bb25c9d22 Mon Sep 17 00:00:00 2001 From: Seth Levine Date: Fri, 20 Jan 2023 17:40:08 -0500 Subject: [PATCH 3/3] Add github_test_repo_branch To EC2NvidiaGPUIntegrationTest Terraform --- .github/workflows/integrationTest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/integrationTest.yml b/.github/workflows/integrationTest.yml index 395a975605..c2492a3f2d 100644 --- a/.github/workflows/integrationTest.yml +++ b/.github/workflows/integrationTest.yml @@ -454,6 +454,7 @@ jobs: if terraform apply --auto-approve \ -var="ssh_key_value=${PRIVATE_KEY}" -var="github_test_repo=${{env.CWA_GITHUB_TEST_REPO_URL}}" \ -var="cwa_github_sha=${GITHUB_SHA}" -var="install_agent=${{ matrix.arrays.installAgentCommand }}" \ + -var="github_test_repo_branch=${{env.CWA_GITHUB_TEST_REPO_BRANCH}}" \ -var="ec2_instance_type=${{ matrix.arrays.instanceType }}" \ -var="user=${{ matrix.arrays.username }}" \ -var="ami=${{ matrix.arrays.ami }}" \