Skip to content
Snippets Groups Projects

[LOS-622] use a service account for bsauto

Merged Ben Morrice requested to merge los622 into master
2 files
+ 7
17
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 6
2
@@ -77,9 +77,13 @@ if [ -z $RELEASE ]; then
exit
fi
TOKEN=`tokens |/bin/grep afs@cern.ch`
if [ ! -f /etc/linuxci.credential ]; then
echo "Cannot authenticate as linuxci, exiting"
exit
fi
cat /etc/linuxci.credential | kinit
if [ $? -ne 0 ]; then
echo "No AFS token found, try running kinit? Exiting"
echo "Cannot authenticate as linuxci, exiting"
exit
fi
Loading