Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ variables:
# We only do one generation per stage because we found conflicts otherwise
#[one-generate-per-stage--]
stages:
- get-spack
- first
- generate-quartz
- generate-lassen
- build
- rm-spack
- last
#[--one-generate-per-stage]

.on-quartz:
Expand All @@ -34,18 +34,28 @@ stages:
#[get-spack--]
get-spack:
extends: [.on-quartz]
stage: get-spack
stage: first
script:
- scripts/get-spack
#[--get-spack]

#[rm-spack--]
rm-spack:
extends: [.on-quartz]
stage: rm-spack
stage: last
script:
- scripts/remove-spack
#[--rm-spack]

# Ugly hack to allow someone else to write in the install dir.
# The issue is that .spack-db/index.json and ohers have permissions restricted
# to the owner.
fix-permissions:
extends: [.on-quartz]
stage: last
script:
- chmod -R g+rwX /usr/workspace/radiuss/install/radiuss-stack/spack_path_placeholder/spack_path_placeholder/spack_path_placeholder/spack_path_pla/.spack-db
when: always

include:
- .gitlab/generate.yml