jenkins: stop installing python 2 (#56916)
This commit is contained in:
parent
6401be4614
commit
a42bb3bdd4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue