Skip to content

Commit 249d1e1

Browse files
committed
use build release ID inplace of github sha
1 parent 2967523 commit 249d1e1

File tree

4 files changed

+1586
-382
lines changed

4 files changed

+1586
-382
lines changed

.github/workflows/ec2-integration-test.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
on:
1212
workflow_call:
1313
inputs:
14-
github_sha:
14+
build_id:
1515
required: true
1616
type: string
1717
test_repo_name:
@@ -40,12 +40,6 @@ on:
4040
type: string
4141
s3_integration_bucket:
4242
type: string
43-
agent_s3_path_linux:
44-
type: string
45-
agent_s3_path_windows:
46-
type: string
47-
agent_s3_path_mac:
48-
type: string
4943

5044
jobs:
5145
EC2IntegrationTest:
@@ -98,15 +92,12 @@ jobs:
9892
9993
terraform init
10094
if terraform apply --auto-approve \
101-
-var="agent_s3_path_linux=${{ inputs.agent_s3_path_linux }}" \
102-
-var="agent_s3_path_mac=${{ inputs.agent_s3_path_mac }}" \
103-
-var="agent_s3_path_windows=${{ inputs.agent_s3_path_windows }}" \
10495
-var="agent_start=${{ matrix.arrays.agentStartCommand }}" \
10596
-var="ami=${{ matrix.arrays.ami }}" \
10697
-var="arc=${{ matrix.arrays.arc }}" \
10798
-var="binary_name=${{ matrix.arrays.binaryName }}" \
10899
-var="ca_cert_path=${{ matrix.arrays.caCertPath }}" \
109-
-var="cwa_github_sha=${{inputs.github_sha}}" \
100+
-var="cwa_github_sha=${{inputs.build_id}}" \
110101
-var="ec2_instance_type=${{ matrix.arrays.instanceType }}" \
111102
-var="excluded_tests='${{ matrix.arrays.excludedTests }}'" \
112103
-var="github_test_repo=${{ inputs.test_repo_url }}" \

0 commit comments

Comments
 (0)