-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Conversation
@@ -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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
eee113f
to
3dfb2d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @GabyCT !
d42de85
to
eeb467b
Compare
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
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.