jenkins: stop installing python 2 (#56916)

This commit is contained in:
Emmanuel Cazenave 2021-10-06 15:30:39 +02:00
parent 6401be4614
commit a42bb3bdd4
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ then
elif [ $1 = 'run-tests' ]
then
apt update
apt install -y wget ca-certificates gnupg2 git ansible postgresql sudo python 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