Bug 1806134: Use --no-ansi with Poetry to avoid an unexpected error r=marco

Also, pin poetry at the same time

Differential Revision: https://phabricator.services.mozilla.com/D165184
This commit is contained in:
Tom Ritter 2022-12-20 21:01:10 +00:00
Родитель 689bdfa180
Коммит d641f49795
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -77,6 +77,6 @@ chown -R worker:worker .
chown -R worker:worker .*
python3 -m pip install -U pip
python3 -m pip install poetry
python3 -m pip install poetry==1.2.2
rm -rf /setup

Просмотреть файл

@ -11,4 +11,4 @@ cp /etc/ssh/ssh_known_hosts "$HOME/ssh_known_hosts"
# If poetry is not run as worker, then it won't work when run as user later.
cd /builds/worker/updatebot
/usr/local/bin/poetry install -vv
/usr/local/bin/poetry install --no-ansi