2020-12-14 15:24:37 +00:00
|
|
|
# THIS FILE WAS AUTO-GENERATED
|
|
|
|
#
|
2021-09-09 13:49:01 +00:00
|
|
|
# $ lcitool manifest ci/manifest.yml
|
2020-12-14 15:24:37 +00:00
|
|
|
#
|
2021-07-19 12:36:51 +00:00
|
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
2021-04-15 17:07:16 +00:00
|
|
|
|
2020-11-23 18:03:36 +00:00
|
|
|
FROM registry.fedoraproject.org/fedora:rawhide
|
2020-06-02 15:28:57 +00:00
|
|
|
|
2021-02-11 11:13:48 +00:00
|
|
|
RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
|
|
|
|
dnf install -y nosync && \
|
2023-03-30 09:15:18 +00:00
|
|
|
printf '#!/bin/sh\n\
|
2020-12-14 15:24:37 +00:00
|
|
|
if test -d /usr/lib64\n\
|
|
|
|
then\n\
|
|
|
|
export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
|
|
|
|
else\n\
|
|
|
|
export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
|
|
|
|
fi\n\
|
2023-03-30 09:15:18 +00:00
|
|
|
exec "$@"\n' > /usr/bin/nosync && \
|
2020-12-14 15:24:37 +00:00
|
|
|
chmod +x /usr/bin/nosync && \
|
2021-11-23 12:09:37 +00:00
|
|
|
nosync dnf distro-sync -y && \
|
2020-12-14 15:24:37 +00:00
|
|
|
nosync dnf install -y \
|
ci: refresh with latest lcitool manifest
This refresh switches the CI for contributors to be triggered by merge
requests. Pushing to a branch in a fork will no longer run CI pipelines,
in order to avoid consuming CI minutes. To regain the original behaviour
contributors can opt-in to a pipeline on push
git push <remote> -o ci.variable=RUN_PIPELINE=1
This variable can also be set globally on the repository, through the
web UI options Settings -> CI/CD -> Variables, though this is not
recommended. Upstream repo pushes to branches will run CI.
The use of containers has changed in this update, with only the upstream
repo creating containers, in order to avoid consuming contributors'
limited storage quotas. A fork with existing container images may delete
them. Containers will be rebuilt upstream when pushing commits with CI
changes to the default branch. Any other scenario with CI changes will
simply install build pre-requisite packages in a throaway environment,
using the ci/buildenv/ scripts. These scripts may also be used on a
contributor's local machines.
With pipelines triggered by merge requests, it is also now possible to
workaround the inability of contributors to run pipelines if they have
run out of CI quota. A project member can trigger a pipeline from the
merge request, which will run in context of upstream, however, note
this should only be done after reviewing the code for any malicious
CI changes.
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-09-30 08:50:04 +00:00
|
|
|
augeas \
|
|
|
|
bash-completion \
|
|
|
|
ca-certificates \
|
|
|
|
ccache \
|
|
|
|
codespell \
|
|
|
|
cpp \
|
|
|
|
cppi \
|
|
|
|
diffutils \
|
|
|
|
dwarves \
|
|
|
|
ebtables \
|
|
|
|
firewalld-filesystem \
|
2023-11-06 10:32:44 +00:00
|
|
|
gettext \
|
ci: refresh with latest lcitool manifest
This refresh switches the CI for contributors to be triggered by merge
requests. Pushing to a branch in a fork will no longer run CI pipelines,
in order to avoid consuming CI minutes. To regain the original behaviour
contributors can opt-in to a pipeline on push
git push <remote> -o ci.variable=RUN_PIPELINE=1
This variable can also be set globally on the repository, through the
web UI options Settings -> CI/CD -> Variables, though this is not
recommended. Upstream repo pushes to branches will run CI.
The use of containers has changed in this update, with only the upstream
repo creating containers, in order to avoid consuming contributors'
limited storage quotas. A fork with existing container images may delete
them. Containers will be rebuilt upstream when pushing commits with CI
changes to the default branch. Any other scenario with CI changes will
simply install build pre-requisite packages in a throaway environment,
using the ci/buildenv/ scripts. These scripts may also be used on a
contributor's local machines.
With pipelines triggered by merge requests, it is also now possible to
workaround the inability of contributors to run pipelines if they have
run out of CI quota. A project member can trigger a pipeline from the
merge request, which will run in context of upstream, however, note
this should only be done after reviewing the code for any malicious
CI changes.
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-09-30 08:50:04 +00:00
|
|
|
git \
|
|
|
|
glibc-langpack-en \
|
|
|
|
grep \
|
|
|
|
iproute \
|
|
|
|
iproute-tc \
|
|
|
|
iptables \
|
|
|
|
iscsi-initiator-utils \
|
|
|
|
kmod \
|
2023-08-29 15:13:20 +00:00
|
|
|
libnbd-devel \
|
ci: refresh with latest lcitool manifest
This refresh switches the CI for contributors to be triggered by merge
requests. Pushing to a branch in a fork will no longer run CI pipelines,
in order to avoid consuming CI minutes. To regain the original behaviour
contributors can opt-in to a pipeline on push
git push <remote> -o ci.variable=RUN_PIPELINE=1
This variable can also be set globally on the repository, through the
web UI options Settings -> CI/CD -> Variables, though this is not
recommended. Upstream repo pushes to branches will run CI.
The use of containers has changed in this update, with only the upstream
repo creating containers, in order to avoid consuming contributors'
limited storage quotas. A fork with existing container images may delete
them. Containers will be rebuilt upstream when pushing commits with CI
changes to the default branch. Any other scenario with CI changes will
simply install build pre-requisite packages in a throaway environment,
using the ci/buildenv/ scripts. These scripts may also be used on a
contributor's local machines.
With pipelines triggered by merge requests, it is also now possible to
workaround the inability of contributors to run pipelines if they have
run out of CI quota. A project member can trigger a pipeline from the
merge request, which will run in context of upstream, however, note
this should only be done after reviewing the code for any malicious
CI changes.
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-09-30 08:50:04 +00:00
|
|
|
libxml2 \
|
|
|
|
libxslt \
|
|
|
|
lvm2 \
|
|
|
|
make \
|
|
|
|
meson \
|
|
|
|
nfs-utils \
|
|
|
|
ninja-build \
|
|
|
|
numad \
|
|
|
|
perl-base \
|
|
|
|
polkit \
|
|
|
|
python3 \
|
2023-11-30 18:31:57 +00:00
|
|
|
python3-black \
|
ci: refresh with latest lcitool manifest
This refresh switches the CI for contributors to be triggered by merge
requests. Pushing to a branch in a fork will no longer run CI pipelines,
in order to avoid consuming CI minutes. To regain the original behaviour
contributors can opt-in to a pipeline on push
git push <remote> -o ci.variable=RUN_PIPELINE=1
This variable can also be set globally on the repository, through the
web UI options Settings -> CI/CD -> Variables, though this is not
recommended. Upstream repo pushes to branches will run CI.
The use of containers has changed in this update, with only the upstream
repo creating containers, in order to avoid consuming contributors'
limited storage quotas. A fork with existing container images may delete
them. Containers will be rebuilt upstream when pushing commits with CI
changes to the default branch. Any other scenario with CI changes will
simply install build pre-requisite packages in a throaway environment,
using the ci/buildenv/ scripts. These scripts may also be used on a
contributor's local machines.
With pipelines triggered by merge requests, it is also now possible to
workaround the inability of contributors to run pipelines if they have
run out of CI quota. A project member can trigger a pipeline from the
merge request, which will run in context of upstream, however, note
this should only be done after reviewing the code for any malicious
CI changes.
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-09-30 08:50:04 +00:00
|
|
|
python3-docutils \
|
|
|
|
python3-flake8 \
|
2023-11-28 18:23:52 +00:00
|
|
|
python3-pytest \
|
ci: refresh with latest lcitool manifest
This refresh switches the CI for contributors to be triggered by merge
requests. Pushing to a branch in a fork will no longer run CI pipelines,
in order to avoid consuming CI minutes. To regain the original behaviour
contributors can opt-in to a pipeline on push
git push <remote> -o ci.variable=RUN_PIPELINE=1
This variable can also be set globally on the repository, through the
web UI options Settings -> CI/CD -> Variables, though this is not
recommended. Upstream repo pushes to branches will run CI.
The use of containers has changed in this update, with only the upstream
repo creating containers, in order to avoid consuming contributors'
limited storage quotas. A fork with existing container images may delete
them. Containers will be rebuilt upstream when pushing commits with CI
changes to the default branch. Any other scenario with CI changes will
simply install build pre-requisite packages in a throaway environment,
using the ci/buildenv/ scripts. These scripts may also be used on a
contributor's local machines.
With pipelines triggered by merge requests, it is also now possible to
workaround the inability of contributors to run pipelines if they have
run out of CI quota. A project member can trigger a pipeline from the
merge request, which will run in context of upstream, however, note
this should only be done after reviewing the code for any malicious
CI changes.
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-09-30 08:50:04 +00:00
|
|
|
qemu-img \
|
|
|
|
rpm-build \
|
|
|
|
sed \
|
|
|
|
systemd-rpm-macros && \
|
2020-12-14 15:24:37 +00:00
|
|
|
nosync dnf autoremove -y && \
|
2021-10-20 10:37:16 +00:00
|
|
|
nosync dnf clean all -y
|
2020-06-02 15:28:57 +00:00
|
|
|
|
ci: refresh with latest lcitool manifest
This refresh switches the CI for contributors to be triggered by merge
requests. Pushing to a branch in a fork will no longer run CI pipelines,
in order to avoid consuming CI minutes. To regain the original behaviour
contributors can opt-in to a pipeline on push
git push <remote> -o ci.variable=RUN_PIPELINE=1
This variable can also be set globally on the repository, through the
web UI options Settings -> CI/CD -> Variables, though this is not
recommended. Upstream repo pushes to branches will run CI.
The use of containers has changed in this update, with only the upstream
repo creating containers, in order to avoid consuming contributors'
limited storage quotas. A fork with existing container images may delete
them. Containers will be rebuilt upstream when pushing commits with CI
changes to the default branch. Any other scenario with CI changes will
simply install build pre-requisite packages in a throaway environment,
using the ci/buildenv/ scripts. These scripts may also be used on a
contributor's local machines.
With pipelines triggered by merge requests, it is also now possible to
workaround the inability of contributors to run pipelines if they have
run out of CI quota. A project member can trigger a pipeline from the
merge request, which will run in context of upstream, however, note
this should only be done after reviewing the code for any malicious
CI changes.
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-09-30 08:50:04 +00:00
|
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|
2021-12-22 16:24:43 +00:00
|
|
|
ENV LANG "en_US.UTF-8"
|
|
|
|
ENV MAKE "/usr/bin/make"
|
|
|
|
ENV NINJA "/usr/bin/ninja"
|
|
|
|
ENV PYTHON "/usr/bin/python3"
|
|
|
|
|
2020-12-14 15:24:37 +00:00
|
|
|
RUN nosync dnf install -y \
|
ci: refresh with latest lcitool manifest
This refresh switches the CI for contributors to be triggered by merge
requests. Pushing to a branch in a fork will no longer run CI pipelines,
in order to avoid consuming CI minutes. To regain the original behaviour
contributors can opt-in to a pipeline on push
git push <remote> -o ci.variable=RUN_PIPELINE=1
This variable can also be set globally on the repository, through the
web UI options Settings -> CI/CD -> Variables, though this is not
recommended. Upstream repo pushes to branches will run CI.
The use of containers has changed in this update, with only the upstream
repo creating containers, in order to avoid consuming contributors'
limited storage quotas. A fork with existing container images may delete
them. Containers will be rebuilt upstream when pushing commits with CI
changes to the default branch. Any other scenario with CI changes will
simply install build pre-requisite packages in a throaway environment,
using the ci/buildenv/ scripts. These scripts may also be used on a
contributor's local machines.
With pipelines triggered by merge requests, it is also now possible to
workaround the inability of contributors to run pipelines if they have
run out of CI quota. A project member can trigger a pipeline from the
merge request, which will run in context of upstream, however, note
this should only be done after reviewing the code for any malicious
CI changes.
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-09-30 08:50:04 +00:00
|
|
|
mingw32-curl \
|
|
|
|
mingw32-dlfcn \
|
|
|
|
mingw32-gcc \
|
|
|
|
mingw32-gettext \
|
|
|
|
mingw32-glib2 \
|
|
|
|
mingw32-gnutls \
|
|
|
|
mingw32-headers \
|
|
|
|
mingw32-libssh2 \
|
|
|
|
mingw32-libxml2 \
|
|
|
|
mingw32-pkg-config \
|
|
|
|
mingw32-portablexdr \
|
|
|
|
mingw32-readline && \
|
2021-10-20 10:37:16 +00:00
|
|
|
nosync dnf clean all -y && \
|
|
|
|
rpm -qa | sort > /packages.txt && \
|
|
|
|
mkdir -p /usr/libexec/ccache-wrappers && \
|
|
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-cc && \
|
|
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-gcc
|
2020-06-02 15:28:57 +00:00
|
|
|
|
|
|
|
ENV ABI "i686-w64-mingw32"
|
|
|
|
ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw32.meson"
|