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
This commit is contained in:
parent
a7ddaa67de
commit
ee5992783c
3 changed files with 6 additions and 6 deletions
|
@ -866,7 +866,8 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file, prune_dag=False,
|
|||
'retry': {
|
||||
'max': 2,
|
||||
'when': JOB_RETRY_CONDITIONS,
|
||||
}
|
||||
},
|
||||
'interruptible': True
|
||||
}
|
||||
|
||||
length_needs = len(job_dependencies)
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue