-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
82 lines (74 loc) · 1.84 KB
/
.gitlab-ci.yml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
workflow:
rules: # Do not create pipelines for tag updates
- if: $CI_COMMIT_TAG
when: never
- when: always
include: ".pipeline-common.yml"
stages:
- child-pipelines
- scheduled
aea:
stage: child-pipelines
trigger:
include:
- local: .pipeline-aea.yml
strategy: depend
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
hpc:
stage: child-pipelines
trigger:
include:
- local: .pipeline-hpc.yml
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
win:
stage: child-pipelines
trigger:
include:
- local: .pipeline-win.yml
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
mac:
stage: child-pipelines
trigger:
include:
- local: .pipeline-mac.yml
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
deploy:
stage: child-pipelines
trigger:
include:
- local: .pipeline-deploy.yml
strategy: depend
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- if: $CI_COMMIT_BRANCH == "main"
conda-build-matrix:
extends:
- .linux_before_script
timeout: 4h
stage: scheduled
variables:
GIT_STRATEGY: clone
dependencies: []
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
script:
# Set the LANL internal proxies
- export ALL_PROXY="proxyout.lanl.gov:8080"
- export HTTP_PROXY="http://$ALL_PROXY"
- export HTTPS_PROXY=$HTTP_PROXY
# Override default permissions. Set group to rx with no write permissions.
- umask 0022
- mkdir ${conda_artifacts_directory}
- pytest recipe-matrix/matrix.py -v --no-showlocals --tb=short
- conda build purge --croot ${croot}/recipe-matrix
tags:
- shell-aea