yunohost-ci/auto_upgrade_container.sh

28 lines
661 B
Bash
Raw Normal View History

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
for ynh_version in "stable" "testing" "unstable"
do
for snapshot in "before-install" "after-install"
do
2023-05-17 15:10:29 +02:00
update_container "$debian_version" "$ynh_version" "$snapshot"
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 15:10:29 +02:00
update_container "$debian_version" "$ynh_version" "$snapshot"
2023-05-16 12:14:15 +02:00
done
2023-05-17 15:10:29 +02:00
lxc delete -f $(lxc list yunohost-$debian_version-r -c n -f csv)
2023-05-16 12:14:15 +02:00
done
done