Skip to content

Commit e164ab4

Browse files
okankoAMZTravisStark
authored andcommitted
added commit_date
1 parent f7ef67a commit e164ab4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/integration-test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,12 @@ jobs:
10061006
path: go.mod
10071007
key: performance-tracking-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }}
10081008

1009+
- name: Set Commit Date to Terraform Variable
1010+
id: set_commit_date
1011+
run: |
1012+
echo "commit_date=$(git show -s --format=%ci ${{ github.sha }})" >> $GITHUB_OUTPUT
1013+
1014+
10091015
- name: Verify Terraform version
10101016
if: steps.performance-tracking.outputs.cache-hit != 'true'
10111017
run: terraform --version
@@ -1023,6 +1029,7 @@ jobs:
10231029
if terraform apply --auto-approve \
10241030
-var="ssh_key_value=${PRIVATE_KEY}" \
10251031
-var="cwa_github_sha=${GITHUB_SHA}" \
1032+
-var="cwa_github_sha_date=${{steps.set_commit_date.outputs.commit_date}}" \
10261033
-var="ami=${{ matrix.arrays.ami }}" \
10271034
-var="arc=${{ matrix.arrays.arc }}" \
10281035
-var="s3_bucket=${S3_INTEGRATION_BUCKET}" \

0 commit comments

Comments
 (0)