Skip to content

Commit 16a770d

Browse files
authored
Pass flaky test reporter secret to reusable workflow (#13178)
1 parent 04efce5 commit 16a770d

6 files changed

+25
-0
lines changed

.github/workflows/build-common.yml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ on:
1818
skip-windows-smoke-tests:
1919
type: boolean
2020
required: false
21+
secrets:
22+
FLAKY_TEST_REPORTER_ACCESS_KEY:
23+
required: false
2124

2225
permissions:
2326
contents: read

.github/workflows/build-daily-no-build-cache.yml

+6
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,22 @@ jobs:
1414
uses: ./.github/workflows/build-common.yml
1515
with:
1616
no-build-cache: true
17+
secrets:
18+
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
1719

1820
test-latest-deps:
1921
uses: ./.github/workflows/reusable-test-latest-deps.yml
2022
with:
2123
no-build-cache: true
24+
secrets:
25+
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
2226

2327
test-indy:
2428
uses: ./.github/workflows/reusable-test-indy.yml
2529
with:
2630
no-build-cache: true
31+
secrets:
32+
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
2733

2834
# muzzle is not included here because it doesn't use gradle cache anyway and so is already covered
2935
# by the normal daily build

.github/workflows/build-daily.yml

+6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@ permissions:
1212
jobs:
1313
common:
1414
uses: ./.github/workflows/build-common.yml
15+
secrets:
16+
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
1517

1618
test-latest-deps:
1719
uses: ./.github/workflows/reusable-test-latest-deps.yml
20+
secrets:
21+
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
1822

1923
test-indy:
2024
uses: ./.github/workflows/reusable-test-indy.yml
25+
secrets:
26+
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
2127

2228
muzzle:
2329
uses: ./.github/workflows/reusable-muzzle.yml

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@ jobs:
2121

2222
common:
2323
uses: ./.github/workflows/build-common.yml
24+
secrets:
25+
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
2426

2527
test-latest-deps:
2628
# release branches are excluded
2729
# because any time a new library version is released to maven central it can fail
2830
# which requires unnecessary release branch maintenance, especially for patches
2931
if: "!startsWith(github.ref_name, 'release/')"
3032
uses: ./.github/workflows/reusable-test-latest-deps.yml
33+
secrets:
34+
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
3135

3236
muzzle:
3337
# release branches are excluded

.github/workflows/reusable-test-indy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
max-test-retries:
1313
type: string
1414
required: false
15+
secrets:
16+
FLAKY_TEST_REPORTER_ACCESS_KEY:
17+
required: false
1518

1619
permissions:
1720
contents: read

.github/workflows/reusable-test-latest-deps.yml

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
max-test-retries:
1313
type: string
1414
required: false
15+
secrets:
16+
FLAKY_TEST_REPORTER_ACCESS_KEY:
17+
required: false
1518

1619
permissions:
1720
contents: read

0 commit comments

Comments
 (0)