summaryrefslogtreecommitdiffstats
path: root/.travis/deploy-if-have-key
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-28 14:42:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-28 14:42:52 +0000
commit12b9efaebb6d008437af4a72a98d05c4319fc825 (patch)
tree70876046e52ae898dd7327424f2c27fde1a5d45f /.travis/deploy-if-have-key
parentReleasing debian version 1.11.0+dfsg-1~exp1. (diff)
downloadnetdata-12b9efaebb6d008437af4a72a98d05c4319fc825.tar.xz
netdata-12b9efaebb6d008437af4a72a98d05c4319fc825.zip
Merging upstream version 1.11.1+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.travis/deploy-if-have-key')
-rwxr-xr-x.travis/deploy-if-have-key55
1 files changed, 0 insertions, 55 deletions
diff --git a/.travis/deploy-if-have-key b/.travis/deploy-if-have-key
deleted file mode 100755
index 8b3b40f7e..000000000
--- a/.travis/deploy-if-have-key
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-
-set -e
-
-# Deploy tar-files and checksums to the firehol website
-
-if [ ! -f /tmp/ssh-key-loaded ]
-then
- echo "No ssh key decrypted - skipping deployment to website"
- exit 0
-fi
-
-case "$TRAVIS_BRANCH" in
- master|stable-*)
- :
- ;;
- *)
- echo "Not on master or stable-* branch - skipping deployment to website"
- exit 0
- ;;
-esac
-
-if [ "$TRAVIS_PULL_REQUEST" = "true" ]
-then
- echo "Building pull request - skipping deployment to website"
- exit 0
-fi
-
-if [ "$TRAVIS_TAG" != "" ]
-then
- echo "Building tag - skipping deployment to website"
- exit 0
-fi
-
-if [ "$TRAVIS_OS_NAME" != "linux" ]
-then
- echo "Building non-linux version - skipping deployment to website"
- exit 0
-fi
-
-if [ "$CC" != "gcc" ]
-then
- echo "Building non-gcc version - skipping deployment to website"
- exit 0
-fi
-
-ssh-keyscan -H firehol.org >> ~/.ssh/known_hosts
-ssh travis@firehol.org mkdir -p uploads/netdata/$TRAVIS_BRANCH/
-scp -p *.tar.gz travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
-scp -p *.tar.gz.sha travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
-scp -p *.tar.gz.asc travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
-scp -p *.gz.run travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
-scp -p *.gz.run.sha travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
-scp -p *.gz.run.asc travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
-ssh travis@firehol.org touch uploads/netdata/$TRAVIS_BRANCH/complete.txt