summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-08-02 13:56:05 -0300
committerRenato Botelho <renato@netgate.com>2016-08-12 14:02:39 -0300
commit09361dcd6ed9c2f48b9b623f9aca8e1618373470 (patch)
treec4f928cbe1bcf312b520f042403cab0e11d68242 /tools/builder_common.sh
parent1577befd4bbc9d90ff8bbfc2db8e870dd6675240 (diff)
downloadpfsense-09361dcd6ed9c2f48b9b623f9aca8e1618373470.zip
pfsense-09361dcd6ed9c2f48b9b623f9aca8e1618373470.tar.gz
Do not scp log files
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 2b8ec20..ba29edc 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -2448,8 +2448,6 @@ poudriere_bulk() {
# This routine is called to write out to stdout
# a string. The string is appended to $SNAPSHOTSLOGFILE
-# and we scp the log file to the builder host if
-# needed for the real time logging functions.
snapshots_update_status() {
if [ -z "$1" ]; then
return
@@ -2459,18 +2457,6 @@ snapshots_update_status() {
fi
echo "$*"
echo "`date` -|- $*" >> $SNAPSHOTSLOGFILE
- if [ -z "${DO_NOT_UPLOAD}" -a -n "${SNAPSHOTS_RSYNCIP}" ]; then
- LU=$(cat $SNAPSHOTSLASTUPDATE 2>/dev/null)
- CT=$(date "+%H%M%S")
- # Only update every minute
- if [ "$LU" != "$CT" ]; then
- ssh ${SNAPSHOTS_RSYNCUSER}@${SNAPSHOTS_RSYNCIP} \
- "mkdir -p ${SNAPSHOTS_RSYNCLOGS}"
- scp -q $SNAPSHOTSLOGFILE \
- ${SNAPSHOTS_RSYNCUSER}@${SNAPSHOTS_RSYNCIP}:${SNAPSHOTS_RSYNCLOGS}/build.log
- date "+%H%M%S" > $SNAPSHOTSLASTUPDATE
- fi
- fi
}
create_sha256() {
OpenPOWER on IntegriCloud