Skip to content
New issue

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

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

Already on GitHub? # to your account

e2e: fix junit token warnings for sonobuoy #1453

Merged
merged 3 commits into from
Mar 20, 2023
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
8 changes: 7 additions & 1 deletion .github/actions/e2e_sonobuoy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ runs:
name: "sonobuoy_logs_${{ inputs.cloudProvider}}.tar.gz"
path: "*_sonobuoy_*.tar.gz"

# Only works on "sonobuoy full" tests (e2e plugin)
- name: Extract test results
if: (!env.ACT) && contains(inputs.sonobuoyTestSuiteCmd, '--plugin e2e')
shell: bash
run: tar -xf *_sonobuoy_*.tar.gz

- name: Publish test results
if: (!env.ACT)
if: (!env.ACT) && contains(inputs.sonobuoyTestSuiteCmd, '--plugin e2e')
uses: mikepenz/action-junit-report@4fa23552acda20a6a1d44f16224a90efbeb6c5f1 # v3.7.5
with:
report_paths: "**/junit_01.xml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-test-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
runs-on: ubuntu-22.04
permissions:
id-token: write
checks: write
contents: read
needs: [find-latest-image]
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-test-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ jobs:
runs-on: ${{ inputs.runner }}
permissions:
id-token: write
checks: write
contents: read
needs: [find-latest-image]
if: always() && !cancelled()
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-test-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
runs-on: ubuntu-22.04
permissions:
id-token: write
checks: write
contents: read
needs: [find-latest-image]
steps:
Expand Down