diff options
author | 2024-05-22 20:54:08 +0200 | |
---|---|---|
committer | 2024-05-22 23:36:10 +0200 | |
commit | 3c9a45b3032b66aaba75e5192287af9414e483c8 (patch) | |
tree | b6094dafebc96c8a10f7d5a9eafa8dc6ad79309f /jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh | |
parent | 04952b6c0bf9865cdde4429f262e4da3cb476e15 (diff) |
Rework for new image names and drop older releases.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0323fd9053ed3679772715a0080a1990209a563a
Diffstat (limited to 'jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh')
-rw-r--r-- | jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh deleted file mode 100644 index 50944a8f..00000000 --- a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/bash - -#set -x -set -e -echo "#######################################" -echo "#######################################" -ls -alh -echo "#######################################" -echo "#######################################" -tree -L 2 -echo "#######################################" -echo "#######################################" -set | grep MACHINE -echo "#######################################" -echo "#######################################" -set -echo "#######################################" -echo "#######################################" - -cd repoclone/output - -export REMOTEDST="/srv/download/AGL/upload/ci/${RELEASE_BRANCH}/${RELEASE_VERSION}/" -export RSYNCDST="jenkins-slave@10.30.72.8:${REMOTEDST}" -export RSYNCSRC=$(pwd)/UPLOAD/ - -# construct upload folder -mv UPLOAD UPLOAD2 || true -rm -rf UPLOAD2 || true -mkdir -p UPLOAD/${MACHINE} -export DEST=$(pwd)/UPLOAD/${MACHINE} - -# save space ... remove the rpms -rm -rf tmp/deploy/rpm || true - -rsync -avr --progress --delete tmp/deploy $DEST/ -rsync -avr --progress --delete tmp/log $DEST/ - -cp ../../current_default.xml $DEST/${MACHINE}_repo_default.xml -cp conf/local.conf $DEST/local.conf -cp conf/auto.conf $DEST/auto.conf -echo "$BUILD_URL" > $DEST/jenkins.build.url - -tree $DEST - -ls -alhR $DEST - -echo "would do rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST " - -if test x"yes" = x"$UPLOAD" ; then - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir -p ${REMOTEDST} - rsync -avr -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST -fi - -exit 0
\ No newline at end of file |