Compare commits

...

2 commits

Author SHA1 Message Date
b4e481e44d
Forgejo: Update wait network logic 2024-10-22 19:20:08 +09:00
ee2cd89581
Forgejo: Bump to 9.0.0 2024-10-22 19:18:56 +09:00

View file

@ -7,7 +7,7 @@ DIST="${IMAGE%%/*}"
VER="${IMAGE#*/}"
VER="${VER%/*}"
VER="${VER//./-}"
UPSTREAM_VER="8.0.3"
UPSTREAM_VER="9.0.0"
UPSTREAM_VER_DASH="${UPSTREAM_VER//./-}"
UPSTREAM_NAME="forgejo"
SERIAL="1benoitjpnet"
@ -17,8 +17,8 @@ ALIAS="$UPSTREAM_NAME-$UPSTREAM_VER-$SERIAL"
cd $WORKSPACE
incus launch images:$IMAGE $CNAME --quiet
# Wait network
sleep 5
# Wait for network
timeout 30 bash -c "until incus exec $CNAME -- ping -c1 google.com &>/dev/null; do sleep 1; done"
# Forgejo
incus exec $CNAME -- mkdir /etc/esh