File tree Expand file tree Collapse file tree 2 files changed +19
-11
lines changed
actions/test-monitor-process-results Expand file tree Collapse file tree 2 files changed +19
-11
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,14 @@ name: Test Monitor - Process Results
2
2
3
3
description : Custom action that's used in multiple Flaky Test Monitor jobs to process test results and upload them to BigQuery
4
4
5
+ inputs :
6
+ service_account :
7
+ description : ' The GCP Service Account'
8
+ required : true
9
+ workload_identity_provider :
10
+ description : ' The GCP Workload Identity Provider'
11
+ required : true
12
+
5
13
runs :
6
14
using : " composite"
7
15
steps :
23
31
id : auth
24
32
uses : google-github-actions/auth@v2
25
33
with :
34
+ service_account : ${{ inputs.service_account }}
26
35
token_format : ' access_token'
27
- workload_identity_provider : ${{ secrets.FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER }}
28
- service_account : ${{ secrets.FLAKY_TEST_SERVICE_ACCOUNT }}
36
+ workload_identity_provider : ${{ inputs.workload_identity_provider }}
29
37
- name : Upload results to BigQuery (skipped tests)
30
38
uses : nick-fields/retry@v2
31
39
with :
Original file line number Diff line number Diff line change 74
74
env :
75
75
TEST_CATEGORY : unit
76
76
uses : ./.github/workflows/actions/test-monitor-process-results
77
- secrets :
78
- FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER : ${{ secrets.FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER }}
79
- FLAKY_TEST_SERVICE_ACCOUNT : ${{ secrets.FLAKY_TEST_SERVICE_ACCOUNT }}
77
+ with :
78
+ service_account : ${{ secrets.FLAKY_TEST_SERVICE_ACCOUNT }}
79
+ workload_identity_provider : ${{ secrets.FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER }}
80
80
81
81
unit-test-modules :
82
82
name : Unit Tests (Modules)
@@ -117,9 +117,9 @@ jobs:
117
117
env :
118
118
TEST_CATEGORY : ${{ matrix.test_category }}
119
119
uses : ./.github/workflows/actions/test-monitor-process-results
120
- secrets :
121
- FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER : ${{ secrets.FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER }}
122
- FLAKY_TEST_SERVICE_ACCOUNT : ${{ secrets.FLAKY_TEST_SERVICE_ACCOUNT }}
120
+ with :
121
+ service_account : ${{ secrets.FLAKY_TEST_SERVICE_ACCOUNT }}
122
+ workload_identity_provider : ${{ secrets.FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER }}
123
123
124
124
integration-test :
125
125
name : Integration Tests
@@ -178,7 +178,7 @@ jobs:
178
178
env :
179
179
TEST_CATEGORY : ${{ matrix.test_category }}
180
180
uses : ./.github/workflows/actions/test-monitor-process-results
181
- secrets :
182
- FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER : ${{ secrets.FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER }}
183
- FLAKY_TEST_SERVICE_ACCOUNT : ${{ secrets.FLAKY_TEST_SERVICE_ACCOUNT }}
181
+ with :
182
+ service_account : ${{ secrets.FLAKY_TEST_SERVICE_ACCOUNT }}
183
+ workload_identity_provider : ${{ secrets.FLAKY_TEST_WORKLOAD_IDENTITY_PROVIDER }}
184
184
You can’t perform that action at this time.
0 commit comments