Skip to content

Replace extract-image-names.sh with JS script#518

Merged
danielhollas merged 23 commits intomainfrom
update-bake-action
Mar 1, 2025
Merged

Replace extract-image-names.sh with JS script#518
danielhollas merged 23 commits intomainfrom
update-bake-action

Conversation

@danielhollas
Copy link
Contributor

@danielhollas danielhollas commented Feb 4, 2025

extract-image-names.sh is one of the uglier parts of our Docker build CI workflow,
in which we use an inscrutable jq script to parse a JSON string that holds metadata output from bake-action.

Here we substitute it with hopefully more readable javascript, as proposed in docker/bake-action#239 (comment)

Unfortunately does not fully solve #493, see my comment in the upstream issue for details:
docker/bake-action#239 (comment)

See also corresponding aiida-core issue aiidateam/aiida-core#6582. I'll submit a PR there as well once this is merged.

@danielhollas danielhollas marked this pull request as ready for review February 4, 2025 17:42
# rsync: needed to support the new AiiDA backup command
# povray: rendering engine used in aiidalab-widgets-base
# bc: needed to compute the resources for computer setup
ENV EXTRA_APT_PACKAGES "curl povray rsync build-essential bc"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is just unrelated cleanup to get rid of Docker deprecation warnings.

@danielhollas
Copy link
Contributor Author

I am going to go ahead and merge this since it is a clear improvement over the previous solution. Happy to take a post-merge review as a follow-up.

@danielhollas danielhollas merged commit 0d08316 into main Mar 1, 2025
16 checks passed
@danielhollas danielhollas deleted the update-bake-action branch March 1, 2025 21:37
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.

1 participant