Skip to content

Commit

Permalink
Automated sync with upstream - last commit 4720a26 - run #21.1 (#89)
Browse files Browse the repository at this point in the history
* Reduce Name Of EC2LinuxIntegrationTest To Show More Test Info In GHA (#666)

* nick-invision/retry@v2 Became nick-fields/retry@v2 Fix ECSEC2LaunchDa… (#669)

Co-authored-by: Seth L <[email protected]>
  • Loading branch information
github-actions[bot] and sethAmazon authored Jan 23, 2023
1 parent 92f095d commit 9e2870c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/integrationTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}" \
Expand Down Expand Up @@ -508,7 +509,7 @@ jobs:
EC2LinuxIntegrationTest:
needs: [MakeBinary, StartLocalStack, GenerateTestMatrix]
name: 'EC2LinuxIntegrationTest'
name: 'Test'
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -548,14 +549,15 @@ 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
terraform init
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 }}" \
Expand Down Expand Up @@ -717,7 +719,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
Expand All @@ -738,7 +740,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
Expand Down

0 comments on commit 9e2870c

Please sign in to comment.