/
githubmirror
/
zulip
Обзор
Документация
Войти
/
githubmirror
/
zulip
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tools/ci/setup-backend
21 строка
722 B
Anders Kaseorg
ci: Enable Python warnings.
23 окт 2024, 20:55
23 окт 2024, 20:55
6a4c419
Код
Авторство
О чём код?
#!/usr/bin/env bash set -e set -x ZULIP_PATH="$(dirname "${BASH_SOURCE[0]}")/../.." . "$ZULIP_PATH/tools/python-warnings.bash" # This is just a thin wrapper around provision. # Provisioning may fail due to many issues but most of the times a network # connection issue is the reason. So we are going to retry entire provisioning # once again if that fixes our problem. tools/provision "$@" || { ret=$? if [ "$ret" = 1 ]; then echo "\`provision\`: Something went wrong with the provisioning, might be a network issue, Retrying to provision..." tools/provision else echo "\`provision\`: Something REALLY BAD went wrong with the provisioning, not retrying." exit "$ret" fi }