summaryrefslogtreecommitdiffstats
path: root/.travis/trigger_artifact_build.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
commitd079b656b4719739b2247dcd9d46e9bec793095a (patch)
treed2c950c70a776bcf697c963151c5bd959f8a9f03 /.travis/trigger_artifact_build.sh
parentReleasing debian version 1.37.1-2. (diff)
downloadnetdata-d079b656b4719739b2247dcd9d46e9bec793095a.tar.xz
netdata-d079b656b4719739b2247dcd9d46e9bec793095a.zip
Merging upstream version 1.38.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.travis/trigger_artifact_build.sh')
-rwxr-xr-x.travis/trigger_artifact_build.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/.travis/trigger_artifact_build.sh b/.travis/trigger_artifact_build.sh
deleted file mode 100755
index 3ec5d02d0..000000000
--- a/.travis/trigger_artifact_build.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-token="${1}"
-version="${2}"
-type="${3}"
-
-resp="$(curl -X POST \
- -H 'Accept: application/vnd.github.v3+json' \
- -H "Authorization: Bearer ${token}" \
- "https://api.github.com/repos/netdata/netdata/actions/workflows/build.yml/dispatches" \
- -d "{\"ref\": \"master\", \"inputs\": {\"version\": \"${version}\", \"type\": \"${type}\"}}")"
-
-if [ -z "${resp}" ]; then
- echo "Successfully triggered release artifact build."
- exit 0
-else
- echo "Failed to trigger release artifact build. Output:"
- echo "${resp}"
- exit 1
-fi