forked from SUNET/cnaas-nms
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.jenkins.yaml
70 lines (61 loc) · 1.27 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
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
#
# Jenkins pipeline for CNaaS
#
disabled: false
# downstream:
# - cnaas-httpd
# - cnaas-dhcpd
# - cnaas-api
# - cnaas-postgres
git:
branch: develop
extensions:
shallow_clone: true
script:
- "ssh [email protected] /root/starttests.sh ${GIT_BRANCH}"
# - "python3.7 -m venv venv"
# - ". venv/bin/activate"
# - "pip install --upgrade setuptools pip wheel mypy"
# - "pip install --index-url https://pypi.sunet.se -r requirements.txt"
# - "nosetests --with-xunit"
slack:
room: "cnaas-builds"
extra_jobs:
- name: cnaas-dhcpd
git:
branch: develop
builders:
- docker
docker_name: cnaas/dhcpd
docker_context_dir: docker/dhcpd
docker_tags:
- "v1.0"
- name: cnaas-api
git:
branch: develop
builders:
- docker
docker_name: cnaas/api
docker_context_dir: docker/api
docker_tags:
- "v1.4"
- "develop"
- name: cnaas-api-master
git:
branch: master
builders:
- docker
docker_name: cnaas/api
docker_context_dir: docker/api
docker_tags:
- "v1.3"
- "master"
- name: cnaas-postgres
git:
branch: develop
builders:
- docker
docker_name: cnaas/postgres
docker_context_dir: docker/postgres
docker_tags:
- "v1.0"