Skip to content

Commit

Permalink
Merge pull request #1584 from craigcomstock/ENT-12633/3.21
Browse files Browse the repository at this point in the history
Change unused rsync.log path to specific /tmp/rsync.log (3.21)
  • Loading branch information
craigcomstock authored Feb 7, 2025
2 parents d361f70 + 0cb8284 commit 1a4592d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions build-remote
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ prepare_workdir() {

checkout() {
mkdir -p build
rsync -avr --exclude='workdir-*' $(dirname $0)/ build/buildscripts >>rsync.log
rsync -avr --exclude='workdir-*' $(dirname $0)/ build/buildscripts >>/tmp/rsync.log

REPOS="core masterfiles"

Expand Down Expand Up @@ -255,10 +255,10 @@ checkout() {
;;

nova-cp)
rsync -avr --exclude='workdir-*' $AUTOBUILD_PATH/ build/buildscripts >>rsync.log
rsync -avr --exclude='workdir-*' $AUTOBUILD_PATH/ build/buildscripts >>/tmp/rsync.log
for d in core nova enterprise masterfiles mission-portal
do
rsync -avr $SOURCE/$d build >>rsync.log
rsync -avr $SOURCE/$d build >>/tmp/rsync.log
done
;;

Expand Down
6 changes: 3 additions & 3 deletions build-scripts/test-on-testmachine
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,18 @@ INCLUDES='--include=test.* --include=summary.*'
rsync -rv $INCLUDES --exclude="*" \
$TESTMACHINE_URI$BASEDIR/core/tests/acceptance/ \
$BASEDIR/core/tests/acceptance/ \
>> rsync.log
>> /tmp/rsync.log

if [ $PROJECT = nova ]
then
rsync -rv $INCLUDES --exclude="*" \
$TESTMACHINE_URI$BASEDIR/enterprise/tests/acceptance/ \
$BASEDIR/enterprise/tests/acceptance/ \
>> rsync.log
>> /tmp/rsync.log
rsync -rv $INCLUDES --exclude="*" \
$TESTMACHINE_URI$BASEDIR/masterfiles/tests/acceptance/ \
$BASEDIR/masterfiles/tests/acceptance/ \
>> rsync.log
>> /tmp/rsync.log
fi

if [ $return_code -ne 0 ]
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/transfer-results
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ BUILDMACHINE="$1"
mkdir -p $BASEDIR/../../../output/${SCHEDULER}/${BUILD_NUMBER}
rsync -avr --delete "$BUILDMACHINE:build/output/*" \
$BASEDIR/../../../output/${SCHEDULER}/${BUILD_NUMBER} \
>rsync.log
>/tmp/rsync.log

ssh "$BUILDMACHINE" "rm -rf build/output"
4 changes: 2 additions & 2 deletions build-scripts/transfer-to-testmachine
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ esac
BASEDIR_NO_DOT="$(echo $BASEDIR | sed -e 's,/\./,/,g;s,/\.$,,')"
touch .keepalive-echo
(while test -e .keepalive-echo; do sleep 60; echo Keep alive; done)&
sudo rsync -avR $EXCLUDES --delete --delete-excluded "$BASEDIR_NO_DOT/" $TESTMACHINE_URI >rsync.log
sudo rsync -avR $EXCLUDES --delete --delete-excluded "$PREFIX/" $TESTMACHINE_URI >>rsync.log
sudo rsync -avR $EXCLUDES --delete --delete-excluded "$BASEDIR_NO_DOT/" $TESTMACHINE_URI >/tmp/rsync.log
sudo rsync -avR $EXCLUDES --delete --delete-excluded "$PREFIX/" $TESTMACHINE_URI >>/tmp/rsync.log
rm .keepalive-echo

0 comments on commit 1a4592d

Please sign in to comment.