aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-03-30 13:38:47 +1100
committerBen Sturmfels <ben@sturm.com.au>2021-03-30 13:38:47 +1100
commit4d610b43f0900187014cd125bbaea47d95e4777d (patch)
tree7124bd24cfca2300147066b24644568ed168d3ff
parent4a830cb4f370ac60f5a2f773b90a4bf86d7ec4c5 (diff)
downloadmediagoblin-4d610b43f0900187014cd125bbaea47d95e4777d.tar.lz
mediagoblin-4d610b43f0900187014cd125bbaea47d95e4777d.tar.xz
mediagoblin-4d610b43f0900187014cd125bbaea47d95e4777d.zip
Add `pip freeze` to Docker and CI builds for later troubleshooting.
-rw-r--r--.builds/debian-10-with-site-packages.yml3
-rw-r--r--.builds/debian-11-with-site-packages.yml3
-rw-r--r--.builds/fedora-33-with-site-packages.yml3
-rw-r--r--Dockerfile-debian-10-sqlite3
-rw-r--r--Dockerfile-debian-11-sqlite3
-rw-r--r--Dockerfile-fedora-33-sqlite2
6 files changed, 17 insertions, 0 deletions
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