diff options
Diffstat (limited to 'share/spack/gitlab/cloud_pipelines/stacks/build_systems/spack.yaml')
-rw-r--r-- | share/spack/gitlab/cloud_pipelines/stacks/build_systems/spack.yaml | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/build_systems/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/build_systems/spack.yaml index 5a742718d4..a633d10099 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/build_systems/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/build_systems/spack.yaml @@ -29,7 +29,7 @@ spack: - - $default_specs - - $arch - mirrors: { "mirror": "s3://spack-binaries/build_systems" } + mirrors: { "mirror": "s3://spack-binaries/develop/build_systems" } gitlab-ci: script: @@ -38,6 +38,8 @@ spack: - cd ${SPACK_CONCRETE_ENV_DIR} - spack env activate --without-view . - spack config add "config:install_tree:projections:${SPACK_JOB_SPEC_PKG_NAME}:'morepadding/{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}'" + - if [[ -r /mnt/key/intermediate_ci_signing_key.gpg ]]; then spack gpg trust /mnt/key/intermediate_ci_signing_key.gpg; fi + - if [[ -r /mnt/key/spack_public_key.gpg ]]; then spack gpg trust /mnt/key/spack_public_key.gpg; fi - spack -d ci rebuild image: @@ -48,7 +50,7 @@ spack: - match: - cmake runner-attributes: - tags: [ "spack", "public", "large", "x86_64"] + tags: [ "spack", "large", "x86_64"] variables: CI_JOB_SIZE: large KUBERNETES_CPU_REQUEST: 8000m @@ -61,7 +63,7 @@ spack: - openjpeg - sqlite runner-attributes: - tags: [ "spack", "public", "medium", "x86_64" ] + tags: [ "spack", "medium", "x86_64" ] variables: CI_JOB_SIZE: "medium" KUBERNETES_CPU_REQUEST: "2000m" @@ -85,7 +87,7 @@ spack: - xz - zlib runner-attributes: - tags: [ "spack", "public", "medium", "x86_64" ] + tags: [ "spack", "medium", "x86_64" ] variables: CI_JOB_SIZE: "small" KUBERNETES_CPU_REQUEST: "500m" @@ -94,18 +96,27 @@ spack: - match: - 'os=ubuntu18.04' runner-attributes: - tags: ["spack", "public", "x86_64"] + tags: ["spack", "x86_64"] variables: CI_JOB_SIZE: "default" + broken-specs-url: "s3://spack-binaries/broken-specs" - broken-specs-url: "s3://spack-binaries-develop/broken-specs" service-job-attributes: before_script: - . "./share/spack/setup-env.sh" - spack --version image: { "name": "ghcr.io/spack/e4s-ubuntu-18.04:v2021-10-18", "entrypoint": [""] } tags: ["spack", "public", "x86_64"] + + signing-job-attributes: + image: { "name": "ghcr.io/spack/notary:latest", "entrypoint": [""] } + tags: ["spack", "aws"] + script: + - aws s3 sync --exclude "*" --include "*spec.json*" ${SPACK_REMOTE_MIRROR_OVERRIDE}/build_cache /tmp + - /sign.sh + - aws s3 sync --exclude "*" --include "*spec.json.sig*" /tmp ${SPACK_REMOTE_MIRROR_OVERRIDE}/build_cache + cdash: build-group: Build tests for different build systems url: https://cdash.spack.io |