diff options
author | dvora-h <67596500+dvora-h@users.noreply.github.com> | 2022-02-03 00:26:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 00:26:05 +0200 |
commit | 0d26117625a0cebd8a73d510b51d71142a558c00 (patch) | |
tree | ae2665083fbfb34db22065eebc9cb810636445d0 /tasks.py | |
parent | 4d7de6df66733dc85baa6235a122747dfe463b9a (diff) | |
download | redis-py-0d26117625a0cebd8a73d510b51d71142a558c00.tar.gz |
Add redis5 and redis4 dockers (#1871)
* add redis5 and redis4 dockers
* redis versions testenv
* path changes
* fix linters
* fix tests
* fixing linter
* Increased pubsub's wait_for_messages timeout to prevent flaky tests (#1893)
* Fixing TypeError in GraphCommands.explain (#1901)
* Fixing AttributeError in UnixDomainSocketConnection (#1903)
* Fixing AttributeError on some connection errors (#1905)
* cluster script fixes to support future cluster versions and redis unstable (#1900)
* Fixing LMOVE, BLMOVE returning an incorrect response (#1906)
* Raising ConnectionError on invalid ocsp certificates - with status information (#1907)
* 4.1.2 (#1904)
* adding cluster env timeout time (#1908)
* Update changes file with changes since 4.0.0-beta2 (#1915)
* Fixing volume for unstable_cluster docker (#1914)
* Change json.clear test multi to be up to date with redisjson (#1922)
* fix json clear test
* fix json clear test
* Add support for BZMPOP (#1851)
* add bzmpop
* add comment
* fix pr comment
* fix linters
* fix pr comments
* add client no-evict (#1856)
* Add support for ZINTERCARD (#1857)
* add zintercard
* fix pr comment
* linters
* Add support for EVAL_RO (#1862)
* add sort_ro
* mark test as onlynon cluster
* delete mark test as onlynoncluster
* add eval_ro
* fix linters
* delete sort_ro
* fix pr comment
* add type hints
* add type hints
* linters
* Add support for EVALSHA_RO (#1863)
* add evalsha-ro
* fix pr comment
* add type hints
* add type hints
* Fix naming conventions (#1872)
* fix naming convention
* fix worng changes
* change ports to resolve conflict with unstable_cluster
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: Bar Shaul <88437685+barshaul@users.noreply.github.com>
Co-authored-by: Varun Chopra <v@chopraaa.com>
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -3,11 +3,6 @@ import shutil from invoke import run, task - -def _generate_keys(): - run("bash docker/stunnel/create_certs.sh") - - with open("tox.ini") as fp: lines = fp.read().split("\n") dockers = [line.split("=")[1].strip() for line in lines if line.find("name") != -1] @@ -19,7 +14,6 @@ def devenv(c): specified in the tox.ini file. """ clean(c) - _generate_keys() cmd = "tox -e devenv" for d in dockers: cmd += f" --docker-dont-stop={d}" @@ -29,14 +23,12 @@ def devenv(c): @task def build_docs(c): """Generates the sphinx documentation.""" - _generate_keys() run("tox -e docs") @task def linters(c): """Run code linters""" - _generate_keys() run("tox -e linters") @@ -45,7 +37,6 @@ def all_tests(c): """Run all linters, and tests in redis-py. This assumes you have all the python versions specified in the tox.ini file. """ - _generate_keys() linters(c) tests(c) @@ -56,7 +47,6 @@ def tests(c): with and without hiredis. """ print("Starting Redis tests") - _generate_keys() run("tox -e '{standalone,cluster}'-'{plain,hiredis}'") @@ -65,7 +55,6 @@ def standalone_tests(c): """Run all Redis tests against the current python, with and without hiredis.""" print("Starting Redis tests") - _generate_keys() run("tox -e standalone-'{plain,hiredis,ocsp}'") @@ -74,7 +63,6 @@ def cluster_tests(c): """Run all Redis Cluster tests against the current python, with and without hiredis.""" print("Starting RedisCluster tests") - _generate_keys() run("tox -e cluster-'{plain,hiredis}'") @@ -86,8 +74,6 @@ def clean(c): if os.path.isdir("dist"): shutil.rmtree("dist") run(f"docker rm -f {' '.join(dockers)}") - if os.path.isdir("docker/stunnel/keys"): - shutil.rmtree("docker/stunnel/keys") @task |