-
Notifications
You must be signed in to change notification settings - Fork 17
/
.gitlab-ci.yml
52 lines (50 loc) · 1.42 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
# NOTE
#
# For the includes to be executed in the correct order when they
# have dependencies there must be one include statement. The 'needs'
# keyword does not otherwise resolve a jobs in a different include
# file if it is in a different include block.
# I.e. I cannot do this:
#
# include:
# - local: .gitlab/infrastructure.yml
#
# include:
# - local: .gitlab/stage_clear_cache.yml
#
# Particularly if stage_clear_cache.yml contains jobs with the needs
# keyword that names a job in infrastructure.yml
include:
- local: .gitlab/stage_pipeline_serialize.yml
- local: .gitlab/infrastructure.yml
- local: .gitlab/stage_clear_cache.yml
- local: .gitlab/stage_build_base.yml
- local: .gitlab/stage_provision_client.yml
- local: .gitlab/stage_image_check.yml
- local: .gitlab/stage_build.yml
- local: .gitlab/end_to_end.yml
stages:
- pipeline-serialize
- ci-infrastructure-check
- trigger-infrastructure
- signal
- clear-docker-cache
- build-base
- provision-client
- image-check
- build
- end-to-end-setup-arango
- end-to-end-setup
- end-to-end-test
- log
- deploy-pypi-package
# WARNING
#
# Do not put if else statements without if and else, gitlab yaml does not like
# this kind of scripting
#
# [ -f file_path ] && ok do this....
variables:
HARBOR_USER: 'robot$$datafed+harbor_datafed_gitlab_ci_registry_2'
REGISTRY: 'camden.ornl.gov'
DATAFED_DEPENDENCIES_INSTALL_PATH: "/shared/install"