-
Notifications
You must be signed in to change notification settings - Fork 2
/
.jenkins.yaml
44 lines (41 loc) · 1.22 KB
/
.jenkins.yaml
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
builders:
- script
triggers:
cron: "@weekly"
slack:
room: "eduid-builds"
pre_build_script:
- "docker pull docker.sunet.se/eduid/redis:latest"
- "docker pull docker.sunet.se/eduid/mongodb:latest"
- "docker pull docker.sunet.se/eduid/smtpdfix:latest"
- "docker pull neo4j:4.4-enterprise"
# pillow requires libjpeg and gs
- "apt-get install -y libjpeg-dev libfreetype6-dev ghostscript libcairo2-dev"
environment_variables:
NEO4J_VERSION: "4.4-enterprise"
script:
- "python3.11 -m venv venv"
- ". venv/bin/activate"
- "pip install -U pip setuptools wheel mypy"
- "pip install --index-url https://pypi.sunet.se -r requirements/test_requirements.txt"
- "pip freeze"
- "make test"
- "make typecheck"
clean_workspace: true
extra_jobs:
- name: eduid-backend-update-deps
builders:
- script
triggers:
github_push: false
cron: "@daily"
script:
- "python3.11 -m venv venv"
- ". venv/bin/activate"
- "pip install -U pip setuptools wheel pip-tools mypy"
- "touch requirements/*in"
- "make update_deps"
- "pip install --index-url https://pypi.sunet.se -r requirements/test_requirements.txt"
- "pip freeze"
- "make test"
- "make typecheck"