-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
66 lines (61 loc) · 1.6 KB
/
.gitlab-ci.yml
File metadata and controls
66 lines (61 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
workflow:
auto_cancel:
on_new_commit: interruptible
rules:
- if: $CI_MERGE_REQUEST_ID
when: never
- when: always
variables:
GIT_SUBMODULE_STRATEGY: recursive
ALLOC_NAME: ${CI_PROJECT_NAME}_ci_${CI_PIPELINE_ID}
BUILD_ROOT: ${CI_PROJECT_DIR}
SCRIPT_DIR: "scripts"
ATS_FILE: "tests/integration.ats"
PERF_ATS_FILE: "tests/run_perf.py"
SPHERAL_MODULE: "Spheral"
SPACK_PKG_NAME: spheral
DEV_PKG_SPEC: "spheral@develop+mpi~caliper~network%gcc"
.spheral_rev_str:
before_script:
- SPHERAL_REV=$(git rev-list --count HEAD)
- SPHERAL_REV_STR="$SPHERAL_REV"
stages:
- init
- update_tpls
- generate_buildcache
- install_production
- update_permissions
- tpls
- build_and_install
- perf_install
- run_ats
- run_perf
- cleanup
- deploy
include:
- project: lc-templates/id_tokens
file: id_tokens.yml
- local: .gitlab/os.yml
- local: .gitlab/machines.yml
- local: .gitlab/scripts.yml
- local: .gitlab/specs.yml
- local: .gitlab/performance.yml
- local: .gitlab/jobs-mpi.yml
rules:
- if: '$CI_PIPELINE_SOURCE == "scheduled" || $CI_COMMIT_TAG'
when: never
- if: '$CI_PIPELINE_SOURCE == "push"'
when: always
- local: .gitlab/jobs-seq.yml
rules:
- if: '$CI_PIPELINE_SOURCE == "scheduled" || $CI_COMMIT_TAG'
when: never
- if: '$CI_PIPELINE_SOURCE == "push"'
when: always
- local: .gitlab/jobs-prod.yml
rules:
- if: '$CI_PIPELINE_SOURCE == "scheduled"'
when: never
- if: '$CI_PIPELINE_SOURCE == "push" || $CI_COMMIT_TAG'
when: always
- local: .gitlab/pages.yml