Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass flaky test reporter secret to reusable workflow #13178

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
skip-windows-smoke-tests:
type: boolean
required: false
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY:
required: false

permissions:
contents: read
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-daily-no-build-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,22 @@ jobs:
uses: ./.github/workflows/build-common.yml
with:
no-build-cache: true
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}

test-latest-deps:
uses: ./.github/workflows/reusable-test-latest-deps.yml
with:
no-build-cache: true
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}

test-indy:
uses: ./.github/workflows/reusable-test-indy.yml
with:
no-build-cache: true
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}

# muzzle is not included here because it doesn't use gradle cache anyway and so is already covered
# by the normal daily build
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ permissions:
jobs:
common:
uses: ./.github/workflows/build-common.yml
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}

test-latest-deps:
uses: ./.github/workflows/reusable-test-latest-deps.yml
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}

test-indy:
uses: ./.github/workflows/reusable-test-indy.yml
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}

muzzle:
uses: ./.github/workflows/reusable-muzzle.yml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ jobs:

common:
uses: ./.github/workflows/build-common.yml
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}

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

muzzle:
# release branches are excluded
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/reusable-test-indy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
max-test-retries:
type: string
required: false
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY:
required: false

permissions:
contents: read
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/reusable-test-latest-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
max-test-retries:
type: string
required: false
secrets:
FLAKY_TEST_REPORTER_ACCESS_KEY:
required: false

permissions:
contents: read
Expand Down