Skip to content
Snippets Groups Projects

[LOS-617] add basic .freeze functionality to bsauto

Merged [LOS-617] add basic .freeze functionality to bsauto
All threads resolved!
Merged Ben Morrice requested to merge los617 into master
All threads resolved!
1 file
+ 9
1
Compare changes
  • Side-by-side
  • Inline
+ 9
1
@@ -42,7 +42,10 @@ function do_execute {
else
eval $1
if [ $? -ne 0 ]; then
echo "Encountered error, please check manually"
touch "$BIN/.freeze"
echo "Encountered error running $1"
echo "A $BIN/.freeze file has been created"
echo "Manual intervention is now required to continue the release process"
exit
fi
fi
@@ -77,6 +80,11 @@ if [ -z $RELEASE ]; then
exit
fi
if [ -f $BIN/.freeze ]; then
echo "Freeze file $BIN/.freeze detected, exiting"
exit
fi
if [ ! -f /etc/linuxci.credential ]; then
echo "Cannot authenticate as linuxci, exiting"
exit
Loading