From a107f2914d9099196b8a50d52eb00434542fb5f6 Mon Sep 17 00:00:00 2001
From: Christoph Alt <christoph.alt@fau.de>
Date: Thu, 6 Oct 2022 09:30:48 +0200
Subject: [PATCH] added a stage to trigger cb pipeline

---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 095a303..a66f0f7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
 stages:
   - test
   - deploy
+  - trigger
 
 test:
    stage: test
@@ -21,3 +22,9 @@ deploy_uniformgrid_gpu:
     - pip install --user .
     - python3 dashboards/deploy.py
   when: manual
+
+trigger_cb_pipeline:
+  stage: trigger
+  script:
+    - 'curl --fail --request POST --form token=$CB_TRIGGER_TOKEN --form ref=master "$CB_TRIGGER_API_URL"'
+  when: manual
-- 
GitLab