Skip to content

Commit d55c152

Browse files
committed
Reverted to defining the key store path in builder.
1 parent 64ff5d2 commit d55c152

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stackinator/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def generate(self, recipe):
315315

316316
# generate a mirrors.yaml file if build caches have been configured
317317
if recipe.mirrors:
318-
recipe.mirrors.key_setup(config_path)
318+
recipe.mirrors.key_setup(config_path/'key_store')
319319

320320
self._logger.debug(f"Generating the spack mirrors.yaml in '{config_path}'")
321321
recipe.mirrors.create_spack_mirrors_yaml(config_path/'mirrors.yaml')

stackinator/mirror.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def create_bootstrap_configs(self, config_root: pathlib.Path):
145145
with (config_root/'bootstrap.yaml').open('w') as file:
146146
yaml.dump(bootstrap_yaml, file, default_flow_style=False)
147147

148-
def key_setup(self, config_root: pathlib.Path):
148+
def key_setup(self, key_store: pathlib.Path):
149149
"""Validate mirror keys, relocate to key_store, and update mirror config with new key paths."""
150150

151151
for mirror in self.mirrors:

0 commit comments

Comments
 (0)