source: .gitlab-ci.yml @ 33b735c

develop
Last change on this file since 33b735c was dd48bb5, checked in by Brad Cowie <brad@…>, 2 years ago

Add debian packaging.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1stages:
2  - build
3  - deploy
4
5build-debian-jessie:
6  stage: build
7  image: debian:jessie
8  script:
9    - ./gitlab-build.sh
10    - mkdir -p built-packages/debian_jessie/
11    - mv ../*.deb built-packages/debian_jessie/
12  artifacts:
13    paths:
14      - built-packages/*
15    expire_in: 1 day
16  only:
17    - tags
18
19build-debian-stretch:
20  stage: build
21  image: debian:stretch
22  script:
23    - ./gitlab-build.sh
24    - mkdir -p built-packages/debian_stretch/
25    - mv ../*.deb built-packages/debian_stretch/
26  artifacts:
27    paths:
28      - built-packages/*
29    expire_in: 1 day
30  only:
31    - tags
32
33build-debian-buster:
34  stage: build
35  image: debian:buster
36  script:
37    - ./gitlab-build.sh
38    - mkdir -p built-packages/debian_buster/
39    - mv ../*.deb built-packages/debian_buster/
40  artifacts:
41    paths:
42      - built-packages/*
43    expire_in: 1 day
44  only:
45    - tags
46
47build-debian-sid:
48  stage: build
49  image: debian:sid
50  script:
51    - ./gitlab-build.sh
52    - mkdir -p built-packages/debian_sid/
53    - mv ../*.deb built-packages/debian_sid/
54  artifacts:
55    paths:
56      - built-packages/*
57    expire_in: 1 day
58  only:
59    - tags
60
61build-ubuntu-xenial:
62  stage: build
63  image: ubuntu:xenial
64  script:
65    - ./gitlab-build.sh
66    - mkdir -p built-packages/ubuntu_xenial/
67    - mv ../*.deb built-packages/ubuntu_xenial/
68  artifacts:
69    paths:
70      - built-packages/*
71    expire_in: 1 day
72  only:
73    - tags
74
75build-ubuntu-artful:
76  stage: build
77  image: ubuntu:artful
78  script:
79    - ./gitlab-build.sh
80    - mkdir -p built-packages/ubuntu_artful/
81    - mv ../*.deb built-packages/ubuntu_artful/
82  artifacts:
83    paths:
84      - built-packages/*
85    expire_in: 1 day
86  only:
87    - tags
88
89build-ubuntu-bionic:
90  stage: build
91  image: ubuntu:bionic
92  script:
93    - ./gitlab-build.sh
94    - mkdir -p built-packages/ubuntu_bionic/
95    - mv ../*.deb built-packages/ubuntu_bionic/
96  artifacts:
97    paths:
98      - built-packages/*
99    expire_in: 1 day
100  only:
101    - tags
102
103deploy-packages:
104  stage: deploy
105  image: ubuntu:bionic
106  script:
107    - ls built-packages/
108  artifacts:
109    paths:
110      - built-packages/*
111    expire_in: 1 month
112  only:
113    - tags
Note: See TracBrowser for help on using the repository browser.