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:
Scott Wittenburg 2021-02-23 19:19:06 -07:00 committed by GitHub
parent a7ddaa67de
commit ee5992783c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -866,7 +866,8 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file, prune_dag=False,
'retry': { 'retry': {
'max': 2, 'max': 2,
'when': JOB_RETRY_CONDITIONS, 'when': JOB_RETRY_CONDITIONS,
} },
'interruptible': True
} }
length_needs = len(job_dependencies) length_needs = len(job_dependencies)

View File

@ -7,17 +7,17 @@ stages: [generate, build]
- spack --version - spack --version
- cd share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s - cd share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s
- spack env activate --without-view . - 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" --output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/e4s_pipeline.yml"
artifacts: artifacts:
paths: paths:
- "${CI_PROJECT_DIR}/jobs_scratch_dir/e4s_pipeline.yml" - "${CI_PROJECT_DIR}/jobs_scratch_dir/e4s_pipeline.yml"
tags: ["spack", "public", "medium"] tags: ["spack", "public", "medium"]
interruptible: true
e4s-pr-generate: e4s-pr-generate:
only: only:
- /^github\/pr[\d]+_.*$/ - /^github\/pr[\d]+_.*$/
- move-pr-stack-into-spack
extends: .generate extends: .generate
before_script: before_script:
- export SPACK_PR_BRANCH=${CI_COMMIT_REF_NAME} - export SPACK_PR_BRANCH=${CI_COMMIT_REF_NAME}
@ -33,7 +33,6 @@ e4s-develop-generate:
e4s-pr-build: e4s-pr-build:
only: only:
- /^github\/pr[\d]+_.*$/ - /^github\/pr[\d]+_.*$/
- move-pr-stack-into-spack
stage: build stage: build
trigger: trigger:
include: include:

View File

@ -88,10 +88,10 @@ spack:
- raja - raja
- rempi - rempi
- scr - scr
- slate ^openblas@0.3.5 threads=openmp ^cuda@10.2.89 - slate ^openblas@0.3.6 threads=openmp ^cuda@10.2.89
- slepc - slepc
- stc - stc
- strumpack ~slate - strumpack ~slate ^openblas@0.3.6 threads=openmp
- sundials - sundials
- superlu - superlu
- superlu-dist - superlu-dist