2020-05-18 16:52:26 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2020-03-26 17:50:12 +01:00
|
|
|
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
source $current_dir/utils.sh # Get utils functions.
|
|
|
|
|
2023-05-16 12:14:15 +02:00
|
|
|
for debian_version in "bullseye"
|
2020-03-26 17:50:12 +01:00
|
|
|
do
|
2020-05-19 16:19:08 +02:00
|
|
|
for ynh_version in "stable" "testing" "unstable"
|
|
|
|
do
|
|
|
|
for snapshot in "before-install" "after-install"
|
|
|
|
do
|
2023-05-17 16:48:45 +02:00
|
|
|
update_container "$PREFIX_IMAGE_NAME-$debian_version" "$debian_version" "$ynh_version" "$snapshot"
|
2020-05-19 16:19:08 +02:00
|
|
|
done
|
|
|
|
done
|
2021-06-17 15:43:50 +02:00
|
|
|
done
|
2023-05-16 12:14:15 +02:00
|
|
|
|
|
|
|
for debian_version in "bookworm"
|
|
|
|
do
|
|
|
|
for ynh_version in "unstable"
|
|
|
|
do
|
|
|
|
for snapshot in "before-install" "after-install"
|
|
|
|
do
|
2023-05-17 16:48:45 +02:00
|
|
|
update_container "$PREFIX_IMAGE_NAME-$debian_version" "$debian_version" "$ynh_version" "$snapshot"
|
2023-05-16 12:14:15 +02:00
|
|
|
done
|
2023-05-17 16:48:45 +02:00
|
|
|
lxc delete -f $(lxc list $PREFIX_IMAGE_NAME-$debian_version-r -c n -f csv)
|
2023-05-16 12:14:15 +02:00
|
|
|
done
|
|
|
|
done
|