diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2021-08-16 15:04:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 15:04:54 +0000 |
commit | 26b1dddda7aca89e57608ea232e84a1802591562 (patch) | |
tree | 52a79d694324e0b48d60e12444901e6ef0baf706 /contrib | |
parent | 41fb06a251f5639a1347b15f2e3ecdca54efa664 (diff) | |
parent | 27443660ce0f5f7365adc0f5fab98d4831cdd6ef (diff) | |
download | podman-26b1dddda7aca89e57608ea232e84a1802591562.tar.gz podman-26b1dddda7aca89e57608ea232e84a1802591562.tar.bz2 podman-26b1dddda7aca89e57608ea232e84a1802591562.zip |
Merge pull request #11169 from cevich/enable_docker_py_testing
Enable docker-py compat. testing w/ ignored result
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/cirrus/runner.sh | 3 | ||||
-rwxr-xr-x | contrib/cirrus/setup_environment.sh | 14 |
2 files changed, 15 insertions, 2 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh index da43ffb0a..c1972b90f 100755 --- a/contrib/cirrus/runner.sh +++ b/contrib/cirrus/runner.sh @@ -88,7 +88,8 @@ function _run_bindings() { } function _run_docker-py() { - msg "This is docker-py stub, it is only a stub" + source venv/bin/activate + make run-docker-py-tests } function _run_endpoint() { diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index 86b8d78ef..3f2176fd6 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -191,7 +191,19 @@ case "$TEST_FLAVOR" in bigto dnf install -y glibc-minimal-langpack rpm-build fi ;& - docker-py) ;& + docker-py) + remove_packaged_podman_files + make install PREFIX=/usr ETCDIR=/etc + + # TODO: Don't install stuff at test runtime! Do this from + # cache_images/fedora_packaging.sh in containers/automation_images + # and STRONGLY prefer installing RPMs vs pip packages in venv + dnf install -y python3-virtualenv python3-pytest4 + virtualenv venv + source venv/bin/activate + pip install --upgrade pip + pip install --requirement $GOSRC/test/python/requirements.txt + ;; build) make clean ;; unit) ;; apiv2) ;& # use next item |