Skip to content

Commit

Permalink
added commit_date
Browse files Browse the repository at this point in the history
  • Loading branch information
okankoAMZ authored and Travis Stark committed Dec 10, 2024
1 parent a8ef6f7 commit c13f71a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,12 @@ jobs:
path: go.mod
key: performance-tracking-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }}

- name: Set Commit Date to Terraform Variable
id: set_commit_date
run: |
echo "commit_date=$(git show -s --format=%ci ${{ github.sha }})" >> $GITHUB_OUTPUT

- name: Verify Terraform version
if: steps.performance-tracking.outputs.cache-hit != 'true'
run: terraform --version
Expand All @@ -1023,6 +1029,7 @@ jobs:
if terraform apply --auto-approve \
-var="ssh_key_value=${PRIVATE_KEY}" \
-var="cwa_github_sha=${GITHUB_SHA}" \
-var="cwa_github_sha_date=${{steps.set_commit_date.outputs.commit_date}}" \
-var="ami=${{ matrix.arrays.ami }}" \
-var="arc=${{ matrix.arrays.arc }}" \
-var="s3_bucket=${S3_INTEGRATION_BUCKET}" \
Expand Down

0 comments on commit c13f71a

Please sign in to comment.