Skip to content
Snippets Groups Projects
Commit 40328c9e authored by jmcarcell's avatar jmcarcell
Browse files

Don't hardcode the date anymore

parent 6d2407ce
No related branches found
No related tags found
No related merge requests found
Pipeline #6556325 failed
......@@ -162,8 +162,7 @@ test-deploy:
spack env activate .
echo $(TZ=Europe/Zurich date -I) > .date
# Fix date if needed by commenting and uncommenting
# spack config add "config:install_tree:root: /cvmfs/sw.hsf.org/key4hep/releases/$(cat .date)"
spack config add "config:install_tree:root: /cvmfs/sw.hsf.org/key4hep/releases/2023-11-23"
spack config add "config:install_tree:root: /cvmfs/sw.hsf.org/key4hep/releases/$(cat .date)"
cat spack.yaml
spack concretize
......@@ -177,8 +176,7 @@ test-deploy:
spack env activate .
echo $(TZ=Europe/Zurich date -I) > .date
# Fix date if needed by commenting and uncommenting
# spack config add "config:install_tree:root: /cvmfs/sw-nightlies.hsf.org/key4hep/releases/$(cat .date)"
spack config add "config:install_tree:root: /cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-11-22"
spack config add "config:install_tree:root: /cvmfs/sw-nightlies.hsf.org/key4hep/releases/$(cat .date)"
if [ $(echo "$NIGHTLY_FROM_SCRATCH" | tr '[:upper:]' '[:lower:]') = "no" ]; then
rel=$(find /cvmfs/sw-nightlies.hsf.org/key4hep/releases/ -maxdepth 3 -type f -wholename "*$OS*/.scratch" | sort -r | head -1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment