jenkins: run pip freeze (#62968)

This commit is contained in:
Emmanuel Cazenave 2022-03-21 12:00:04 +01:00
parent f2905ce5f4
commit c9aef7015e
1 changed files with 1 additions and 0 deletions

View File

@ -25,4 +25,5 @@ then
PORT=`pg_lsclusters | tail -n1 | awk '{ print $3 }'`
echo 'cd /opt/publik-devinst; ansible-playbook -i inventory.yml -e "{postgresql_port: '$PORT'}" install.yml'
su testuser -l -c 'cd /opt/publik-devinst; ansible-playbook -i inventory.yml -e "{postgresql_port: '$PORT'}" install.yml'
su testuser -l -c '/home/testuser/envs/publik-env-py3/bin/pip freeze'
fi