Fix syntax to set default target in aws-pcluster pipelines (#38048)

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Stephen Sachs
2023-06-24 15:25:19 +02:00
committed by GitHub
parent 7b977dc103
commit 0c6d0541f0
5 changed files with 5 additions and 5 deletions

View File

@@ -744,7 +744,7 @@ deprecated-ci-build:
- sed -i.bkp s/"spack install gcc"/"spack install --cache-only --reuse gcc"/ postinstall.sh
- diff postinstall.sh postinstall.sh.bkp || echo Done
- /bin/bash postinstall.sh -fg
- spack config --scope site add "packages:all:target:\"${SPACK_TARGET_ARCH}\""
- spack config --scope site add "packages:all:target:[${SPACK_TARGET_ARCH}]"
after_script:
- - mv "${CI_PROJECT_DIR}/postinstall.sh" "${CI_PROJECT_DIR}/jobs_scratch_dir/"

View File

@@ -48,7 +48,7 @@ spack:
- spack gpg trust /bootstrap/public-key
- diff /bootstrap/postinstall.sh /bootstrap/postinstall.sh.bkp || echo Done
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
- spack config --scope site add "packages:all:target:[${SPACK_TARGET_ARCH}]"
- signing-job:
before_script:
# Do not distribute Intel & ARM binaries

View File

@@ -50,7 +50,7 @@ spack:
- spack gpg trust /bootstrap/public-key
- diff /bootstrap/postinstall.sh /bootstrap/postinstall.sh.bkp || echo Done
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
- spack config --scope site add "packages:all:target:[${SPACK_TARGET_ARCH}]"
- signing-job:
before_script:
# Do not distribute Intel & ARM binaries

View File

@@ -50,7 +50,7 @@ spack:
- spack gpg trust /bootstrap/public-key
- diff /bootstrap/postinstall.sh /bootstrap/postinstall.sh.bkp || echo Done
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
- spack config --scope site add "packages:all:target:[${SPACK_TARGET_ARCH}]"
- signing-job:
before_script:
# Do not distribute Intel & ARM binaries

View File

@@ -48,7 +48,7 @@ spack:
- spack gpg trust /bootstrap/public-key
- diff /bootstrap/postinstall.sh /bootstrap/postinstall.sh.bkp || echo Done
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
- spack config --scope site add "packages:all:target:[${SPACK_TARGET_ARCH}]"
- signing-job:
before_script:
# Do not distribute Intel & ARM binaries