diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-10 22:31:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-10 22:31:25 +0300 |
commit | 1a91c887e9745e8af8a80e6fdfe7b46e3b7ba931 (patch) | |
tree | 8101a523da59d5f0248bfafd67e05119c4f7b131 /tools/ci/scripts/triggers.sh | |
parent | 05b8469b2fd2e7f541ed5b0bd0d662e24bf8c49b (diff) | |
download | mv-1a91c887e9745e8af8a80e6fdfe7b46e3b7ba931.tar.gz mv-1a91c887e9745e8af8a80e6fdfe7b46e3b7ba931.tar.bz2 mv-1a91c887e9745e8af8a80e6fdfe7b46e3b7ba931.tar.xz mv-1a91c887e9745e8af8a80e6fdfe7b46e3b7ba931.zip |
Add triggers job and script for gitlab ci.
Diffstat (limited to 'tools/ci/scripts/triggers.sh')
-rwxr-xr-x | tools/ci/scripts/triggers.sh | 8 |
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" |