Skip to content

Lanl/mirrors#286

Draft
Paul-Ferrell wants to merge 16 commits intoeth-cscs:mainfrom
hpc:lanl/mirrors
Draft

Lanl/mirrors#286
Paul-Ferrell wants to merge 16 commits intoeth-cscs:mainfrom
hpc:lanl/mirrors

Conversation

@Paul-Ferrell
Copy link

@Paul-Ferrell Paul-Ferrell commented Mar 10, 2026

We've added a new config file at the system level - mirrors.yaml It allows you to configure regular mirrors, build caches (including public keys), and bootstrap mirrors.

  • We've replaced the mirror attribute of recipe object with a mirrors attribute that works quite differently.
  • The regular (which includes build caches) mirrors are just configured as a Spack mirrors.yaml
  • The bootstrap mirrors are more complicated, they'll need a bootstrap.yaml and a metadata directory each.
  • Keys can be given as a path (relative to the system dir) or as a base64 encoded key.
    • In either case, key will be added to the Stackinator environment and added via the Makefile
  • Passing the 'cache' on the command line is still allowed
  • The mirror config option may still be allowed. Still looking at it.

@Paul-Ferrell Paul-Ferrell reopened this Mar 10, 2026
@Paul-Ferrell Paul-Ferrell changed the base branch from master to main March 10, 2026 17:07
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