Compare commits

..

1 Commits

Author SHA1 Message Date
Frédéric Péters 4406d98a4c ci: test against trixie (#78771)
gitea/publik-devinst/pipeline/head There was a failure building this commit Details
2024-03-20 17:57:26 +01:00
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,7 @@ elif [ $1 = 'run-tests' ]
then
apt update
apt full-upgrade -y
if grep -q 12 /etc/debian_version; then ANSIBLE_PACKAGE=ansible; else ANSIBLE_PACKAGE=ansible-core; fi
apt install -y wget ca-certificates gnupg2 git $ANSIBLE_PACKAGE postgresql sudo python3
apt install -y wget ca-certificates gnupg2 git ansible postgresql sudo python3
id testuser || adduser --disabled-password --gecos "" testuser
usermod -a -G sudo testuser
grep -q testuser /etc/sudoers || echo 'testuser ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers