Unverified Commit 9c9b10f1 authored by Zack Galbreath's avatar Zack Galbreath Committed by GitHub

Update Tutorial Container for Spack v0.15.1 (#3)

* Update ci job to match current workflow
* Start with system compiler which actually exists in the image
* Use an earlier version of boost due to adept-utils failure
* Test llvm build, unconstrain boost in env
* Use unambiguous tag for debug runner pod
* llvm needs a larger instance
Co-authored-by: Scott Wittenburg's avatarScott Wittenburg <scott.wittenburg@kitware.com>
parent f67736e3
pipeline-job:
image:
name: spack/ubuntu-bionic
entrypoint: ['']
tags:
- spack-kube
before_script:
- git clone ${SPACK_REPO} --branch ${SPACK_REF}
- . "./spack/share/spack/setup-env.sh"
script:
- spack ci start
--spack-repo ${SPACK_REPO}
--spack-ref ${SPACK_REF}
--downstream-repo "${DOWNSTREAM_CI_REPO}"
--branch-name "${CI_COMMIT_REF_NAME}"
--commit-sha "${CI_COMMIT_SHA}"
after_script:
- rm -rf "./spack"
stages: [generate, build]
generate-pipeline:
stage: generate
before_script:
- git clone ${SPACK_REPO} --branch ${SPACK_REF}
- pushd ./spack && export CURRENT_SPACK_SHA=$(git rev-parse HEAD) && popd
- . "./spack/share/spack/setup-env.sh"
script:
- spack env activate .
- spack -d ci generate
--spack-repo ${SPACK_REPO}
--spack-ref ${CURRENT_SPACK_SHA}
--output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/pipeline.yml"
after_script:
- rm -rf "./spack"
artifacts:
paths:
- "${CI_PROJECT_DIR}/jobs_scratch_dir/pipeline.yml"
image: { "name": "spack/ubuntu-bionic", "entrypoint": [""] }
tags: ["spack-kube", "medium"]
build-jobs:
stage: build
trigger:
include:
- artifact: "jobs_scratch_dir/pipeline.yml"
job: generate-pipeline
strategy: depend
......@@ -19,7 +19,7 @@ spack:
- gcc@8.3.0
- mpileaks
- lmod
- ['%gcc@7.4.0']
- ['%gcc@7.5.0']
- gcc_old_packages:
- zlib%gcc@6.5.0
- clang_packages:
......@@ -42,20 +42,27 @@ spack:
- $gcc_spack_built_packages
mirrors:
cloud_mirror: 's3://spack-tutorial-container/mirror'
cloud_mirror: 's3://spack-tutorial-container/mirror-v0.15.1'
gitlab-ci:
bootstrap:
- name: bootstrapped_compilers
compiler-agnostic: true
mappings:
- match: [trilinos, llvm, gcc]
- match: [llvm]
runner-attributes:
image:
name: spack/ubuntu-bionic
entrypoint: ['']
tags: [spack-kube, r5.2xlarge]
variables: {}
- match: [trilinos, gcc]
runner-attributes:
image:
name: spack/ubuntu-bionic
entrypoint: ['']
tags: [spack-kube, large]
variables: {}
- match: [os=ubuntu18.04]
runner-attributes:
image:
......@@ -71,7 +78,7 @@ spack:
enable-debug-messages: True
cdash:
build-group: Spack Tutorial Container - Jan 2020
build-group: Spack v0.15.1 Tutorial Container
url: https://cdash.spack.io
project: Spack
site: Spack Gitlab Cloud Infrastructure
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment