summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2021-04-06 20:12:58 +0200
committerJán Tomko <jtomko@redhat.com>2021-04-07 17:10:36 +0200
commitfa69ccf21256591e7eed79a10f6b19fb4cb45459 (patch)
treea5fef605750862ccee21c9f2a1d8ddf93b36127d /ci
parenta376a2abb023f4e53e5d9d353c725913c8711c6e (diff)
downloadlibvirt-python-fa69ccf21256591e7eed79a10f6b19fb4cb45459.tar.gz
ci: refresh containers for nose->pytest switch
Matches libvirt-ci commit facd5d855c97bf5b127ff9bf245c8fdf514dd916 Signed-off-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'ci')
-rw-r--r--ci/containers/ci-centos-7.Dockerfile6
-rw-r--r--ci/containers/ci-centos-8.Dockerfile9
-rw-r--r--ci/containers/ci-centos-stream.Dockerfile6
-rw-r--r--ci/containers/ci-debian-10.Dockerfile6
-rw-r--r--ci/containers/ci-debian-sid.Dockerfile6
-rw-r--r--ci/containers/ci-fedora-32.Dockerfile6
-rw-r--r--ci/containers/ci-fedora-33.Dockerfile6
-rw-r--r--ci/containers/ci-fedora-rawhide.Dockerfile6
-rw-r--r--ci/containers/ci-opensuse-152.Dockerfile6
-rw-r--r--ci/containers/ci-ubuntu-1804.Dockerfile6
-rw-r--r--ci/containers/ci-ubuntu-2004.Dockerfile6
11 files changed, 35 insertions, 34 deletions
diff --git a/ci/containers/ci-centos-7.Dockerfile b/ci/containers/ci-centos-7.Dockerfile
index c9f2aa6..f3ec402 100644
--- a/ci/containers/ci-centos-7.Dockerfile
+++ b/ci/containers/ci-centos-7.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile centos-7 libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM docker.io/library/centos:7
@@ -21,14 +21,14 @@ RUN yum update -y && \
python3-setuptools \
python36-devel \
python36-lxml \
- python36-nose \
+ python36-pytest \
rpm-build && \
yum autoremove -y && \
yum clean all -y && \
rpm -qa | sort > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"
diff --git a/ci/containers/ci-centos-8.Dockerfile b/ci/containers/ci-centos-8.Dockerfile
index a79297f..e30583b 100644
--- a/ci/containers/ci-centos-8.Dockerfile
+++ b/ci/containers/ci-centos-8.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile centos-8 libvirt+minimal,libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM docker.io/library/centos:8
@@ -14,6 +14,7 @@ RUN dnf update -y && \
dnf install -y \
ca-certificates \
ccache \
+ cpp \
gcc \
gettext \
git \
@@ -35,8 +36,8 @@ RUN dnf update -y && \
python3-devel \
python3-docutils \
python3-lxml \
- python3-nose \
python3-pip \
+ python3-pytest \
python3-setuptools \
python3-wheel \
rpcgen \
@@ -46,10 +47,10 @@ RUN dnf update -y && \
rpm -qa | sort > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
RUN pip3 install \
- meson==0.55.3
+ meson==0.56.0
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
diff --git a/ci/containers/ci-centos-stream.Dockerfile b/ci/containers/ci-centos-stream.Dockerfile
index 89dd018..912823c 100644
--- a/ci/containers/ci-centos-stream.Dockerfile
+++ b/ci/containers/ci-centos-stream.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile centos-stream libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM docker.io/library/centos:8
@@ -24,7 +24,7 @@ RUN dnf install -y centos-release-stream && \
python3 \
python3-devel \
python3-lxml \
- python3-nose \
+ python3-pytest \
python3-setuptools \
rpm-build && \
dnf autoremove -y && \
@@ -32,7 +32,7 @@ RUN dnf install -y centos-release-stream && \
rpm -qa | sort > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"
diff --git a/ci/containers/ci-debian-10.Dockerfile b/ci/containers/ci-debian-10.Dockerfile
index 66e753e..b44e4e9 100644
--- a/ci/containers/ci-debian-10.Dockerfile
+++ b/ci/containers/ci-debian-10.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile debian-10 libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM docker.io/library/debian:10-slim
@@ -21,7 +21,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
python3 \
python3-dev \
python3-lxml \
- python3-nose \
+ python3-pytest \
python3-setuptools && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
@@ -30,7 +30,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"
diff --git a/ci/containers/ci-debian-sid.Dockerfile b/ci/containers/ci-debian-sid.Dockerfile
index b34bc9a..8e73c84 100644
--- a/ci/containers/ci-debian-sid.Dockerfile
+++ b/ci/containers/ci-debian-sid.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile debian-sid libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM docker.io/library/debian:sid-slim
@@ -21,7 +21,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
python3 \
python3-dev \
python3-lxml \
- python3-nose \
+ python3-pytest \
python3-setuptools && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
@@ -30,7 +30,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"
diff --git a/ci/containers/ci-fedora-32.Dockerfile b/ci/containers/ci-fedora-32.Dockerfile
index 1262fb5..28f418a 100644
--- a/ci/containers/ci-fedora-32.Dockerfile
+++ b/ci/containers/ci-fedora-32.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile fedora-32 libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM registry.fedoraproject.org/fedora:32
@@ -28,7 +28,7 @@ exec "$@"' > /usr/bin/nosync && \
python3 \
python3-devel \
python3-lxml \
- python3-nose \
+ python3-pytest \
python3-setuptools \
rpm-build && \
nosync dnf autoremove -y && \
@@ -36,7 +36,7 @@ exec "$@"' > /usr/bin/nosync && \
rpm -qa | sort > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"
diff --git a/ci/containers/ci-fedora-33.Dockerfile b/ci/containers/ci-fedora-33.Dockerfile
index 1aceb22..fc1c39b 100644
--- a/ci/containers/ci-fedora-33.Dockerfile
+++ b/ci/containers/ci-fedora-33.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile fedora-33 libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM registry.fedoraproject.org/fedora:33
@@ -28,7 +28,7 @@ exec "$@"' > /usr/bin/nosync && \
python3 \
python3-devel \
python3-lxml \
- python3-nose \
+ python3-pytest \
python3-setuptools \
rpm-build && \
nosync dnf autoremove -y && \
@@ -36,7 +36,7 @@ exec "$@"' > /usr/bin/nosync && \
rpm -qa | sort > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"
diff --git a/ci/containers/ci-fedora-rawhide.Dockerfile b/ci/containers/ci-fedora-rawhide.Dockerfile
index 88ee141..05442fc 100644
--- a/ci/containers/ci-fedora-rawhide.Dockerfile
+++ b/ci/containers/ci-fedora-rawhide.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile fedora-rawhide libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM registry.fedoraproject.org/fedora:rawhide
@@ -29,7 +29,7 @@ exec "$@"' > /usr/bin/nosync && \
python3 \
python3-devel \
python3-lxml \
- python3-nose \
+ python3-pytest \
python3-setuptools \
rpm-build && \
nosync dnf autoremove -y && \
@@ -37,7 +37,7 @@ exec "$@"' > /usr/bin/nosync && \
rpm -qa | sort > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"
diff --git a/ci/containers/ci-opensuse-152.Dockerfile b/ci/containers/ci-opensuse-152.Dockerfile
index 0251eb4..2637900 100644
--- a/ci/containers/ci-opensuse-152.Dockerfile
+++ b/ci/containers/ci-opensuse-152.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile opensuse-152 libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM registry.opensuse.org/opensuse/leap:15.2
@@ -18,14 +18,14 @@ RUN zypper update -y && \
python3-base \
python3-devel \
python3-lxml \
- python3-nose \
+ python3-pytest \
python3-setuptools \
rpm-build && \
zypper clean --all && \
rpm -qa | sort > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"
diff --git a/ci/containers/ci-ubuntu-1804.Dockerfile b/ci/containers/ci-ubuntu-1804.Dockerfile
index dedca08..7de4707 100644
--- a/ci/containers/ci-ubuntu-1804.Dockerfile
+++ b/ci/containers/ci-ubuntu-1804.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile ubuntu-1804 libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM docker.io/library/ubuntu:18.04
@@ -21,7 +21,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
python3 \
python3-dev \
python3-lxml \
- python3-nose \
+ python3-pytest \
python3-setuptools && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
@@ -30,7 +30,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"
diff --git a/ci/containers/ci-ubuntu-2004.Dockerfile b/ci/containers/ci-ubuntu-2004.Dockerfile
index 79dc23c..5e62aec 100644
--- a/ci/containers/ci-ubuntu-2004.Dockerfile
+++ b/ci/containers/ci-ubuntu-2004.Dockerfile
@@ -2,7 +2,7 @@
#
# $ lcitool dockerfile ubuntu-2004 libvirt+dist,libvirt-python
#
-# https://gitlab.com/libvirt/libvirt-ci/-/commit/94c25bde639eb31ff2071fb6abfd3d5c777f4ab2
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
FROM docker.io/library/ubuntu:20.04
@@ -21,7 +21,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
python3 \
python3-dev \
python3-lxml \
- python3-nose \
+ python3-pytest \
python3-setuptools && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
@@ -30,7 +30,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
ENV LANG "en_US.UTF-8"
ENV PYTHON "/usr/bin/python3"