Update command to setup tutorial (#24488)
This commit is contained in:
parent
f1fe03cd59
commit
c699e907fc
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
# tutorial configuration parameters
|
# tutorial configuration parameters
|
||||||
tutorial_branch = "releases/v0.16"
|
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")
|
tutorial_key = os.path.join(spack.paths.share_path, "keys", "tutorial.pub")
|
||||||
|
|
||||||
# configs to remove
|
# configs to remove
|
||||||
|
@ -78,7 +78,7 @@ def tutorial(parser, args):
|
||||||
# Note that checkout MUST be last. It changes Spack under our feet.
|
# 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
|
# 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)
|
# 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)
|
git = which("git", required=True)
|
||||||
with working_dir(spack.paths.prefix):
|
with working_dir(spack.paths.prefix):
|
||||||
git("checkout", tutorial_branch)
|
git("checkout", tutorial_branch)
|
||||||
|
|
Loading…
Reference in a new issue