-
Notifications
You must be signed in to change notification settings - Fork 24
/
.gitlab-ci.yml
56 lines (49 loc) · 986 Bytes
/
.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
---
cache:
paths:
- .cache/pip
- env
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
stages:
- build
- validate
- publish
build:
image: harbor.ptech.lu/gitlab-actions/pyproject-build:release-2022.04.20.01
stage: build
script:
- /run.sh
artifacts:
reports:
dotenv: "${CI_PROJECT_DIR}/job-${CI_JOB_ID}.env"
paths:
- dist
bandit:
image: harbor.ptech.lu/gitlab-actions/bandit:release-1.7.1
stage: validate
variables:
BANDIT_PATH: puresnmp
script:
- /run.sh
pre-commit:
image: harbor.ptech.lu/gitlab-actions/pre-commit:release-2.18.1-ptech-2
stage: validate
script:
- /run.sh
safety:
image: harbor.ptech.lu/gitlab-actions/safety:release-1.10.3
stage: validate
script:
- /run.sh
docs:
image:
name: harbor.ptech.lu/gitlab-actions/sphinx:release-4.5.0-ptech-2
entrypoint: []
stage: build
artifacts:
paths:
- artifacts
script:
- pip install -e .[dev]
- /run.sh