-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
118 lines (108 loc) · 2.4 KB
/
Copy path.gitlab-ci.yml
File metadata and controls
118 lines (108 loc) · 2.4 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
---
stages:
- lint
- test
- weekly_tests
variables:
EO_CONTAINERS: $REGISTRY_GITLAB/eo-containers
EOREADER_CHANGES: eoreader/**/[^_]*.{py,xml}
include:
- project: 'sertit/groupware'
file: '/ci_templates/lint_3_10.yaml'
- project: 'sertit/groupware'
file: '/ci_templates/pytest.yaml'
.rules_pytest:
rules:
- if: $CI_COMMIT_TAG
when: never
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- $EOREADER_CHANGES
- ci/**/*.{py,xml}
- .gitlab-ci.yml
.pytest_tags:
tags:
- sertit
- linux
- high_memory
pytest:
image: $EO_CONTAINERS:geo_latest
extends:
- .pytest
- .rules_pytest
- .pytest_tags
variables:
CI_EOREADER_USE_S3: "0"
EOREADER_USE_DASK: "1"
PATH_TO_TEST: ci/on_push
COV: eoreader
pytest_s3:
image: $EO_CONTAINERS:geo_latest
extends:
- .pytest
- .rules_pytest
- .pytest_tags
variables:
CI_EOREADER_USE_S3: "1"
EOREADER_USE_DASK: "1"
PATH_TO_TEST: ci/on_push
COV: eoreader
pytest_end_to_end:
image: $EO_CONTAINERS:geo_latest
extends:
- .pytest
- .pytest_tags
variables:
CI_EOREADER_USE_S3: "0"
EOREADER_USE_DASK: "1"
PATH_TO_TEST: ci/weekly
COV: eoreader
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "END_TO_END"'
when: always
- if: $CI_COMMIT_TAG
when: always
pytest_end_to_end_314:
image: $EO_CONTAINERS:geo_314_latest
extends:
- .pytest
- .pytest_tags
variables:
CI_EOREADER_USE_S3: "0"
EOREADER_USE_DASK: "1"
PATH_TO_TEST: ci/weekly
COV: eoreader
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "3.14"'
when: always
pytest_no_dask:
image: $EO_CONTAINERS:geo_latest
extends:
- .pytest
- .pytest_tags
variables:
CI_EOREADER_USE_S3: "0"
EOREADER_USE_DASK: "0"
PATH_TO_TEST: ci/on_push
COV: eoreader
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "NO_DASK"'
when: always
- if: $CI_COMMIT_TAG
when: always
pytest_s3_no_dask:
image: $EO_CONTAINERS:geo_latest
extends:
- .pytest
- .pytest_tags
variables:
CI_EOREADER_USE_S3: "1"
EOREADER_USE_DASK: "0"
PATH_TO_TEST: ci/on_push
COV: eoreader
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "NO_DASK"'
when: always
- if: $CI_COMMIT_TAG
when: always