From 4d610b43f0900187014cd125bbaea47d95e4777d Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Tue, 30 Mar 2021 13:38:47 +1100 Subject: [PATCH] Add `pip freeze` to Docker and CI builds for later troubleshooting. --- .builds/debian-10-with-site-packages.yml | 3 +++ .builds/debian-11-with-site-packages.yml | 3 +++ .builds/fedora-33-with-site-packages.yml | 3 +++ Dockerfile-debian-10-sqlite | 3 +++ Dockerfile-debian-11-sqlite | 3 +++ Dockerfile-fedora-33-sqlite | 2 ++ 6 files changed, 17 insertions(+) diff --git a/.builds/debian-10-with-site-packages.yml b/.builds/debian-10-with-site-packages.yml index c04fef02..ead92ab1 100644 --- a/.builds/debian-10-with-site-packages.yml +++ b/.builds/debian-10-with-site-packages.yml @@ -62,6 +62,9 @@ tasks: # Install raw image library from PyPI as not available in Debian 10. ./bin/pip install py3exiv2 + # Confirm our packages version for later troubleshooting. + ./bin/python -m pip freeze + # Run the tests, explicitly listing out skipped tests. ./bin/python -m pytest -rs ./mediagoblin/tests --boxed diff --git a/.builds/debian-11-with-site-packages.yml b/.builds/debian-11-with-site-packages.yml index 26e42a27..c6b13fa5 100644 --- a/.builds/debian-11-with-site-packages.yml +++ b/.builds/debian-11-with-site-packages.yml @@ -67,6 +67,9 @@ tasks: # Install raw image library from PyPI as not available in Debian 10. ./bin/pip install py3exiv2 + # Confirm our packages version for later troubleshooting. + ./bin/python -m pip freeze + # Run the tests, explicitly listing out skipped tests. ./bin/python -m pytest -rs ./mediagoblin/tests --boxed diff --git a/.builds/fedora-33-with-site-packages.yml b/.builds/fedora-33-with-site-packages.yml index 76b670d4..0a5c2e63 100644 --- a/.builds/fedora-33-with-site-packages.yml +++ b/.builds/fedora-33-with-site-packages.yml @@ -64,6 +64,9 @@ tasks: # # Install raw image library from PyPI as not available in Debian 10. # ./bin/pip install py3exiv2 + # Confirm our packages version for later troubleshooting. + ./bin/python -m pip freeze + # Run the tests, explicitly listing out skipped tests. ./bin/python -m pytest -rs ./mediagoblin/tests --boxed diff --git a/Dockerfile-debian-10-sqlite b/Dockerfile-debian-10-sqlite index d392ec6b..b124ddc0 100644 --- a/Dockerfile-debian-10-sqlite +++ b/Dockerfile-debian-10-sqlite @@ -173,6 +173,9 @@ RUN make # Install raw image library from PyPI. RUN ./bin/pip install py3exiv2 +# Confirm our packages version for later troubleshooting. +RUN ./bin/python -m pip freeze + # Run the tests. RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed diff --git a/Dockerfile-debian-11-sqlite b/Dockerfile-debian-11-sqlite index e7a5fb06..38788e5b 100644 --- a/Dockerfile-debian-11-sqlite +++ b/Dockerfile-debian-11-sqlite @@ -135,6 +135,9 @@ RUN make # Install raw image library from PyPI. RUN ./bin/pip install py3exiv2 +# Confirm our packages version for later troubleshooting. +RUN ./bin/python -m pip freeze + # Run the tests. RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed diff --git a/Dockerfile-fedora-33-sqlite b/Dockerfile-fedora-33-sqlite index 0737829e..6005c784 100644 --- a/Dockerfile-fedora-33-sqlite +++ b/Dockerfile-fedora-33-sqlite @@ -90,6 +90,8 @@ RUN ./bootstrap.sh RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure RUN make +RUN ./bin/python -m pip freeze + RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed RUN cd docs && make html