summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d301b45a..839de025 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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