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

gha: Do not fail when collecting artifacts #9845

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

GabyCT
Copy link
Contributor

@GabyCT GabyCT commented Jun 13, 2024

This PR will avoid the failures when collecting artifacts for the gha.
This will ensure that we collect and archive system's data for the
purpose of debugging.

@katacontainersbot katacontainersbot added the size/tiny Smallest and simplest task label Jun 13, 2024
@@ -86,7 +86,7 @@ jobs:
run: bash tests/integration/kubernetes/gha-run.sh run-tests

- name: Collect artifacts ${{ matrix.vmm }}
run: bash tests/integration/kubernetes/gha-run.sh collect-artifacts
run: bash tests/integration/kubernetes/gha-run.sh collect-artifacts || true
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @GabyCT ! Thanks for promptly working on this one!

One question that I have and I forgot to mention on the issue is whether the next step Archive artifacts ${{ matrix.vmm }} is going to fail in case /tmp/artifacts doesn't exist.

ah, also, while here, I think we want to have this step if: always() so it runs in case the test fails.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@wainersm so I added the if always step

Copy link
Contributor

@wainersm wainersm left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @GabyCT !

@GabyCT GabyCT force-pushed the topic/fixartifacts branch 2 times, most recently from d42de85 to eeb467b Compare June 18, 2024 16:04
This PR will avoid the failures when collecting artifacts for the gha.
This will ensure that we collect and archive system's data for the
purpose of debugging.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
Copy link
Member

@beraldoleal beraldoleal left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@GabyCT GabyCT merged commit 9320c2e into kata-containers:main Jun 20, 2024
296 of 302 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/tiny Smallest and simplest task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants