summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/scripts/triggers.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ci/scripts/triggers.sh b/tools/ci/scripts/triggers.sh
new file mode 100755
index 000000000..6bd8389b6
--- /dev/null
+++ b/tools/ci/scripts/triggers.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+function run {
+ echo "running pipeline for $1"
+ curl --request POST --form "token=$BUILD_TRIGGER" --form ref=$1 https://gitlab.com/api/v4/projects/180398/trigger/pipeline || exit 1
+}
+
+run "ci_deheader"