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

Udate upload-artifact and download-artifact Github Actions #1522

Closed

Conversation

esseivaju
Copy link
Contributor

This was probably missed during an update, as everywhere else already uses upload-artifact@v4. V3 will be deprecated soon.

@esseivaju esseivaju added the documentation Documentation, examples, tests, and CI label Nov 26, 2024
@esseivaju esseivaju requested a review from sethrj November 26, 2024 17:28
@sethrj
Copy link
Member

sethrj commented Nov 26, 2024

@esseivaju it doesn't work on the docker images because their OS is too old for the Node.js version. I guess v4 didn't work on ROCm in particular and now I've had to disable it. As I said I was going to update those images this week and the docker CI script that corresponds to it.

uses: dawidd6/action-download-artifact@e7466d1a7587ed14867642c2ca74b5bcc1e19a2d # v6
uses: actions/download-artifact@v4
Copy link
Contributor

Choose a reason for hiding this comment

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

The 2 are not quite the same. The former allows to download this artifact in another workflow that is run after the first one.. Do we need that feature?

Copy link
Member

Choose a reason for hiding this comment

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

Yes we do.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

download-artifact@v4 should now support this as well

Copy link
Member

Choose a reason for hiding this comment

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

ooh good to know!

Copy link

Test summary

 3 844 files   5 936 suites   4m 9s ⏱️
 1 597 tests  1 569 ✅ 28 💤 0 ❌
19 790 runs  19 715 ✅ 75 💤 0 ❌

Results for commit 532e8ed.

@esseivaju
Copy link
Contributor Author

@esseivaju it doesn't work on the docker images because their OS is too old for the Node.js version. I guess v4 didn't work on ROCm in particular and now I've had to disable it. As I said I was going to update those images this week and the docker CI script that corresponds to it.

Sure, I guess you can update everything in one go with the new images then.

@esseivaju esseivaju closed this Nov 26, 2024
@sethrj
Copy link
Member

sethrj commented Nov 26, 2024

By the way @esseivaju , all changes to pull_request_completed have to be tested on develop on a personal repo before deploying to celeritas: those changes won't be tested as part of the PR (since it's the PR action on the develop branch that gets triggered), so I'd be happy to have those separate from the CI update.

@esseivaju
Copy link
Contributor Author

@sethrj Sounds good; I'll test the update to pull_request_completed and re-open a new PR later.

@esseivaju esseivaju deleted the fix-upload-artifact-v4 branch November 27, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation, examples, tests, and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants