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

ci(e2e): upload junit results to gh artifacts #9354

Merged
merged 4 commits into from
Feb 23, 2024

Conversation

bartsmykla
Copy link
Contributor

Checklist prior to review

  • Link to relevant issue as well as docs and UI issues --
  • This will not break child repos: it doesn't hardcode values (.e.g "kumahq" as a image registry) and it will work on Windows, system specific functions like syscall.Mkfifo have equivalent implementation on the other OS --
  • Tests (Unit test, E2E tests, manual test on universal and k8s) --
    • Don't forget ci/ labels to run additional/fewer tests
  • Do you need to update UPGRADE.md? --
  • Does it need to be backported according to the backporting policy? (this GH action will add "backport" label based on these file globs, if you want to prevent it from adding the "backport" label use no-backport-autolabel label) --

Changelog: skip

Signed-off-by: Bart Smykla <bartek@smykla.com>
@bartsmykla bartsmykla requested a review from a team as a code owner February 22, 2024 14:00
@bartsmykla bartsmykla requested review from jakubdyszkiewicz and Automaat and removed request for a team February 22, 2024 14:00
@slonka
Copy link
Contributor

slonka commented Feb 22, 2024

Do not merge, does not work yet:

image

Now it works: https://github.com/kumahq/kuma/actions/runs/8010206149?pr=9354

.github/workflows/e2e.yaml Outdated Show resolved Hide resolved
Signed-off-by: slonka <slonka@users.noreply.github.com>
mk/test.mk Outdated Show resolved Hide resolved
Signed-off-by: Bart Smykla <bartek@smykla.com>
.github/workflows/e2e.yaml Outdated Show resolved Hide resolved
.github/workflows/e2e.yaml Outdated Show resolved Hide resolved
Co-authored-by: Krzysztof Słonka <slonka@users.noreply.github.com>
Signed-off-by: Bart Smykla <bartek@smykla.com>
@bartsmykla bartsmykla merged commit d94a686 into kumahq:master Feb 23, 2024
12 checks passed
@bartsmykla bartsmykla deleted the ci/upload-junit-results branch February 23, 2024 12:16
@@ -21,6 +21,7 @@ env:
E2E_PARAM_TARGET: ${{ fromJSON(inputs.matrix).target }}
E2E_PARAM_PARALLELISM: ${{ fromJSON(inputs.matrix).parallelism }}
CI_TOOLS_DIR: /home/runner/work/kuma/kuma/.ci_tools
E2E_RUN_NAME: ${{ fromJSON(inputs.matrix).target }}_${{ fromJSON(inputs.matrix).k8sVersion }}_${{ fromJSON(inputs.matrix).cniNetworkPlugin }}_${{ fromJSON(inputs.matrix).arch }}_${{ fromJSON(inputs.matrix).parallelism }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm this is not very future proof with actions in km. There's likely something better with inputs, the context or something like this no?

name: test_e2e_${{ env.E2E_RUN_NAME }}-${{ (github.event.pull_request.head.sha||github.sha) }}-${{ github.run_id }}
path: |
build/reports/results.xml
build/reports/results.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is likely going to fail on run-type == 'circleci' no?

bartsmykla added a commit to bartsmykla/kuma that referenced this pull request Feb 23, 2024
bartsmykla added a commit to bartsmykla/kuma that referenced this pull request Feb 23, 2024
This reverts commit d94a686.

Signed-off-by: Bart Smykla <bartek@smykla.com>
bartsmykla added a commit that referenced this pull request Feb 23, 2024
This reverts commit d94a686.

Signed-off-by: Bart Smykla <bartek@smykla.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants