mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fix TM builds since sg is not supported on build.eclipse.org any more
This commit is contained in:
parent
6ec6762a07
commit
3f835f188f
5 changed files with 37 additions and 42 deletions
|
@ -18,8 +18,7 @@
|
|||
#:# batch_sign.sh publish/S-1.0M5-200611100500
|
||||
|
||||
#nothing we do should be hidden from the world
|
||||
##newgrp dsdp-tm-rse # newgrp doesnt work from shellscripts -- use sg instead
|
||||
umask 2
|
||||
umask 22
|
||||
|
||||
#Use Java5 on build.eclipse.org
|
||||
#export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
|
||||
|
@ -44,7 +43,7 @@ fi
|
|||
#sign the zipfiles
|
||||
cd "$dirToSign"
|
||||
RDIR=`pwd`
|
||||
sg dsdp-tm-rse -c "mkdir -p signed"
|
||||
mkdir -p signed
|
||||
nameToSign=`basename $RDIR`
|
||||
ZIPS=`ls *.zip *.jar`
|
||||
STAGING=/home/data/httpd/download-staging.priv/dsdp/tm
|
||||
|
@ -66,8 +65,8 @@ while [ "$MISSING" != "" -a ${TRIES} -gt 0 ]; do
|
|||
for x in $MISSING ; do
|
||||
if [ -f ${STDIR}/out/$x ]; then
|
||||
echo "Done: TRIES=${TRIES}, $x"
|
||||
sg dsdp-tm-rse -c "cp -f ${STDIR}/out/$x ${RDIR}/signed/$x"
|
||||
sg dsdp-tm-rse -c "chmod ugo+r ${RDIR}/signed/$x"
|
||||
cp -f ${STDIR}/out/$x ${RDIR}/signed/$x
|
||||
chmod ugo+r ${RDIR}/signed/$x
|
||||
else
|
||||
MISSING_NEW="${MISSING_NEW} $x"
|
||||
fi
|
||||
|
|
|
@ -13,8 +13,7 @@
|
|||
#Will build based on HEAD of all mapfiles, and update the testUpdates as well
|
||||
|
||||
#nothing we do should be hidden from the world
|
||||
##newgrp dsdp-tm-rse # newgrp doesnt work from shellscripts -- use sg instead
|
||||
umask 2
|
||||
umask 22
|
||||
|
||||
#Use Java5 on build.eclipse.org
|
||||
#export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
|
||||
|
@ -39,16 +38,16 @@ echo "Updating builder from CVS..."
|
|||
cd org.eclipse.rse.build
|
||||
stamp=`date +'%Y%m%d-%H%M'`
|
||||
log=$HOME/ws/log-I$stamp.txt
|
||||
sg dsdp-tm-rse -c "touch $log"
|
||||
sg dsdp-tm-rse -c "cvs -q update -RPd >> $log 2>&1"
|
||||
touch $log
|
||||
cvs -q update -RPd >> $log 2>&1
|
||||
daystamp=`date +'%Y%m%d-%H'`
|
||||
|
||||
echo "Running the builder..."
|
||||
sg dsdp-tm-rse -c "./nightly.sh HEAD I >> $log 2>&1"
|
||||
./nightly.sh HEAD I >> $log 2>&1
|
||||
tail -50 $log
|
||||
|
||||
#Fixup permissions and group id on download.eclpse.org (just to be safe)
|
||||
chmod -R g+w $HOME/ws/publish/I${daystamp}*
|
||||
#chmod -R g+w $HOME/ws/publish/I${daystamp}*
|
||||
|
||||
#Copy latest SDK in order to give access to DOC server
|
||||
cd $HOME/ws/publish
|
||||
|
@ -63,10 +62,10 @@ fi
|
|||
|
||||
#Update the testUpdates sites
|
||||
if [ "$FILES" != "" ]; then
|
||||
sg dsdp-tm-rse -c "echo \"Refreshing update site\" "
|
||||
echo "Refreshing update site"
|
||||
cd $HOME/downloads-tm/testUpdates/bin
|
||||
./mkTestUpdates.sh
|
||||
sg dsdp-tm-rse -c "echo \"Refreshing signedUpdates site\" "
|
||||
echo "Refreshing signedUpdates site"
|
||||
cd $HOME/downloads-tm/signedUpdates/bin
|
||||
./mkTestUpdates.sh
|
||||
cd "$curdir"
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
#:# doit_irsbuild.sh I
|
||||
|
||||
#nothing we do should be hidden from the world
|
||||
##newgrp dsdp-tm-rse # newgrp doesnt work from shellscripts -- use sg instead
|
||||
umask 2
|
||||
umask 22
|
||||
|
||||
#Use Java5 on build.eclipse.org
|
||||
#export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
|
||||
|
@ -63,16 +62,16 @@ echo "Updating builder from CVS..."
|
|||
cd org.eclipse.rse.build
|
||||
stamp=`date +'%Y%m%d-%H%M'`
|
||||
log=$HOME/ws/log-${buildType}$stamp.txt
|
||||
sg dsdp-tm-rse -c "touch $log"
|
||||
sg dsdp-tm-rse -c "cvs -q update -RPd >> $log 2>&1"
|
||||
touch $log
|
||||
cvs -q update -RPd >> $log 2>&1
|
||||
daystamp=`date +'%Y%m%d*%H'`
|
||||
|
||||
echo "Running the builder..."
|
||||
sg dsdp-tm-rse -c "./nightly.sh HEAD ${buildType} ${buildId} >> $log 2>&1"
|
||||
./nightly.sh HEAD ${buildType} ${buildId} >> $log 2>&1
|
||||
tail -50 $log
|
||||
|
||||
#Fixup permissions and group id on download.eclpse.org (just to be safe)
|
||||
chmod -R g+w $HOME/ws/publish/${buildType}*${daystamp}*
|
||||
#chmod -R g+w $HOME/ws/publish/${buildType}*${daystamp}*
|
||||
|
||||
#Check the publishing
|
||||
cd $HOME/ws/publish
|
||||
|
@ -95,14 +94,14 @@ if [ -f package.count -a "$FILES" != "" ]; then
|
|||
#update the doc server
|
||||
rm -f ../N.latest/RSE-SDK-*.zip
|
||||
cp -f RSE-SDK-*.zip ../N.latest/RSE-SDK-latest.zip
|
||||
chmod g+w ../N.latest/RSE-SDK-latest.zip
|
||||
chgrp dsdp-tm-rse ../N.latest/RSE-SDK-latest.zip
|
||||
#chmod g+w ../N.latest/RSE-SDK-latest.zip
|
||||
#chgrp dsdp-tmadmin ../N.latest/RSE-SDK-latest.zip
|
||||
|
||||
#Update the testUpdates sites
|
||||
sg dsdp-tm-rse -c "echo \"Refreshing update site\" "
|
||||
echo "Refreshing update site"
|
||||
cd $HOME/downloads-tm/testUpdates/bin
|
||||
./mkTestUpdates.sh
|
||||
sg dsdp-tm-rse -c "echo \"Refreshing signedUpdates site\" "
|
||||
echo "Refreshing signedUpdates site"
|
||||
cd $HOME/downloads-tm/signedUpdates/bin
|
||||
./mkTestUpdates.sh
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
#Bootstrapping script to perform N-builds on build.eclipse.org
|
||||
|
||||
#nothing we do should be hidden from the world
|
||||
##newgrp dsdp-tm-rse # newgrp doesnt work from shellscripts -- use sg instead
|
||||
umask 2
|
||||
umask 22
|
||||
|
||||
#Use Java5 on build.eclipse.org
|
||||
#export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
|
||||
|
@ -38,16 +37,16 @@ echo "Updating builder from CVS..."
|
|||
cd org.eclipse.rse.build
|
||||
stamp=`date +'%Y%m%d-%H%M'`
|
||||
log=$HOME/ws/log-N$stamp.txt
|
||||
sg dsdp-tm-rse -c "touch $log"
|
||||
sg dsdp-tm-rse -c "cvs -q update -RPd >> $log 2>&1"
|
||||
touch $log
|
||||
cvs -q update -RPd >> $log 2>&1
|
||||
daystamp=`date +'%Y%m%d-%H'`
|
||||
|
||||
echo "Running the builder..."
|
||||
sg dsdp-tm-rse -c "./nightly.sh >> $log 2>&1"
|
||||
./nightly.sh >> $log 2>&1
|
||||
tail -50 $log
|
||||
|
||||
#Fixup permissions and group id on download.eclpse.org (just to be safe)
|
||||
chmod -R g+w $HOME/ws/publish/N${daystamp}*
|
||||
#chmod -R g+w $HOME/ws/publish/N${daystamp}*
|
||||
|
||||
#Copy latest SDK in order to give access to DOC server
|
||||
cd $HOME/ws/publish
|
||||
|
|
|
@ -13,8 +13,7 @@
|
|||
#Will ask the user for label and build ID
|
||||
|
||||
#nothing we do should be hidden from the world
|
||||
##newgrp dsdp-tm-rse # newgrp doesnt work from shellscripts -- use sg instead
|
||||
umask 2
|
||||
umask 22
|
||||
|
||||
#Use Java5 on build.eclipse.org
|
||||
#export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
|
||||
|
@ -39,24 +38,24 @@ echo "Updating builder from CVS..."
|
|||
cd org.eclipse.rse.build
|
||||
stamp=`date +'%Y%m%d-%H%M'`
|
||||
log=$HOME/ws/log-$stamp.txt
|
||||
sg dsdp-tm-rse -c "touch $log"
|
||||
sg dsdp-tm-rse -c "cvs -q update -RPd"
|
||||
touch $log
|
||||
cvs -q update -RPd
|
||||
daystamp=`date +'%Y%m%d*%H'`
|
||||
echo "Enter tag to fetch from CVS (default is HEAD):"
|
||||
echo "Enter build type (P,N,I,S,R,M):"
|
||||
echo "Enter the build id (default is x$stamp):"
|
||||
sg dsdp-tm-rse -c "perl ./build.pl >> $log 2>&1"
|
||||
perl ./build.pl >> $log 2>&1
|
||||
#tail -50 $log
|
||||
|
||||
#Fixup permissions and group id on download.eclpse.org (just to be safe)
|
||||
chmod -R g+w $HOME/ws/working/package/*${daystamp}*
|
||||
#chmod -R g+w $HOME/ws/working/package/*${daystamp}*
|
||||
|
||||
#Publish
|
||||
echo "sg dsdp-tm-rse -c \"cp -R $HOME/ws/working/package/*${daystamp}* $HOME/ws/publish\""
|
||||
sg dsdp-tm-rse -c "cp -R $HOME/ws/working/package/*${daystamp}* $HOME/ws/publish"
|
||||
sg dsdp-tm-rse -c "rm -rf $HOME/ws/publish/*${daystamp}*/updates"
|
||||
echo "chmod -R g+w $HOME/ws/publish/*${daystamp}*"
|
||||
chmod -R g+w $HOME/ws/publish/*${daystamp}*
|
||||
echo "cp -R $HOME/ws/working/package/*${daystamp}* $HOME/ws/publish"
|
||||
cp -R $HOME/ws/working/package/*${daystamp}* $HOME/ws/publish
|
||||
rm -rf $HOME/ws/publish/*${daystamp}*/updates
|
||||
#echo "chmod -R g+w $HOME/ws/publish/*${daystamp}*"
|
||||
#chmod -R g+w $HOME/ws/publish/*${daystamp}*
|
||||
|
||||
#Check the publishing
|
||||
cd $HOME/ws/publish
|
||||
|
@ -67,10 +66,10 @@ if [ -f package.count ]; then
|
|||
mv package.count package.count.orig
|
||||
|
||||
#Update the testUpdates sites
|
||||
sg dsdp-tm-rse -c "echo \"Refreshing update site\" "
|
||||
echo "Refreshing update site"
|
||||
cd $HOME/downloads-tm/testUpdates/bin
|
||||
./mkTestUpdates.sh
|
||||
sg dsdp-tm-rse -c "echo \"Refreshing signedUpdates site\" "
|
||||
echo "Refreshing signedUpdates site"
|
||||
cd $HOME/downloads-tm/signedUpdates/bin
|
||||
./mkTestUpdates.sh
|
||||
cd "$curdir"
|
||||
|
|
Loading…
Add table
Reference in a new issue