diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-10-02 08:02:51 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-10-02 08:02:51 +0000 |
commit | 2fed892f2746561207aa21a2660f4d8f3f79d24e (patch) | |
tree | 334ab850ec3035058d9ef26696b608eb96dfc359 /packages/telegraf/build.sh | |
parent | c89609e997f5a9110bd148128df870e6c683c5f7 (diff) | |
download | vyos-build-2fed892f2746561207aa21a2660f4d8f3f79d24e.tar.gz vyos-build-2fed892f2746561207aa21a2660f4d8f3f79d24e.zip |
T6754: Delete Jenkins build packages
Diffstat (limited to 'packages/telegraf/build.sh')
-rwxr-xr-x | packages/telegraf/build.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/packages/telegraf/build.sh b/packages/telegraf/build.sh deleted file mode 100755 index 2ba511d0..00000000 --- a/packages/telegraf/build.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -CWD=$(pwd) -set -e - -BUILD_ARCH=$(dpkg-architecture -qDEB_TARGET_ARCH) - -SRC=telegraf -if [ ! -d ${SRC} ]; then - echo "Source directory does not exists, please 'git clone'" - exit 1 -fi - -PLUGIN_DIR=${CWD}/plugins - -echo "I: Selecting Input plugins" -cp ${PLUGIN_DIR}/inputs/all/all.go ${SRC}/plugins/inputs/all/all.go - -echo "I: Selecting Output plugins" -cp ${PLUGIN_DIR}/outputs/all/all.go ${SRC}/plugins/outputs/all/all.go - -echo "I: Build Debian ${BUILD_ARCH} package" -cd ${SRC} -export PATH=/opt/go/bin:$PATH - -# Generate default telegraf config -go run ./cmd/telegraf config > etc/telegraf.conf -LDFLAGS=-w make "${BUILD_ARCH}.deb" |