-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
62 lines (50 loc) · 1.45 KB
/
.gitlab-ci.yml
File metadata and controls
62 lines (50 loc) · 1.45 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
variables:
DEPLOY_ENVIRONMENT: "null"
include:
- project:
nocacuk/BODC/software/gitlab_runners
ref: master
file: v2/python.gitlab-ci.yml
- project:
nocacuk/BODC/software/gitlab_runners
ref: master
file: v2/bodc.gitlab-ci.yml
- project:
nocacuk/BODC/software/gitlab_runners
ref: master
file: v2/semver-tags.gitlab-ci.yml
- project:
nocacuk/BODC/software/gitlab_runners
ref: master
file: v2/cruft.gitlab-ci.yml
# The 4 jobs below are inherited from the base runners, to append a job to any of the stages you can
# add a 'script:' block underneath the 'extends' block, this will run after the inherited job has finished.
# To aid in development, a small summary of the inherited job is included.
# The test commands seen under the testenv section are executed.
test:
extends:
- .python-test
script:
- tox -e py311
image: python:3.11
# The linting commands seen under the testenv:lint section are executed.
lint:
extends:
- .python-lint
image: python:3.11
# 'poetry build' is executed to build wheel and tar file.
build:
extends:
- .python-build
image: python:3.11
# File is uploaded to PyPi for any valid release tag.
upload:
extends:
- .python-upload
image: python:3.11
# Run Cruft to re-align projects to Cookiecutter.
# cruft-template-check:
# extends: .cruft_check_update
# rules:
# - if: '$CI_PIPELINE_SOURCE == "schedule"'
# - if: '$CI_PIPELINE_SOURCE == "web"'