mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
remove old containers after an auto upgrade
This commit is contained in:
parent
a323ed0643
commit
a89298382e
1 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,8 @@ do
|
||||||
update_container "$PREFIX_IMAGE_NAME-$debian_version" "$debian_version" "$ynh_version" "$snapshot"
|
update_container "$PREFIX_IMAGE_NAME-$debian_version" "$debian_version" "$ynh_version" "$snapshot"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
# Remove old runner containers
|
||||||
|
lxc delete -f $(lxc list $PREFIX_IMAGE_NAME-$debian_version-r -c n -f csv)
|
||||||
done
|
done
|
||||||
|
|
||||||
for debian_version in "bookworm"
|
for debian_version in "bookworm"
|
||||||
|
@ -22,6 +24,7 @@ do
|
||||||
do
|
do
|
||||||
update_container "$PREFIX_IMAGE_NAME-$debian_version" "$debian_version" "$ynh_version" "$snapshot"
|
update_container "$PREFIX_IMAGE_NAME-$debian_version" "$debian_version" "$ynh_version" "$snapshot"
|
||||||
done
|
done
|
||||||
|
done
|
||||||
|
# Remove old runner containers
|
||||||
lxc delete -f $(lxc list $PREFIX_IMAGE_NAME-$debian_version-r -c n -f csv)
|
lxc delete -f $(lxc list $PREFIX_IMAGE_NAME-$debian_version-r -c n -f csv)
|
||||||
done
|
done
|
||||||
done
|
|
||||||
|
|
Loading…
Reference in a new issue