feat: add trixie docker build

Ensure the current debian12 scripts are going to run on trixie
This commit is contained in:
damien cavagnini
2025-09-02 14:09:16 +02:00
parent 11bcd1b93b
commit 9f159985a4
13 changed files with 63 additions and 16 deletions

View File

@@ -1,6 +1,9 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe prepare test
apt remove -y systemd-timesyncd ntp chrony
describe Running on blank host
register_test retvalshouldbe 1
# shellcheck disable=2154
@@ -8,7 +11,7 @@ test_audit() {
describe Correcting situation
apt-get update
apt-get install -y ntp
apt-get install -y chrony
# Finally assess that your corrective actions end up with a compliant system
describe Checking resolved state
@@ -17,7 +20,7 @@ test_audit() {
# we can not check the presence of multiple time synchronization from debian packages, as they are mutually exclusive
describe clean installation
apt remove -y ntp
apt remove -y chrony
apt autoremove -y
}