diff options
author | Chris Evich <cevich@redhat.com> | 2021-08-09 15:04:31 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2021-08-09 17:32:55 -0400 |
commit | 27443660ce0f5f7365adc0f5fab98d4831cdd6ef (patch) | |
tree | 711c19ce6c5a0a9c52f7cfb566afcca27025d467 /contrib/cirrus | |
parent | 431707c72044154b956944d00b1ba40b303decb2 (diff) | |
download | podman-27443660ce0f5f7365adc0f5fab98d4831cdd6ef.tar.gz podman-27443660ce0f5f7365adc0f5fab98d4831cdd6ef.tar.bz2 podman-27443660ce0f5f7365adc0f5fab98d4831cdd6ef.zip |
Enable docker-py compat. testing w/ ignored result
Significant bitrot results in almost immediate test failure. This
commit adds only the very basic, bare-minimum needed to get them
started.
***TESTING RESULTS ARE IGNORED***
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus')
-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 |