summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-09-29 16:44:18 -0300
committerRenato Botelho <renato@netgate.com>2017-09-29 16:44:22 -0300
commit433a54eddebf95febcd35cc9f590935bc511809c (patch)
tree8b4e28e056bfa4b7deecd2584dff9afc4c730584 /tools
parent286ec1c74c05ad11dd3c561b955405849d8d5619 (diff)
downloadpfsense-433a54eddebf95febcd35cc9f590935bc511809c.zip
pfsense-433a54eddebf95febcd35cc9f590935bc511809c.tar.gz
Send RELEASE to internal server
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