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

Bump actions/artifact-upload to v4 #419

Merged
merged 6 commits into from
Dec 16, 2023
Merged

Bump actions/artifact-upload to v4 #419

merged 6 commits into from
Dec 16, 2023

Conversation

danielhollas
Copy link
Contributor

This should significantly speed up artifact upload, see https://github.com/actions/upload-artifact#v4---whats-new

TODO: Probably we should turn off compression, see https://github.com/actions/upload-artifact#altering-compressions-level-speed-v-size

@danielhollas danielhollas marked this pull request as draft December 15, 2023 01:18
@unkcpz
Copy link
Member

unkcpz commented Dec 15, 2023

Thanks! I just noticed the update. It makes upload much faster! The test failed because of Marnik's machine was shutdown, now should build and test on arm64.

Probably we should turn off compression

How much time it will save without compress?

@unkcpz unkcpz mentioned this pull request Dec 15, 2023
@danielhollas danielhollas changed the title WIP: Bump actions/artifact-upload to v4 Bump actions/artifact-upload to v4 Dec 16, 2023
@danielhollas danielhollas marked this pull request as ready for review December 16, 2023 06:30
@danielhollas danielhollas merged commit ca509e1 into main Dec 16, 2023
3 checks passed
@danielhollas danielhollas deleted the bump-artifact-upload branch December 16, 2023 06:34
@danielhollas danielhollas requested a review from unkcpz December 16, 2023 06:35
@danielhollas
Copy link
Contributor Author

How much time it will save without compress?

Seems to save a lot. Even the lowest level of compression (lvl 1) is ~20s slower. Note the download-artifact still takes around 1 minute, and there are other extra steps (saving and loading Docker images) that make all this slower.

My apologies, I have by accident pushed some commits on master, so I needed to merge this without approval. Please leave a review if you have any comments and I'll make a new PR.

unkcpz added a commit that referenced this pull request Dec 18, 2023
This is a revert amendment of #419 which merged improperly with test commints.

- The changes should significantly speed up artifact upload, see https://github.com/actions/upload-artifact#v4---whats-new
- Also include the updates of `action/checkout` action to v4
- include fix the python version of running environment to `3.11`.
- include the changes of removing paths change detection in `docker.yml`

---------

Co-authored-by: Daniel Hollas <[email protected]>
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.

2 participants