summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-02-11 21:12:05 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-02-11 23:04:14 +0100
commite9c0e2edf44d6d185ae02adfc88b3ddabf660776 (patch)
tree35ea6ddcc142a3b550c1377f1b3e1abb2f9796c8 /.gitlab-ci.yml
parentf085beec2a6be9b1045ed4f609156ea54ad37d82 (diff)
[pkg] build debian package
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f6efa4..697a2a3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,7 @@
stages:
- build
- push
- - trigger
+ - debian
- vendor
build_test:
@@ -53,6 +53,16 @@ build_test:
# - echo "Triggering CI pipeline on https://0xacab.org/leap/riseup-vpn_package/pipelines"
# - "curl -X POST -F token=$RISEUP_VPN_DEB_TRIGGER_TOKEN -F ref=master https://0xacab.org/api/v4/projects/1916/trigger/pipeline"
+debian:
+ # TODO use a buster builder image, but upgrade golang version for compatibility
+ image: registry.0xacab.org/leap/bitmask-vpn:latest
+ stage: debian
+ script:
+ - 'PROVIDER="riseup" make vendor && rm -rf .build && mkdir -p .build && rm -f *.deb && cp -dR * .build/. && cd .build && debuild -us -uc'
+ artifacts:
+ paths:
+ - '*.deb'
+
vendorize:
image: registry.0xacab.org/leap/bitmask-vpn:latest
stage: vendor