summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-05-15 16:06:52 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-05-15 16:06:52 +0200
commitbf40c8aee1a5583f2dfe042a88e533ae78e738fc (patch)
tree6c2f4ca511dce31f4faf1d3e4fa2c0f4bb8932a2
parent9921e9abcc9e64be77106c476b28953242e8d492 (diff)
[ci] trigger build in riseup-vpn_package repo
-rw-r--r--.gitlab-ci.yml43
1 files changed, 25 insertions, 18 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a6bf8bc..c92184d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
---
stages:
- build
+ - trigger-deb
variables:
GOPATH: /go
@@ -118,22 +119,28 @@ deb:
- riseup_vpn/dist/*.deb
expire_in: 1 month
-osx_installer:
- stage: build
- allow_failure: true
- variables:
- GOPATH: /tmp/go/
- APP_PATH: /tmp/go/src/0xacab.org/leap/bitmask-vpn
+# osx_installer:
+# stage: build
+# allow_failure: true
+# variables:
+# GOPATH: /tmp/go/
+# APP_PATH: /tmp/go/src/0xacab.org/leap/bitmask-vpn
+# script:
+# - git clone https://0xacab.org/leap/riseup_vpn
+# - cd riseup_vpn
+# - make openvpn_osx
+# - make build_osx
+# tags:
+# - yosemite
+# - osx
+# artifacts:
+# name: installer_osx_$CI_COMMIT_REF_NAME
+# paths:
+# - riseup_vpn/dist/RiseupVPN-*.pkg
+# expire_in: 1 month
+
+
+trigger_deb:
+ stage: trigger-deb
script:
- - git clone https://0xacab.org/leap/riseup_vpn
- - cd riseup_vpn
- - make openvpn_osx
- - make build_osx
- tags:
- - yosemite
- - osx
- artifacts:
- name: installer_osx_$CI_COMMIT_REF_NAME
- paths:
- - riseup_vpn/dist/RiseupVPN-*.pkg
- expire_in: 1 month
+ - "curl -X POST -F token=$RISEUP_VPN_DEB_TRIGGER_TOKEN -F ref=master https://0xacab.org/api/v4/projects/1916/trigger/pipeline"