Skip to content

Commit

Permalink
rev2
Browse files Browse the repository at this point in the history
  • Loading branch information
mitali-salvi committed Dec 2, 2024
1 parent 72a9f48 commit 14f821e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/eks-add-on-integ-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,12 @@ jobs:
command: |
addon_name="${{ github.event.inputs.addon_name || 'amazon-cloudwatch-observability' }}"
addon_version="${{ github.event.inputs.addon_version || 'latest' }}"
run_in_beta="${{ github.event.inputs.run_in_beta == true || github.event.inputs.run_in_beta == 'true' || false }}"
run_in_beta="${{ github.event.inputs.run_in_beta || false }}"
if [ "$run_in_beta" == "true" ]; then
run_in_beta=1
else
run_in_beta=0
fi
# If the addon_version is 'latest', get the most recent version of the add-on from AWS
if [ "$addon_version" == "latest" ]; then
Expand All @@ -132,7 +137,12 @@ jobs:
timeout_minutes: 8
retry_wait_seconds: 5
command: |
run_in_beta="${{ github.event.inputs.run_in_beta == true || github.event.inputs.run_in_beta == 'true' || false }}"
run_in_beta="${{ github.event.inputs.run_in_beta || false }}"
if [ "$run_in_beta" == "true" ]; then
run_in_beta=1 # true
else
run_in_beta=0 # false
fi
cd integration-tests/terraform/eks
terraform destroy -var="beta=${{ run_in_beta }}" --auto-approve

0 comments on commit 14f821e

Please sign in to comment.