mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-08 04:30:38 +02:00
make waiting time configurable
This commit is contained in:
parent
e4b038e07a
commit
98fbada0f0
2 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
# set your managed architectures
|
||||
_SERVER_ARCH="x86_64 aarch64 riscv64"
|
||||
# set your time before next architecture is built (value in seconds)
|
||||
_SERVER_WAIT="3600"
|
||||
# set program updates that trigger new server release
|
||||
_TRIGGER="archboot archboot-arm archboot-riscv archlinux-keyring
|
||||
archlinuxarm-keyring bcachefs-tools btrfs-progs coreutils
|
||||
|
|
|
@ -31,7 +31,7 @@ for i in ${_SERVER_ARCH}; do
|
|||
# if trigger successful, release new image to server
|
||||
if rg -qw "${k}" "${i}"/var/log/pacman.log; then
|
||||
archboot-"${i}"-server-release.sh || echo "Error: ${i} release!" >> error.log
|
||||
sleep 3600
|
||||
sleep "${_SERVER_WAIT}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue