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

Added set of all oci bundles #107

Merged
merged 2 commits into from
Sep 18, 2023
Merged

Added set of all oci bundles #107

merged 2 commits into from
Sep 18, 2023

Conversation

airportyh
Copy link
Collaborator

@airportyh airportyh commented Sep 18, 2023

Why

The nixmodules_oci.sh script builds an OCI for every historical module (there are ~110 currently). This is very time and disk space consuming. We can check with the docker repository to be able to only build the ones that do not already exist.

What changed

  1. Added a mapping module ID -> OCI derivation for every historical module ID
  2. Added a way to get all historical modules for scripting purposes

Test plan

  1. nix eval .#all-modules --json |jq
  2. nix build .#'all-phony-oci-bundles."nodejs-18:v10-20230914-1095880"'

@airportyh airportyh requested a review from a team as a code owner September 18, 2023 20:25
@airportyh airportyh requested review from masad-frost and ryantm and removed request for a team September 18, 2023 20:25
Copy link
Collaborator

@ryantm ryantm left a comment

Choose a reason for hiding this comment

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

Looks good and it works locally for me.

@airportyh airportyh merged commit cadf45d into main Sep 18, 2023
@airportyh airportyh deleted the th-all-oci-bundles branch September 18, 2023 21:53
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