Update command to setup tutorial (#24488)

This commit is contained in:
Massimiliano Culpo 2021-06-24 02:19:20 +02:00 committed by GitHub
parent db403391c8
commit 4985215072
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@
# tutorial configuration parameters
tutorial_branch = "releases/v0.16"
tutorial_mirror = "s3://spack-binaries-prs/tutorial/ecp21/mirror"
tutorial_mirror = "file:///mirror"
tutorial_key = os.path.join(spack.paths.share_path, "keys", "tutorial.pub")
# configs to remove
@ -78,7 +78,7 @@ def tutorial(parser, args):
# Note that checkout MUST be last. It changes Spack under our feet.
# If you don't put this last, you'll get import errors for the code
# that follows (exacerbated by the various lazy singletons we use)
tty.msg("Ensuring we're on the releases/v0.15 branch")
tty.msg("Ensuring we're on the releases/v0.16 branch")
git = which("git", required=True)
with working_dir(spack.paths.prefix):
git("checkout", tutorial_branch)