summaryrefslogtreecommitdiffstats
path: root/.travis/trigger_package_build.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/trigger_package_build.sh')
-rwxr-xr-x.travis/trigger_package_build.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/.travis/trigger_package_build.sh b/.travis/trigger_package_build.sh
deleted file mode 100755
index d1ecd48ca..000000000
--- a/.travis/trigger_package_build.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-token="${1}"
-version="${2}"
-pkgtype="${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/packaging.yml/dispatches" \
- -d "{\"ref\": \"master\", \"inputs\": {\"version\": \"${version}\", \"type\": \"${pkgtype}\"}}")"
-
-if [ -z "${resp}" ]; then
- echo "Successfully triggered binary package builds."
- exit 0
-else
- echo "Failed to trigger binary package builds. Output:"
- echo "${resp}"
- exit 1
-fi