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

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

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

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
@@ -11,7 +11,7 @@ USER root
# 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.

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