certbot/tools
Adrien Ferrand 7352727a65 [URGENT] Fix the CI system (#6485)
It is about the exit codes that are returned from the various scripts in tools during tox execution.
Indeed, tox relies on the non-zero exit code from a given script to know that something failed during the execution.

Previously, theses scripts were in bash, and a bash script returns an exit code that is the higher code returned from any of the command executed by the script. So if any command return a non-zero (in particular pylint or pytest), then the script return also non-zero.

Now that these scripts are converted into python, pylint and pytest are executed via subprocess, that returns the exit code as variables. But if theses codes are not handled explicitly, the python script itself will return zero if no python exception occured. As a consequence currently, Certbot CI system is unable to detect any test error or lint error, because there is no exception in this case, only exit codes from the binaries executed.

This PR fixes that, by handling correctly the exit code from the most critical scripts, install_and_test.py and tox.cover.py, but also all the scripts that I converted into Python and that could be executed in the context of a shell (via tox or directly for instance).
2018-11-08 08:35:07 -08:00
..
_release.sh Add better error handling around release signatures (#6353) 2018-09-11 15:44:26 -07:00
_venv_common.py [URGENT] Fix the CI system (#6485) 2018-11-08 08:35:07 -08:00
deactivate.py Use josepy instead of acme.jose. (#5203) 2017-12-11 11:25:09 -08:00
deps.sh rename letshelp-letsencrypt 2016-04-13 17:42:19 -07:00
dev_constraints.txt Update Lexicon to correct use of HTTP proxy on OVH provider (#6479) 2018-11-07 07:49:13 -08:00
docker-warning.sh add docker-warning script 2017-03-06 19:31:42 -08:00
eff-pubkey.pem Add pubkey to tree 2016-03-01 11:21:51 -08:00
half-sign.c Use SHA256 openssl signatures 2016-01-11 14:22:51 -08:00
install_and_test.py [URGENT] Fix the CI system (#6485) 2018-11-08 08:35:07 -08:00
merge_requirements.py [Windows|Unix] Rewrite bash scripts for tests into python (#6435) 2018-11-07 17:16:16 -08:00
offline-sigrequest.sh Don't require festival during signing. (#6079) 2018-06-07 11:43:45 +03:00
oldest_constraints.txt Pin dependencies in oldest tests (#5316) 2017-12-18 12:31:36 -08:00
pip_install.py [URGENT] Fix the CI system (#6485) 2018-11-08 08:35:07 -08:00
pip_install_editable.py [URGENT] Fix the CI system (#6485) 2018-11-08 08:35:07 -08:00
readlink.py [Windows|Unix] Rewrite bash scripts for tests into python (#6435) 2018-11-07 17:16:16 -08:00
release.sh Release script improvements (#6337) 2018-09-05 14:10:05 -07:00
simple_http_server.py Fix print() and xrange() for Python 3 (#5590) 2018-03-14 09:37:29 -07:00
sphinx-quickstart.sh Put API link at the bottom of DNS plugin docs (#5699) 2018-03-12 17:10:23 -07:00
venv.py [URGENT] Fix the CI system (#6485) 2018-11-08 08:35:07 -08:00
venv3.py [URGENT] Fix the CI system (#6485) 2018-11-08 08:35:07 -08:00