-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.gitlab-ci.yml
48 lines (42 loc) · 1.37 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
################################################################################
## Copyright 2019-2023 Lawrence Livermore National Security, LLC and other
## DiHydrogen Project Developers. See the top-level LICENSE file for details.
##
## SPDX-License-Identifier: Apache-2.0
################################################################################
include:
- project: 'lc-templates/id_tokens'
file: 'id_tokens.yml'
stages:
- run-all-clusters
# The CI_PIPELINE_SOURCE variable in the cluster-specific pipelines is
# always "parent_pipeline", so I cannot test this there. A "web"
# sourced job can always set "TEST_DISTCONV_BUILD" manually to force
# the "-distconv" jobs to run, so I don't need to handle that here.
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule" || $CI_COMMIT_BRANCH =~ /distconv/
variables:
TEST_DISTCONV_BUILD: "1"
- when: always
corona testing:
stage: run-all-clusters
trigger:
strategy: depend
include: '.gitlab/build-and-test-corona.yml'
forward:
pipeline_variables: true
lassen testing:
stage: run-all-clusters
trigger:
strategy: depend
include: '.gitlab/build-and-test-lassen.yml'
forward:
pipeline_variables: true
tioga testing:
stage: run-all-clusters
trigger:
strategy: depend
include: '.gitlab/build-and-test-tioga.yml'
forward:
pipeline_variables: true