Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@users.noreply.github.com>2021-05-04 03:42:30 +0300
committerGitHub <noreply@github.com>2021-05-04 03:42:30 +0300
commitdd0e590de3095097832051756d13850bf1561d8e (patch)
tree83f68fc2005d2669eac252fb2731faf956a9f68d /tox.ini
parentd3d9a05826af027b31de5cb60948dafbf6597873 (diff)
Make a test farm tests package (#8821)
Fixes https://github.com/certbot/certbot/issues/8781. This PR makes our test farm tests into a normal package so it and its dependencies can be tracked and installed like our other packages. Other noteworthy changes in this PR: * Rather than continuing to place logs in your CWD, they're placed in a temporary directory that is printed to the terminal. * `tests/letstest/auto_targets.yaml` was deleted rather than renamed because the file is no longer used. * make a letstest package * remove deleted deps * fix letstest install * add __init__.py * call main * Explicitly mention activating venv * rerename file * fix version.py path * clarify "this" * Use >= instead of caret requirement
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini16
1 files changed, 10 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index f7db07b52..a45766d87 100644
--- a/tox.ini
+++ b/tox.ini
@@ -277,22 +277,26 @@ passenv = DOCKER_*
setenv = {[testenv:oldest]setenv}
[testenv:test-farm-tests-base]
-changedir = tests/letstest
-deps = -rtests/letstest/requirements.txt
+changedir = letstest
+# The package to install is in the current working directory because of the
+# value of changedir.
+commands = {[base]pip_install} .
passenv =
AWS_*
setenv = AWS_DEFAULT_REGION=us-east-1
[testenv:test-farm-apache2]
changedir = {[testenv:test-farm-tests-base]changedir}
-commands = {toxinidir}/tools/retry.sh python multitester.py apache2_targets.yaml {env:AWS_EC2_PEM_FILE} SET_BY_ENV scripts/test_apache2.sh --repo {toxinidir}
-deps = {[testenv:test-farm-tests-base]deps}
+commands =
+ {[testenv:test-farm-tests-base]commands}
+ {toxinidir}/tools/retry.sh letstest targets/apache2_targets.yaml {env:AWS_EC2_PEM_FILE} SET_BY_ENV scripts/test_apache2.sh --repo {toxinidir}
passenv = {[testenv:test-farm-tests-base]passenv}
setenv = {[testenv:test-farm-tests-base]setenv}
[testenv:test-farm-sdists]
changedir = {[testenv:test-farm-tests-base]changedir}
-commands = {toxinidir}/tools/retry.sh python multitester.py targets.yaml {env:AWS_EC2_PEM_FILE} SET_BY_ENV scripts/test_sdists.sh --repo {toxinidir}
-deps = {[testenv:test-farm-tests-base]deps}
+commands =
+ {[testenv:test-farm-tests-base]commands}
+ {toxinidir}/tools/retry.sh letstest targets/targets.yaml {env:AWS_EC2_PEM_FILE} SET_BY_ENV scripts/test_sdists.sh --repo {toxinidir}
passenv = {[testenv:test-farm-tests-base]passenv}
setenv = {[testenv:test-farm-tests-base]setenv}