summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/builder_defaults.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh
index 444b565..aa51b13 100644
--- a/tools/builder_defaults.sh
+++ b/tools/builder_defaults.sh
@@ -326,9 +326,15 @@ export VARIANTIMAGES=""
export VARIANTUPDATES=""
# Rsync data to send snapshots
-export RSYNCIP=${RSYNCIP:-"nfs1.nyi.netgate.com"}
-export RSYNCUSER=${RSYNCUSER:-"wwwsync"}
-export RSYNCPATH=${RSYNCPATH:-"/storage/files/snapshots/${TARGET}/${PRODUCT_NAME}_${GIT_REPO_BRANCH_OR_TAG}"}
+if [ -n "${_IS_RELEASE}" ]; then
+ export RSYNCIP=${RSYNCIP:-"release-staging.netgate.com"}
+ export RSYNCUSER=${RSYNCUSER:-"wwwsync"}
+ export RSYNCPATH=${RSYNCPATH:-"/storage/ce"}
+else
+ export RSYNCIP=${RSYNCIP:-"nfs1.nyi.netgate.com"}
+ export RSYNCUSER=${RSYNCUSER:-"wwwsync"}
+ export RSYNCPATH=${RSYNCPATH:-"/storage/files/snapshots/${TARGET}/${PRODUCT_NAME}_${GIT_REPO_BRANCH_OR_TAG}"}
+fi
export SNAPSHOTSLOGFILE=${SNAPSHOTSLOGFILE:-"${SCRATCHDIR}/snapshots-build.log"}
export SNAPSHOTSLASTUPDATE=${SNAPSHOTSLASTUPDATE:-"${SCRATCHDIR}/snapshots-lastupdate.log"}
OpenPOWER on IntegriCloud