-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
60 lines (55 loc) · 1.5 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
include:
- project: nse/ci
file:
- /ci/lib/tox-docker.yml
- /ci/jobs/check-version.yml
- /ci/jobs/check-packaging.yml
- /ci/jobs/lint.yml
- /ci/jobs/docs.yml
- /ci/jobs/build-package.yml
- /ci/jobs/publish-package.yml
- /ci/jobs/publish-docs.yml
- /ci/jobs/tag.yml
- project: neuromath/ci
file:
- /ci/jobs/auto-release.yml
- /ci/jobs/check-merge-request-title.yml
- /ci/lib/pytest-template.yml
- /ci/jobs/py39.yml
- /ci/jobs/py310.yml
- /ci/jobs/py311.yml
- /ci/jobs/py312.yml
- /ci/jobs/min_versions.yml
- /ci/jobs/coverage.yml
.tox-template:
# Using the same image as DVF
image: bbpgitlab.epfl.ch:5050/neuromath/ci/data-validation-framework:latest
.pytest-template:
variables:
KUBERNETES_CPU_LIMIT: 4
KUBERNETES_CPU_REQUEST: 4
KUBERNETES_MEMORY_LIMIT: 4Gi
KUBERNETES_MEMORY_REQUEST: 4Gi
lint:
variables:
KUBERNETES_CPU_LIMIT: 1
KUBERNETES_CPU_REQUEST: 1
KUBERNETES_MEMORY_LIMIT: 4Gi
KUBERNETES_MEMORY_REQUEST: 4Gi
PYLINT_NPROCS: 1
auto-prepare-release:
variables:
VERSION_FILE: src/version.py
trigger_synthdb:
stage: release
needs:
- job: tag
optional: true
variables:
USE_PRE_SYNTHESIS_WORKFLOW: "true"
SKIP_CHECK_VERSION: "true"
trigger:
project: neuromath/synthdb
strategy: depend
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != "schedule"'