Trigger poezio’s build if this ours succeeded

This commit is contained in:
louiz’ 2018-08-22 23:19:47 +02:00
parent 7c3b3827b4
commit ad0dc33df9

View file

@ -1,4 +1,9 @@
stages:
- test
- trigger
test:
stage: test
tags:
- docker
image: ubuntu:latest
@ -6,3 +11,11 @@ test:
- apt update
- apt install -y python3 cython3 gpg
- ./run_tests.py
trigger_poezio:
stage: trigger
tags:
- docker
image: appropriate/curl:latest
script:
- curl --request POST -F token="$SLIXMPP_TRIGGER_TOKEN" -F ref=master https://lab.louiz.org/api/v4/projects/18/trigger/pipeline