From ee5992783cbd9d9aecb47dbc6a0fc85b882ad02a Mon Sep 17 00:00:00 2001 From: Scott Wittenburg Date: Tue, 23 Feb 2021 19:19:06 -0700 Subject: Gitlab fix pr workflow (#21786) Fixes for gitlab pipelines * Remove accidentally retained testing branch name * Generate pipeline w/out debug mode * Make jobs interruptible for auto-cancel pending * Work around concretization conflicts --- share/spack/gitlab/cloud_e4s_pipelines/.gitlab-ci.yml | 5 ++--- share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s/spack.yaml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'share') diff --git a/share/spack/gitlab/cloud_e4s_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_e4s_pipelines/.gitlab-ci.yml index 6f26eaf574..346b07ac15 100644 --- a/share/spack/gitlab/cloud_e4s_pipelines/.gitlab-ci.yml +++ b/share/spack/gitlab/cloud_e4s_pipelines/.gitlab-ci.yml @@ -7,17 +7,17 @@ stages: [generate, build] - spack --version - cd share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s - spack env activate --without-view . - - spack -d ci generate --check-index-only + - spack ci generate --check-index-only --output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/e4s_pipeline.yml" artifacts: paths: - "${CI_PROJECT_DIR}/jobs_scratch_dir/e4s_pipeline.yml" tags: ["spack", "public", "medium"] + interruptible: true e4s-pr-generate: only: - /^github\/pr[\d]+_.*$/ - - move-pr-stack-into-spack extends: .generate before_script: - export SPACK_PR_BRANCH=${CI_COMMIT_REF_NAME} @@ -33,7 +33,6 @@ e4s-develop-generate: e4s-pr-build: only: - /^github\/pr[\d]+_.*$/ - - move-pr-stack-into-spack stage: build trigger: include: diff --git a/share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s/spack.yaml b/share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s/spack.yaml index fc5dad423b..d43ed47693 100644 --- a/share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s/spack.yaml +++ b/share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s/spack.yaml @@ -88,10 +88,10 @@ spack: - raja - rempi - scr - - slate ^openblas@0.3.5 threads=openmp ^cuda@10.2.89 + - slate ^openblas@0.3.6 threads=openmp ^cuda@10.2.89 - slepc - stc - - strumpack ~slate + - strumpack ~slate ^openblas@0.3.6 threads=openmp - sundials - superlu - superlu-dist -- cgit v1.2.3-70-g09d2