Commit 439af034 authored by kpcyrd's avatar kpcyrd Committed by Holger Levsen

reproducible alpine: add maintenance script

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent cc03efb5
......@@ -311,6 +311,24 @@ for s in $SUITES ; do
done
set -e
# for alpine
set +e
case $HOSTNAME in
osuosl-build169*|osuosl-build170*|jenkins)
echo "$(date -u) - updating alpine schroot now."
schroot --directory /tmp -c source:jenkins-reproducible-alpine -u root -- apk update
RESULT=$?
if [ $RESULT -eq 1 ] ; then
echo "Warning: failed to update alpine schroot."
DIRTY=true
else
echo "$(date -u) - updating alpine schroot done."
fi
;;
*) ;;
esac
set -e
# for Arch Linux
set +e
case $HOSTNAME in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment