-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
95 lines (88 loc) · 1.68 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
stages:
- build
- upload
build-debian-jessie:
stage: build
image: debian:jessie
script:
- ./gitlab-build.sh
- mkdir -p built-packages/jessie/
- mv ../*.deb built-packages/jessie/
artifacts:
paths:
- built-packages/*
expire_in: 1 day
only:
- tags
build-debian-stretch:
stage: build
image: debian:stretch
script:
- ./gitlab-build.sh
- mkdir -p built-packages/stretch/
- mv ../*.deb built-packages/stretch/
artifacts:
paths:
- built-packages/*
expire_in: 1 day
only:
- tags
build-debian-buster:
stage: build
image: debian:buster
script:
- ./gitlab-build.sh
- mkdir -p built-packages/buster/
- mv ../*.deb built-packages/buster/
artifacts:
paths:
- built-packages/*
expire_in: 1 day
only:
- tags
build-ubuntu-xenial:
stage: build
image: ubuntu:xenial
script:
- ./gitlab-build.sh
- mkdir -p built-packages/xenial/
- mv ../*.deb built-packages/xenial/
artifacts:
paths:
- built-packages/*
expire_in: 1 day
only:
- tags
build-ubuntu-cosmic:
stage: build
image: ubuntu:cosmic
script:
- ./gitlab-build.sh
- mkdir -p built-packages/cosmic/
- mv ../*.deb built-packages/cosmic/
artifacts:
paths:
- built-packages/*
expire_in: 1 day
only:
- tags
build-ubuntu-bionic:
stage: build
image: ubuntu:bionic
script:
- ./gitlab-build.sh
- mkdir -p built-packages/bionic/
- mv ../*.deb built-packages/bionic/
artifacts:
paths:
- built-packages/*
expire_in: 1 day
only:
- tags
upload-packages:
stage: upload
image: ubuntu:bionic
script:
- ./bintray-upload.sh
only:
- tags