Codebase list virt-viewer / a0f00df
ci: re-generate containers/gitlab config from manifest This uses the command "lcitool manifest ci/manifest.yml" to re-generate all existing dockerfiles and gitlab CI config. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Daniel P. Berrangé 2 years ago
27 changed file(s) with 1054 addition(s) and 978 deletion(s). Raw diff Collapse all Expand all
11 - containers
22 - builds
33 - sanity_checks
4
5 .container_job_template: &container_job_definition
6 image: docker:stable
7 stage: containers
8 services:
9 - name: registry.gitlab.com/libvirt/libvirt-ci/docker-dind:master
10 alias: docker
11 before_script:
12 - export TAG="$CI_REGISTRY_IMAGE/ci-$NAME:latest"
13 - export COMMON_TAG="$CI_REGISTRY/virt-viewer/virt-viewer/ci-$NAME:latest"
14 - docker info
15 - docker login registry.gitlab.com -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
16 script:
17 - docker pull "$TAG" || docker pull "$COMMON_TAG" || true
18 - docker build --cache-from "$TAG" --cache-from "$COMMON_TAG" --tag "$TAG" -f "ci/containers/ci-$NAME.Dockerfile" ci/containers
19 - docker push "$TAG"
20 after_script:
21 - docker logout
224
235 .script_variables: &script_variables |
246 export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
2911 export PATH="$VROOT/bin:$PATH"
3012 export PKG_CONFIG_PATH="$LIBDIR/pkgconfig"
3113
32 .dist_native_build_job_template: &dist_native_build_job_definition
33 image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
34 stage: builds
14 .native_build_job:
15 extends: .gitlab_native_build_job
3516 before_script:
3617 - *script_variables
3718 script:
4223 rpmbuild --nodeps -ta build/meson-dist/virt-viewer-*.tar.xz;
4324 fi
4425
45 .git_native_build_job_template: &git_native_build_job_definition
46 image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
47 stage: builds
26 .native_git_build_job:
27 extends: .gitlab_native_build_job
4828 before_script:
4929 - *script_variables
5030 script:
7252 rpmbuild --nodeps -ta build/meson-dist/virt-viewer-*.tar.xz;
7353 fi
7454
75 # Default cross build jobs that are always run
76 .git_cross_build_default_job_template: &git_cross_build_default_job_definition
55 .cross_build_job:
56 extends: .gitlab_cross_build_job
7757 image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
78 stage: builds
7958 cache:
8059 paths:
8160 - ccache/
8362 before_script:
8463 - *script_variables
8564 script:
86 - pushd "$PWD"
87 - mkdir -p "$SCRATCH_DIR"
88 - cd "$SCRATCH_DIR"
89 - git clone --depth 1 https://gitlab.com/libvirt/libvirt.git
90 - git clone --depth 1 https://gitlab.com/libvirt/libvirt-glib.git
91 - git clone --depth 1 https://gitlab.gnome.org/GNOME/gtk-vnc.git
92 - cd libvirt
93 - meson build -Ddriver_libvirtd=disabled "--prefix=$VROOT" "--libdir=$LIBDIR" $MESON_OPTS
94 - ninja -C build install
95 - cd ../libvirt-glib
96 - meson build --prefix="$VROOT" --libdir="$LIBDIR" -Ddocs=disabled $MESON_OPTS
97 - $NINJA -C build install
98 - cd ../gtk-vnc
99 - git submodule update --init
100 - meson build $MESON_OPTS --prefix="$VROOT" --libdir="$LIBDIR" -Dintrospection=disabled
101 - $NINJA -C build install
102 - popd
10365 - meson build $MESON_OPTS
10466 - $NINJA -C build
10567
106 # Check that all commits are signed-off for the DCO.
107 # Skip on "virt-viewer" namespace, since we only need to run
108 # this test on developer's personal forks from which
109 # merge requests are submitted
110 check-dco:
111 stage: sanity_checks
112 needs: []
113 image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:master
114 script:
115 - /check-dco virt-viewer
116 except:
117 variables:
118 - $CI_PROJECT_NAMESPACE == 'virt-viewer'
119
120 x86-centos-8-container:
121 <<: *container_job_definition
122 variables:
123 NAME: centos-8
124
125 x86-centos-stream-container:
126 <<: *container_job_definition
127 variables:
128 NAME: centos-stream
129
130 x86-debian-10-container:
131 <<: *container_job_definition
132 variables:
133 NAME: debian-10
134
135 x86-debian-sid-container:
136 <<: *container_job_definition
137 variables:
138 NAME: debian-sid
139
140 x86-fedora-32-container:
141 <<: *container_job_definition
142 variables:
143 NAME: fedora-32
144
145 x86-fedora-33-container:
146 <<: *container_job_definition
147 variables:
148 NAME: fedora-33
149
150 x86-fedora-rawhide-container:
151 <<: *container_job_definition
152 variables:
153 NAME: fedora-rawhide
154
155 x86-opensuse-152-container:
156 <<: *container_job_definition
157 variables:
158 NAME: opensuse-152
159
160 x86-ubuntu-1804-container:
161 <<: *container_job_definition
162 variables:
163 NAME: ubuntu-1804
164
165 x86-ubuntu-2004-container:
166 <<: *container_job_definition
167 variables:
168 NAME: ubuntu-2004
169
170 mingw32-fedora-rawhide-container:
171 <<: *container_job_definition
172 variables:
173 NAME: fedora-rawhide-cross-mingw32
174
175 mingw64-fedora-rawhide-container:
176 <<: *container_job_definition
177 variables:
178 NAME: fedora-rawhide-cross-mingw64
179
68 include: '/ci/gitlab.yml'
18069
18170 codestyle:
18271 stage: sanity_checks
18372 image: $CI_REGISTRY_IMAGE/ci-centos-8:latest
18473 needs:
185 - x86-centos-8-container
74 - x86_64-centos-8-container
18675 before_script:
18776 - *script_variables
18877 script:
18978 - meson build || (cat build/meson-logs/meson-log.txt && exit 1)
19079 - meson test -C build --suite syntax-check --no-rebuild || (cat build/meson-logs/testlog.txt && exit 1)
191
192 x86-centos-8-git-build:
193 <<: *git_native_build_job_definition
194 needs:
195 - x86-centos-8-container
196 variables:
197 NAME: centos-8
198 RPM: skip
199
200 x86-centos-stream-dist-build:
201 <<: *git_native_build_job_definition
202 needs:
203 - x86-centos-stream-container
204 variables:
205 NAME: centos-stream
206 RPM: skip
207
208 x86-debian-10-dist-build:
209 <<: *dist_native_build_job_definition
210 needs:
211 - x86-debian-10-container
212 variables:
213 NAME: debian-10
214
215 x86-debian-sid-dist-build:
216 <<: *dist_native_build_job_definition
217 needs:
218 - x86-debian-sid-container
219 variables:
220 NAME: debian-sid
221
222 x86-fedora-32-dist-build:
223 <<: *dist_native_build_job_definition
224 needs:
225 - x86-fedora-32-container
226 variables:
227 NAME: fedora-32
228
229 x86-fedora-33-dist-build:
230 <<: *dist_native_build_job_definition
231 needs:
232 - x86-fedora-33-container
233 variables:
234 NAME: fedora-33
235
236 x86-fedora-rawhide-dist-build:
237 <<: *dist_native_build_job_definition
238 needs:
239 - x86-fedora-rawhide-container
240 variables:
241 NAME: fedora-rawhide
242
243 x86-opensuse-152-dist-build:
244 <<: *dist_native_build_job_definition
245 needs:
246 - x86-opensuse-152-container
247 variables:
248 NAME: opensuse-152
249 RPM: skip
250
251 x86-ubuntu-1804-dist-build:
252 <<: *dist_native_build_job_definition
253 needs:
254 - x86-ubuntu-1804-container
255 variables:
256 NAME: ubuntu-1804
257
258 x86-ubuntu-2004-dist-build:
259 <<: *dist_native_build_job_definition
260 needs:
261 - x86-ubuntu-2004-container
262 variables:
263 NAME: ubuntu-2004
264
265 mingw32-fedora-rawhide-git-build:
266 <<: *git_cross_build_default_job_definition
267 needs:
268 - mingw32-fedora-rawhide-container
269 variables:
270 NAME: fedora-rawhide-cross-mingw32
271 artifacts:
272 name: 'x86-msi'
273 when: on_success
274 expire_in: 30 days
275 paths:
276 - data/virt-viewer-x86*.msi.pot
277
278 mingw64-fedora-rawhide-git-build:
279 <<: *git_cross_build_default_job_definition
280 needs:
281 - mingw64-fedora-rawhide-container
282 variables:
283 NAME: fedora-rawhide-cross-mingw64
284 artifacts:
285 name: 'x64-msi'
286 when: on_success
287 expire_in: 30 days
288 paths:
289 - data/virt-viewer-x64*.msi.pot
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM docker.io/library/centos:8
7
8 RUN dnf update -y && \
9 dnf install 'dnf-command(config-manager)' -y && \
10 dnf config-manager --set-enabled -y powertools && \
11 dnf install -y centos-release-advanced-virtualization && \
12 dnf install -y epel-release && \
13 dnf install -y \
14 audit-libs-devel \
15 augeas \
16 bash-completion \
17 ca-certificates \
18 ccache \
19 clang \
20 cpp \
21 cyrus-sasl-devel \
22 dbus-devel \
23 device-mapper-devel \
24 diffutils \
25 dnsmasq \
26 dwarves \
27 ebtables \
28 firewalld-filesystem \
29 fuse-devel \
30 gcc \
31 gdk-pixbuf2-devel \
32 gettext \
33 git \
34 glib2-devel \
35 glibc-devel \
36 glibc-langpack-en \
37 glusterfs-api-devel \
38 gnutls-devel \
39 gobject-introspection-devel \
40 grep \
41 gtk-doc \
42 gtk3-devel \
43 icoutils \
44 intltool \
45 iproute \
46 iproute-tc \
47 iptables \
48 iscsi-initiator-utils \
49 kmod \
50 libacl-devel \
51 libattr-devel \
52 libblkid-devel \
53 libcap-ng-devel \
54 libcurl-devel \
55 libgcrypt-devel \
56 libiscsi-devel \
57 libnl3-devel \
58 libpcap-devel \
59 libpciaccess-devel \
60 librbd-devel \
61 libselinux-devel \
62 libssh-devel \
63 libssh2-devel \
64 libtirpc-devel \
65 libtool \
66 libudev-devel \
67 libwsman-devel \
68 libxml2 \
69 libxml2-devel \
70 libxslt \
71 lvm2 \
72 make \
73 netcf-devel \
74 nfs-utils \
75 ninja-build \
76 numactl-devel \
77 numad \
78 parted \
79 parted-devel \
80 perl \
81 pkgconfig \
82 polkit \
83 pulseaudio-libs-devel \
84 python3 \
85 python3-docutils \
86 python3-flake8 \
87 python3-pip \
88 python3-setuptools \
89 python3-wheel \
90 qemu-img \
91 radvd \
92 readline-devel \
93 rpcgen \
94 rpm-build \
95 sanlock-devel \
96 scrub \
97 sed \
98 spice-gtk3-devel \
99 systemtap-sdt-devel \
100 vala \
101 vte291-devel \
102 wireshark-devel \
103 xfsprogs-devel \
104 yajl-devel && \
105 dnf autoremove -y && \
106 dnf clean all -y && \
107 rpm -qa | sort > /packages.txt && \
108 mkdir -p /usr/libexec/ccache-wrappers && \
109 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
110 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
111 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
112
113 RUN pip3 install \
114 meson==0.56.0
115
116 ENV LANG "en_US.UTF-8"
117 ENV MAKE "/usr/bin/make"
118 ENV NINJA "/usr/bin/ninja"
119 ENV PYTHON "/usr/bin/python3"
120 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM quay.io/centos/centos:stream8
7
8 RUN dnf update -y && \
9 dnf install 'dnf-command(config-manager)' -y && \
10 dnf config-manager --set-enabled -y powertools && \
11 dnf install -y centos-release-advanced-virtualization && \
12 dnf install -y epel-release && \
13 dnf install -y \
14 bash-completion \
15 ca-certificates \
16 ccache \
17 gcc \
18 git \
19 glib2-devel \
20 glibc-langpack-en \
21 gtk3-devel \
22 icoutils \
23 libtool \
24 libvirt-devel \
25 libxml2 \
26 libxml2-devel \
27 make \
28 ninja-build \
29 pkgconfig \
30 python3-pip \
31 python3-setuptools \
32 python3-wheel \
33 rpm-build \
34 spice-gtk3-devel \
35 vte291-devel && \
36 dnf autoremove -y && \
37 dnf clean all -y && \
38 rpm -qa | sort > /packages.txt && \
39 mkdir -p /usr/libexec/ccache-wrappers && \
40 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
41 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
42
43 RUN pip3 install \
44 meson==0.56.0
45
46 ENV LANG "en_US.UTF-8"
47 ENV MAKE "/usr/bin/make"
48 ENV NINJA "/usr/bin/ninja"
49 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-67
ci/containers/ci-centos-8.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile centos-8 libvirt+minimal,libvirt-glib,gtk-vnc,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM docker.io/library/centos:8
6
7 RUN dnf update -y && \
8 dnf install 'dnf-command(config-manager)' -y && \
9 dnf config-manager --set-enabled -y powertools && \
10 dnf install -y centos-release-advanced-virtualization && \
11 dnf install -y epel-release && \
12 dnf install -y \
13 bash-completion \
14 ca-certificates \
15 ccache \
16 cyrus-sasl-devel \
17 gcc \
18 gdk-pixbuf2-devel \
19 gettext \
20 git \
21 glib2-devel \
22 glibc-devel \
23 glibc-langpack-en \
24 gnutls-devel \
25 gobject-introspection-devel \
26 gtk-doc \
27 gtk3-devel \
28 icoutils \
29 intltool \
30 libgcrypt-devel \
31 libnl3-devel \
32 libtirpc-devel \
33 libtool \
34 libxml2 \
35 libxml2-devel \
36 libxslt \
37 make \
38 ninja-build \
39 perl \
40 pkgconfig \
41 pulseaudio-libs-devel \
42 python3 \
43 python3-docutils \
44 python3-pip \
45 python3-setuptools \
46 python3-wheel \
47 rpcgen \
48 rpm-build \
49 spice-gtk3-devel \
50 vala \
51 vte291-devel && \
52 dnf autoremove -y && \
53 dnf clean all -y && \
54 rpm -qa | sort > /packages.txt && \
55 mkdir -p /usr/libexec/ccache-wrappers && \
56 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
57 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
58
59 RUN pip3 install \
60 meson==0.54.0
61
62 ENV LANG "en_US.UTF-8"
63 ENV MAKE "/usr/bin/make"
64 ENV NINJA "/usr/bin/ninja"
65 ENV PYTHON "/usr/bin/python3"
66 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-69
ci/containers/ci-centos-stream.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile centos-stream-8 libvirt+minimal,libvirt-glib,gtk-vnc,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/6cd723b4affb2ee67e7d462dac480191c4b97598
5
6 FROM quay.io/centos/centos:stream8
7
8 RUN dnf update -y && \
9 dnf install 'dnf-command(config-manager)' -y && \
10 dnf config-manager --set-enabled -y powertools && \
11 dnf install -y centos-release-advanced-virtualization && \
12 dnf install -y epel-release && \
13 dnf install -y \
14 bash-completion \
15 ca-certificates \
16 ccache \
17 cpp \
18 cyrus-sasl-devel \
19 gcc \
20 gdk-pixbuf2-devel \
21 gettext \
22 git \
23 glib2-devel \
24 glibc-devel \
25 glibc-langpack-en \
26 gnutls-devel \
27 gobject-introspection-devel \
28 gtk-doc \
29 gtk3-devel \
30 icoutils \
31 intltool \
32 libgcrypt-devel \
33 libnl3-devel \
34 libtirpc-devel \
35 libtool \
36 libxml2 \
37 libxml2-devel \
38 libxslt \
39 make \
40 ninja-build \
41 perl \
42 pkgconfig \
43 pulseaudio-libs-devel \
44 python3 \
45 python3-docutils \
46 python3-pip \
47 python3-setuptools \
48 python3-wheel \
49 rpcgen \
50 rpm-build \
51 spice-gtk3-devel \
52 vala \
53 vte291-devel && \
54 dnf autoremove -y && \
55 dnf clean all -y && \
56 rpm -qa | sort > /packages.txt && \
57 mkdir -p /usr/libexec/ccache-wrappers && \
58 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
59 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
60
61 RUN pip3 install \
62 meson==0.56.0
63
64 ENV LANG "en_US.UTF-8"
65 ENV MAKE "/usr/bin/make"
66 ENV NINJA "/usr/bin/ninja"
67 ENV PYTHON "/usr/bin/python3"
68 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-54
ci/containers/ci-debian-10.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile debian-10 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM docker.io/library/debian:10-slim
6
7 RUN export DEBIAN_FRONTEND=noninteractive && \
8 apt-get update && \
9 apt-get install -y eatmydata && \
10 eatmydata apt-get dist-upgrade -y && \
11 eatmydata apt-get install --no-install-recommends -y \
12 bash-completion \
13 ca-certificates \
14 ccache \
15 gcc \
16 git \
17 icoutils \
18 libglib2.0-dev \
19 libgovirt-dev \
20 libgtk-3-dev \
21 libgtk-vnc-2.0-dev \
22 librest-dev \
23 libspice-client-gtk-3.0-dev \
24 libtool \
25 libtool-bin \
26 libvirt-dev \
27 libvirt-glib-1.0-dev \
28 libvte-2.91-dev \
29 libxml2-dev \
30 libxml2-utils \
31 locales \
32 make \
33 ninja-build \
34 pkgconf \
35 python3-pip \
36 python3-setuptools \
37 python3-wheel && \
38 eatmydata apt-get autoremove -y && \
39 eatmydata apt-get autoclean -y && \
40 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
41 dpkg-reconfigure locales && \
42 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
43 mkdir -p /usr/libexec/ccache-wrappers && \
44 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
45 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
46
47 RUN pip3 install \
48 meson==0.54.0
49
50 ENV LANG "en_US.UTF-8"
51 ENV MAKE "/usr/bin/make"
52 ENV NINJA "/usr/bin/ninja"
53 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-49
ci/containers/ci-debian-sid.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile debian-sid libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM docker.io/library/debian:sid-slim
6
7 RUN export DEBIAN_FRONTEND=noninteractive && \
8 apt-get update && \
9 apt-get install -y eatmydata && \
10 eatmydata apt-get dist-upgrade -y && \
11 eatmydata apt-get install --no-install-recommends -y \
12 bash-completion \
13 ca-certificates \
14 ccache \
15 gcc \
16 git \
17 icoutils \
18 libglib2.0-dev \
19 libgovirt-dev \
20 libgtk-3-dev \
21 libgtk-vnc-2.0-dev \
22 librest-dev \
23 libspice-client-gtk-3.0-dev \
24 libtool \
25 libtool-bin \
26 libvirt-dev \
27 libvirt-glib-1.0-dev \
28 libvte-2.91-dev \
29 libxml2-dev \
30 libxml2-utils \
31 locales \
32 make \
33 meson \
34 ninja-build \
35 pkgconf && \
36 eatmydata apt-get autoremove -y && \
37 eatmydata apt-get autoclean -y && \
38 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
39 dpkg-reconfigure locales && \
40 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
41 mkdir -p /usr/libexec/ccache-wrappers && \
42 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
43 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
44
45 ENV LANG "en_US.UTF-8"
46 ENV MAKE "/usr/bin/make"
47 ENV NINJA "/usr/bin/ninja"
48 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-54
ci/containers/ci-fedora-32.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile fedora-32 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM registry.fedoraproject.org/fedora:32
6
7 RUN dnf install -y nosync && \
8 echo -e '#!/bin/sh\n\
9 if test -d /usr/lib64\n\
10 then\n\
11 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
12 else\n\
13 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
14 fi\n\
15 exec "$@"' > /usr/bin/nosync && \
16 chmod +x /usr/bin/nosync && \
17 nosync dnf update -y && \
18 nosync dnf install -y \
19 bash-completion \
20 ca-certificates \
21 ccache \
22 gcc \
23 git \
24 glib2-devel \
25 glibc-langpack-en \
26 gtk-vnc2-devel \
27 gtk3-devel \
28 icoutils \
29 libgovirt-devel \
30 libtool \
31 libvirt-devel \
32 libvirt-gobject-devel \
33 libxml2 \
34 libxml2-devel \
35 make \
36 meson \
37 ninja-build \
38 pkgconfig \
39 rest-devel \
40 rpm-build \
41 spice-gtk3-devel \
42 vte291-devel && \
43 nosync dnf autoremove -y && \
44 nosync dnf clean all -y && \
45 rpm -qa | sort > /packages.txt && \
46 mkdir -p /usr/libexec/ccache-wrappers && \
47 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
48 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
49
50 ENV LANG "en_US.UTF-8"
51 ENV MAKE "/usr/bin/make"
52 ENV NINJA "/usr/bin/ninja"
53 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-54
ci/containers/ci-fedora-33.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile fedora-33 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM registry.fedoraproject.org/fedora:33
6
7 RUN dnf install -y nosync && \
8 echo -e '#!/bin/sh\n\
9 if test -d /usr/lib64\n\
10 then\n\
11 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
12 else\n\
13 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
14 fi\n\
15 exec "$@"' > /usr/bin/nosync && \
16 chmod +x /usr/bin/nosync && \
17 nosync dnf update -y && \
18 nosync dnf install -y \
19 bash-completion \
20 ca-certificates \
21 ccache \
22 gcc \
23 git \
24 glib2-devel \
25 glibc-langpack-en \
26 gtk-vnc2-devel \
27 gtk3-devel \
28 icoutils \
29 libgovirt-devel \
30 libtool \
31 libvirt-devel \
32 libvirt-gobject-devel \
33 libxml2 \
34 libxml2-devel \
35 make \
36 meson \
37 ninja-build \
38 pkgconfig \
39 rest-devel \
40 rpm-build \
41 spice-gtk3-devel \
42 vte291-devel && \
43 nosync dnf autoremove -y && \
44 nosync dnf clean all -y && \
45 rpm -qa | sort > /packages.txt && \
46 mkdir -p /usr/libexec/ccache-wrappers && \
47 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
48 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
49
50 ENV LANG "en_US.UTF-8"
51 ENV MAKE "/usr/bin/make"
52 ENV NINJA "/usr/bin/ninja"
53 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-102
ci/containers/ci-fedora-rawhide-cross-mingw32.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile --cross mingw32 fedora-rawhide libvirt,libvirt-glib,gtk-vnc,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM registry.fedoraproject.org/fedora:rawhide
6
7 RUN dnf install -y nosync && \
8 echo -e '#!/bin/sh\n\
9 if test -d /usr/lib64\n\
10 then\n\
11 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
12 else\n\
13 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
14 fi\n\
15 exec "$@"' > /usr/bin/nosync && \
16 chmod +x /usr/bin/nosync && \
17 nosync dnf update -y --nogpgcheck fedora-gpg-keys && \
18 nosync dnf update -y && \
19 nosync dnf install -y \
20 augeas \
21 bash-completion \
22 ca-certificates \
23 ccache \
24 cppi \
25 diffutils \
26 dnsmasq \
27 dwarves \
28 ebtables \
29 firewalld-filesystem \
30 git \
31 glibc-langpack-en \
32 gtk-doc \
33 icoutils \
34 intltool \
35 iproute \
36 iproute-tc \
37 iscsi-initiator-utils \
38 kmod \
39 libtool \
40 libwsman-devel \
41 libxml2 \
42 libxslt \
43 lvm2 \
44 make \
45 meson \
46 nfs-utils \
47 ninja-build \
48 numad \
49 parted \
50 perl \
51 polkit \
52 python3 \
53 python3-docutils \
54 python3-flake8 \
55 qemu-img \
56 radvd \
57 rpcgen \
58 rpm-build \
59 scrub \
60 sheepdog \
61 vala \
62 zfs-fuse && \
63 nosync dnf autoremove -y && \
64 nosync dnf clean all -y && \
65 rpm -qa | sort > /packages.txt && \
66 mkdir -p /usr/libexec/ccache-wrappers && \
67 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-cc && \
68 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-$(basename /usr/bin/gcc)
69
70 RUN nosync dnf install -y \
71 mingw32-curl \
72 mingw32-dbus \
73 mingw32-dlfcn \
74 mingw32-gcc \
75 mingw32-gdk-pixbuf \
76 mingw32-gettext \
77 mingw32-glib2 \
78 mingw32-gnutls \
79 mingw32-gstreamer1-plugins-bad-free \
80 mingw32-gstreamer1-plugins-good \
81 mingw32-gtk3 \
82 mingw32-headers \
83 mingw32-libgcrypt \
84 mingw32-libgovirt \
85 mingw32-libssh2 \
86 mingw32-libxml2 \
87 mingw32-pkg-config \
88 mingw32-portablexdr \
89 mingw32-readline \
90 mingw32-rest \
91 mingw32-spice-gtk3 && \
92 nosync dnf clean all -y
93
94 ENV LANG "en_US.UTF-8"
95 ENV MAKE "/usr/bin/make"
96 ENV NINJA "/usr/bin/ninja"
97 ENV PYTHON "/usr/bin/python3"
98 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
99
100 ENV ABI "i686-w64-mingw32"
101 ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw32.meson"
+0
-102
ci/containers/ci-fedora-rawhide-cross-mingw64.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile --cross mingw64 fedora-rawhide libvirt,libvirt-glib,gtk-vnc,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM registry.fedoraproject.org/fedora:rawhide
6
7 RUN dnf install -y nosync && \
8 echo -e '#!/bin/sh\n\
9 if test -d /usr/lib64\n\
10 then\n\
11 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
12 else\n\
13 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
14 fi\n\
15 exec "$@"' > /usr/bin/nosync && \
16 chmod +x /usr/bin/nosync && \
17 nosync dnf update -y --nogpgcheck fedora-gpg-keys && \
18 nosync dnf update -y && \
19 nosync dnf install -y \
20 augeas \
21 bash-completion \
22 ca-certificates \
23 ccache \
24 cppi \
25 diffutils \
26 dnsmasq \
27 dwarves \
28 ebtables \
29 firewalld-filesystem \
30 git \
31 glibc-langpack-en \
32 gtk-doc \
33 icoutils \
34 intltool \
35 iproute \
36 iproute-tc \
37 iscsi-initiator-utils \
38 kmod \
39 libtool \
40 libwsman-devel \
41 libxml2 \
42 libxslt \
43 lvm2 \
44 make \
45 meson \
46 nfs-utils \
47 ninja-build \
48 numad \
49 parted \
50 perl \
51 polkit \
52 python3 \
53 python3-docutils \
54 python3-flake8 \
55 qemu-img \
56 radvd \
57 rpcgen \
58 rpm-build \
59 scrub \
60 sheepdog \
61 vala \
62 zfs-fuse && \
63 nosync dnf autoremove -y && \
64 nosync dnf clean all -y && \
65 rpm -qa | sort > /packages.txt && \
66 mkdir -p /usr/libexec/ccache-wrappers && \
67 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-cc && \
68 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-$(basename /usr/bin/gcc)
69
70 RUN nosync dnf install -y \
71 mingw64-curl \
72 mingw64-dbus \
73 mingw64-dlfcn \
74 mingw64-gcc \
75 mingw64-gdk-pixbuf \
76 mingw64-gettext \
77 mingw64-glib2 \
78 mingw64-gnutls \
79 mingw64-gstreamer1-plugins-bad-free \
80 mingw64-gstreamer1-plugins-good \
81 mingw64-gtk3 \
82 mingw64-headers \
83 mingw64-libgcrypt \
84 mingw64-libgovirt \
85 mingw64-libssh2 \
86 mingw64-libxml2 \
87 mingw64-pkg-config \
88 mingw64-portablexdr \
89 mingw64-readline \
90 mingw64-rest \
91 mingw64-spice-gtk3 && \
92 nosync dnf clean all -y
93
94 ENV LANG "en_US.UTF-8"
95 ENV MAKE "/usr/bin/make"
96 ENV NINJA "/usr/bin/ninja"
97 ENV PYTHON "/usr/bin/python3"
98 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
99
100 ENV ABI "x86_64-w64-mingw32"
101 ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw64.meson"
+0
-55
ci/containers/ci-fedora-rawhide.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile fedora-rawhide libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM registry.fedoraproject.org/fedora:rawhide
6
7 RUN dnf install -y nosync && \
8 echo -e '#!/bin/sh\n\
9 if test -d /usr/lib64\n\
10 then\n\
11 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
12 else\n\
13 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
14 fi\n\
15 exec "$@"' > /usr/bin/nosync && \
16 chmod +x /usr/bin/nosync && \
17 nosync dnf update -y --nogpgcheck fedora-gpg-keys && \
18 nosync dnf update -y && \
19 nosync dnf install -y \
20 bash-completion \
21 ca-certificates \
22 ccache \
23 gcc \
24 git \
25 glib2-devel \
26 glibc-langpack-en \
27 gtk-vnc2-devel \
28 gtk3-devel \
29 icoutils \
30 libgovirt-devel \
31 libtool \
32 libvirt-devel \
33 libvirt-gobject-devel \
34 libxml2 \
35 libxml2-devel \
36 make \
37 meson \
38 ninja-build \
39 pkgconfig \
40 rest-devel \
41 rpm-build \
42 spice-gtk3-devel \
43 vte291-devel && \
44 nosync dnf autoremove -y && \
45 nosync dnf clean all -y && \
46 rpm -qa | sort > /packages.txt && \
47 mkdir -p /usr/libexec/ccache-wrappers && \
48 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
49 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
50
51 ENV LANG "en_US.UTF-8"
52 ENV MAKE "/usr/bin/make"
53 ENV NINJA "/usr/bin/ninja"
54 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-48
ci/containers/ci-opensuse-152.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile opensuse-152 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM registry.opensuse.org/opensuse/leap:15.2
6
7 RUN zypper update -y && \
8 zypper install -y \
9 bash-completion \
10 ca-certificates \
11 ccache \
12 gcc \
13 git \
14 glib2-devel \
15 glibc-locale \
16 gtk-vnc-devel \
17 gtk3-devel \
18 icoutils \
19 libgovirt-devel \
20 librest-devel \
21 libtool \
22 libvirt-devel \
23 libvirt-glib-devel \
24 libxml2 \
25 libxml2-devel \
26 make \
27 ninja \
28 pkgconfig \
29 python3-pip \
30 python3-setuptools \
31 python3-wheel \
32 rpm-build \
33 spice-gtk-devel \
34 vte-devel && \
35 zypper clean --all && \
36 rpm -qa | sort > /packages.txt && \
37 mkdir -p /usr/libexec/ccache-wrappers && \
38 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
39 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
40
41 RUN pip3 install \
42 meson==0.54.0
43
44 ENV LANG "en_US.UTF-8"
45 ENV MAKE "/usr/bin/make"
46 ENV NINJA "/usr/bin/ninja"
47 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-53
ci/containers/ci-ubuntu-1804.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile ubuntu-1804 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM docker.io/library/ubuntu:18.04
6
7 RUN export DEBIAN_FRONTEND=noninteractive && \
8 apt-get update && \
9 apt-get install -y eatmydata && \
10 eatmydata apt-get dist-upgrade -y && \
11 eatmydata apt-get install --no-install-recommends -y \
12 bash-completion \
13 ca-certificates \
14 ccache \
15 gcc \
16 git \
17 icoutils \
18 libglib2.0-dev \
19 libgtk-3-dev \
20 libgtk-vnc-2.0-dev \
21 librest-dev \
22 libspice-client-gtk-3.0-dev \
23 libtool \
24 libtool-bin \
25 libvirt-dev \
26 libvirt-glib-1.0-dev \
27 libvte-2.91-dev \
28 libxml2-dev \
29 libxml2-utils \
30 locales \
31 make \
32 ninja-build \
33 pkgconf \
34 python3-pip \
35 python3-setuptools \
36 python3-wheel && \
37 eatmydata apt-get autoremove -y && \
38 eatmydata apt-get autoclean -y && \
39 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
40 dpkg-reconfigure locales && \
41 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
42 mkdir -p /usr/libexec/ccache-wrappers && \
43 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
44 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
45
46 RUN pip3 install \
47 meson==0.54.0
48
49 ENV LANG "en_US.UTF-8"
50 ENV MAKE "/usr/bin/make"
51 ENV NINJA "/usr/bin/ninja"
52 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+0
-53
ci/containers/ci-ubuntu-2004.Dockerfile less more
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool dockerfile ubuntu-2004 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
3 #
4 # https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
5 FROM docker.io/library/ubuntu:20.04
6
7 RUN export DEBIAN_FRONTEND=noninteractive && \
8 apt-get update && \
9 apt-get install -y eatmydata && \
10 eatmydata apt-get dist-upgrade -y && \
11 eatmydata apt-get install --no-install-recommends -y \
12 bash-completion \
13 ca-certificates \
14 ccache \
15 gcc \
16 git \
17 icoutils \
18 libglib2.0-dev \
19 libgtk-3-dev \
20 libgtk-vnc-2.0-dev \
21 librest-dev \
22 libspice-client-gtk-3.0-dev \
23 libtool \
24 libtool-bin \
25 libvirt-dev \
26 libvirt-glib-1.0-dev \
27 libvte-2.91-dev \
28 libxml2-dev \
29 libxml2-utils \
30 locales \
31 make \
32 ninja-build \
33 pkgconf \
34 python3-pip \
35 python3-setuptools \
36 python3-wheel && \
37 eatmydata apt-get autoremove -y && \
38 eatmydata apt-get autoclean -y && \
39 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
40 dpkg-reconfigure locales && \
41 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
42 mkdir -p /usr/libexec/ccache-wrappers && \
43 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
44 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
45
46 RUN pip3 install \
47 meson==0.54.0
48
49 ENV LANG "en_US.UTF-8"
50 ENV MAKE "/usr/bin/make"
51 ENV NINJA "/usr/bin/ninja"
52 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM docker.io/library/debian:10-slim
7
8 RUN export DEBIAN_FRONTEND=noninteractive && \
9 apt-get update && \
10 apt-get install -y eatmydata && \
11 eatmydata apt-get dist-upgrade -y && \
12 eatmydata apt-get install --no-install-recommends -y \
13 bash-completion \
14 ca-certificates \
15 ccache \
16 gcc \
17 git \
18 icoutils \
19 libglib2.0-dev \
20 libgovirt-dev \
21 libgtk-3-dev \
22 libgtk-vnc-2.0-dev \
23 librest-dev \
24 libspice-client-gtk-3.0-dev \
25 libtool \
26 libtool-bin \
27 libvirt-dev \
28 libvirt-glib-1.0-dev \
29 libvte-2.91-dev \
30 libxml2-dev \
31 libxml2-utils \
32 locales \
33 make \
34 ninja-build \
35 pkgconf \
36 python3-pip \
37 python3-setuptools \
38 python3-wheel && \
39 eatmydata apt-get autoremove -y && \
40 eatmydata apt-get autoclean -y && \
41 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
42 dpkg-reconfigure locales && \
43 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
44 mkdir -p /usr/libexec/ccache-wrappers && \
45 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
46 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
47
48 RUN pip3 install \
49 meson==0.56.0
50
51 ENV LANG "en_US.UTF-8"
52 ENV MAKE "/usr/bin/make"
53 ENV NINJA "/usr/bin/ninja"
54 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM docker.io/library/debian:sid-slim
7
8 RUN export DEBIAN_FRONTEND=noninteractive && \
9 apt-get update && \
10 apt-get install -y eatmydata && \
11 eatmydata apt-get dist-upgrade -y && \
12 eatmydata apt-get install --no-install-recommends -y \
13 bash-completion \
14 ca-certificates \
15 ccache \
16 gcc \
17 git \
18 icoutils \
19 libglib2.0-dev \
20 libgovirt-dev \
21 libgtk-3-dev \
22 libgtk-vnc-2.0-dev \
23 librest-dev \
24 libspice-client-gtk-3.0-dev \
25 libtool \
26 libtool-bin \
27 libvirt-dev \
28 libvirt-glib-1.0-dev \
29 libvte-2.91-dev \
30 libxml2-dev \
31 libxml2-utils \
32 locales \
33 make \
34 meson \
35 ninja-build \
36 pkgconf && \
37 eatmydata apt-get autoremove -y && \
38 eatmydata apt-get autoclean -y && \
39 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
40 dpkg-reconfigure locales && \
41 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
42 mkdir -p /usr/libexec/ccache-wrappers && \
43 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
44 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
45
46 ENV LANG "en_US.UTF-8"
47 ENV MAKE "/usr/bin/make"
48 ENV NINJA "/usr/bin/ninja"
49 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM registry.fedoraproject.org/fedora:33
7
8 RUN dnf install -y nosync && \
9 echo -e '#!/bin/sh\n\
10 if test -d /usr/lib64\n\
11 then\n\
12 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
13 else\n\
14 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
15 fi\n\
16 exec "$@"' > /usr/bin/nosync && \
17 chmod +x /usr/bin/nosync && \
18 nosync dnf update -y && \
19 nosync dnf install -y \
20 bash-completion \
21 ca-certificates \
22 ccache \
23 gcc \
24 git \
25 glib2-devel \
26 glibc-langpack-en \
27 gtk-vnc2-devel \
28 gtk3-devel \
29 icoutils \
30 libgovirt-devel \
31 libtool \
32 libvirt-devel \
33 libvirt-gobject-devel \
34 libxml2 \
35 libxml2-devel \
36 make \
37 meson \
38 ninja-build \
39 pkgconfig \
40 rest-devel \
41 rpm-build \
42 spice-gtk3-devel \
43 vte291-devel && \
44 nosync dnf autoremove -y && \
45 nosync dnf clean all -y && \
46 rpm -qa | sort > /packages.txt && \
47 mkdir -p /usr/libexec/ccache-wrappers && \
48 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
49 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
50
51 ENV LANG "en_US.UTF-8"
52 ENV MAKE "/usr/bin/make"
53 ENV NINJA "/usr/bin/ninja"
54 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM registry.fedoraproject.org/fedora:34
7
8 RUN dnf install -y nosync && \
9 echo -e '#!/bin/sh\n\
10 if test -d /usr/lib64\n\
11 then\n\
12 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
13 else\n\
14 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
15 fi\n\
16 exec "$@"' > /usr/bin/nosync && \
17 chmod +x /usr/bin/nosync && \
18 nosync dnf update -y && \
19 nosync dnf install -y \
20 bash-completion \
21 ca-certificates \
22 ccache \
23 gcc \
24 git \
25 glib2-devel \
26 glibc-langpack-en \
27 gtk-vnc2-devel \
28 gtk3-devel \
29 icoutils \
30 libgovirt-devel \
31 libtool \
32 libvirt-devel \
33 libvirt-gobject-devel \
34 libxml2 \
35 libxml2-devel \
36 make \
37 meson \
38 ninja-build \
39 pkgconfig \
40 rest-devel \
41 rpm-build \
42 spice-gtk3-devel \
43 vte291-devel && \
44 nosync dnf autoremove -y && \
45 nosync dnf clean all -y && \
46 rpm -qa | sort > /packages.txt && \
47 mkdir -p /usr/libexec/ccache-wrappers && \
48 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
49 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
50
51 ENV LANG "en_US.UTF-8"
52 ENV MAKE "/usr/bin/make"
53 ENV NINJA "/usr/bin/ninja"
54 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM registry.fedoraproject.org/fedora:rawhide
7
8 RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
9 dnf install -y nosync && \
10 echo -e '#!/bin/sh\n\
11 if test -d /usr/lib64\n\
12 then\n\
13 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
14 else\n\
15 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
16 fi\n\
17 exec "$@"' > /usr/bin/nosync && \
18 chmod +x /usr/bin/nosync && \
19 nosync dnf update -y && \
20 nosync dnf install -y \
21 bash-completion \
22 ca-certificates \
23 ccache \
24 git \
25 glibc-langpack-en \
26 gtk-vnc2-devel \
27 icoutils \
28 libtool \
29 libxml2 \
30 make \
31 meson \
32 ninja-build \
33 rpm-build && \
34 nosync dnf autoremove -y && \
35 nosync dnf clean all -y && \
36 rpm -qa | sort > /packages.txt && \
37 mkdir -p /usr/libexec/ccache-wrappers && \
38 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-cc && \
39 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-gcc
40
41 RUN nosync dnf install -y \
42 mingw32-gcc \
43 mingw32-glib2 \
44 mingw32-gstreamer1-plugins-bad-free \
45 mingw32-gstreamer1-plugins-good \
46 mingw32-gtk3 \
47 mingw32-libgovirt \
48 mingw32-libvirt \
49 mingw32-libxml2 \
50 mingw32-pkg-config \
51 mingw32-rest \
52 mingw32-spice-gtk3 && \
53 nosync dnf clean all -y
54
55 ENV LANG "en_US.UTF-8"
56 ENV MAKE "/usr/bin/make"
57 ENV NINJA "/usr/bin/ninja"
58 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
59
60 ENV ABI "i686-w64-mingw32"
61 ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw32.meson"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM registry.fedoraproject.org/fedora:rawhide
7
8 RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
9 dnf install -y nosync && \
10 echo -e '#!/bin/sh\n\
11 if test -d /usr/lib64\n\
12 then\n\
13 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
14 else\n\
15 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
16 fi\n\
17 exec "$@"' > /usr/bin/nosync && \
18 chmod +x /usr/bin/nosync && \
19 nosync dnf update -y && \
20 nosync dnf install -y \
21 bash-completion \
22 ca-certificates \
23 ccache \
24 git \
25 glibc-langpack-en \
26 gtk-vnc2-devel \
27 icoutils \
28 libtool \
29 libxml2 \
30 make \
31 meson \
32 ninja-build \
33 rpm-build && \
34 nosync dnf autoremove -y && \
35 nosync dnf clean all -y && \
36 rpm -qa | sort > /packages.txt && \
37 mkdir -p /usr/libexec/ccache-wrappers && \
38 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-cc && \
39 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-gcc
40
41 RUN nosync dnf install -y \
42 mingw64-gcc \
43 mingw64-glib2 \
44 mingw64-gstreamer1-plugins-bad-free \
45 mingw64-gstreamer1-plugins-good \
46 mingw64-gtk3 \
47 mingw64-libgovirt \
48 mingw64-libvirt \
49 mingw64-libxml2 \
50 mingw64-pkg-config \
51 mingw64-rest \
52 mingw64-spice-gtk3 && \
53 nosync dnf clean all -y
54
55 ENV LANG "en_US.UTF-8"
56 ENV MAKE "/usr/bin/make"
57 ENV NINJA "/usr/bin/ninja"
58 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
59
60 ENV ABI "x86_64-w64-mingw32"
61 ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw64.meson"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM registry.fedoraproject.org/fedora:rawhide
7
8 RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
9 dnf install -y nosync && \
10 echo -e '#!/bin/sh\n\
11 if test -d /usr/lib64\n\
12 then\n\
13 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
14 else\n\
15 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
16 fi\n\
17 exec "$@"' > /usr/bin/nosync && \
18 chmod +x /usr/bin/nosync && \
19 nosync dnf update -y && \
20 nosync dnf install -y \
21 bash-completion \
22 ca-certificates \
23 ccache \
24 gcc \
25 git \
26 glib2-devel \
27 glibc-langpack-en \
28 gtk-vnc2-devel \
29 gtk3-devel \
30 icoutils \
31 libgovirt-devel \
32 libtool \
33 libvirt-devel \
34 libvirt-gobject-devel \
35 libxml2 \
36 libxml2-devel \
37 make \
38 meson \
39 ninja-build \
40 pkgconfig \
41 rest-devel \
42 rpm-build \
43 spice-gtk3-devel \
44 vte291-devel && \
45 nosync dnf autoremove -y && \
46 nosync dnf clean all -y && \
47 rpm -qa | sort > /packages.txt && \
48 mkdir -p /usr/libexec/ccache-wrappers && \
49 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
50 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
51
52 ENV LANG "en_US.UTF-8"
53 ENV MAKE "/usr/bin/make"
54 ENV NINJA "/usr/bin/ninja"
55 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM registry.opensuse.org/opensuse/leap:15.2
7
8 RUN zypper update -y && \
9 zypper install -y \
10 bash-completion \
11 ca-certificates \
12 ccache \
13 gcc \
14 git \
15 glib2-devel \
16 glibc-locale \
17 gtk-vnc-devel \
18 gtk3-devel \
19 icoutils \
20 libgovirt-devel \
21 librest-devel \
22 libtool \
23 libvirt-devel \
24 libvirt-glib-devel \
25 libxml2 \
26 libxml2-devel \
27 make \
28 ninja \
29 pkgconfig \
30 python3-pip \
31 python3-setuptools \
32 python3-wheel \
33 rpm-build \
34 spice-gtk-devel \
35 vte-devel && \
36 zypper clean --all && \
37 rpm -qa | sort > /packages.txt && \
38 mkdir -p /usr/libexec/ccache-wrappers && \
39 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
40 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
41
42 RUN pip3 install \
43 meson==0.56.0
44
45 ENV LANG "en_US.UTF-8"
46 ENV MAKE "/usr/bin/make"
47 ENV NINJA "/usr/bin/ninja"
48 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM registry.opensuse.org/opensuse/tumbleweed:latest
7
8 RUN zypper update -y && \
9 zypper install -y \
10 bash-completion \
11 ca-certificates \
12 ccache \
13 gcc \
14 git \
15 glib2-devel \
16 glibc-locale \
17 gtk-vnc-devel \
18 gtk3-devel \
19 icoutils \
20 libgovirt-devel \
21 librest-devel \
22 libtool \
23 libvirt-devel \
24 libvirt-glib-devel \
25 libxml2 \
26 libxml2-devel \
27 make \
28 meson \
29 ninja \
30 pkgconfig \
31 rpm-build \
32 spice-gtk-devel \
33 vte-devel && \
34 zypper clean --all && \
35 rpm -qa | sort > /packages.txt && \
36 mkdir -p /usr/libexec/ccache-wrappers && \
37 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
38 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
39
40 ENV LANG "en_US.UTF-8"
41 ENV MAKE "/usr/bin/make"
42 ENV NINJA "/usr/bin/ninja"
43 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM docker.io/library/ubuntu:18.04
7
8 RUN export DEBIAN_FRONTEND=noninteractive && \
9 apt-get update && \
10 apt-get install -y eatmydata && \
11 eatmydata apt-get dist-upgrade -y && \
12 eatmydata apt-get install --no-install-recommends -y \
13 bash-completion \
14 ca-certificates \
15 ccache \
16 gcc \
17 git \
18 icoutils \
19 libglib2.0-dev \
20 libgtk-3-dev \
21 libgtk-vnc-2.0-dev \
22 librest-dev \
23 libspice-client-gtk-3.0-dev \
24 libtool \
25 libtool-bin \
26 libvirt-dev \
27 libvirt-glib-1.0-dev \
28 libvte-2.91-dev \
29 libxml2-dev \
30 libxml2-utils \
31 locales \
32 make \
33 ninja-build \
34 pkgconf \
35 python3-pip \
36 python3-setuptools \
37 python3-wheel && \
38 eatmydata apt-get autoremove -y && \
39 eatmydata apt-get autoclean -y && \
40 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
41 dpkg-reconfigure locales && \
42 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
43 mkdir -p /usr/libexec/ccache-wrappers && \
44 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
45 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
46
47 RUN pip3 install \
48 meson==0.56.0
49
50 ENV LANG "en_US.UTF-8"
51 ENV MAKE "/usr/bin/make"
52 ENV NINJA "/usr/bin/ninja"
53 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6 FROM docker.io/library/ubuntu:20.04
7
8 RUN export DEBIAN_FRONTEND=noninteractive && \
9 apt-get update && \
10 apt-get install -y eatmydata && \
11 eatmydata apt-get dist-upgrade -y && \
12 eatmydata apt-get install --no-install-recommends -y \
13 bash-completion \
14 ca-certificates \
15 ccache \
16 gcc \
17 git \
18 icoutils \
19 libglib2.0-dev \
20 libgtk-3-dev \
21 libgtk-vnc-2.0-dev \
22 librest-dev \
23 libspice-client-gtk-3.0-dev \
24 libtool \
25 libtool-bin \
26 libvirt-dev \
27 libvirt-glib-1.0-dev \
28 libvte-2.91-dev \
29 libxml2-dev \
30 libxml2-utils \
31 locales \
32 make \
33 ninja-build \
34 pkgconf \
35 python3-pip \
36 python3-setuptools \
37 python3-wheel && \
38 eatmydata apt-get autoremove -y && \
39 eatmydata apt-get autoclean -y && \
40 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
41 dpkg-reconfigure locales && \
42 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
43 mkdir -p /usr/libexec/ccache-wrappers && \
44 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
45 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
46
47 RUN pip3 install \
48 meson==0.56.0
49
50 ENV LANG "en_US.UTF-8"
51 ENV MAKE "/usr/bin/make"
52 ENV NINJA "/usr/bin/ninja"
53 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
0 # THIS FILE WAS AUTO-GENERATED
1 #
2 # $ lcitool manifest ci/manifest.yml
3 #
4 # https://gitlab.com/libvirt/libvirt-ci
5
6
7 .container_job:
8 image: docker:stable
9 stage: containers
10 needs: []
11 services:
12 - name: registry.gitlab.com/libvirt/libvirt-ci/docker-dind:master
13 alias: docker
14 before_script:
15 - export TAG="$CI_REGISTRY_IMAGE/ci-$NAME:latest"
16 - export COMMON_TAG="$CI_REGISTRY/virt-viewer/virt-viewer/ci-$NAME:latest"
17 - docker info
18 - docker login registry.gitlab.com -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
19 script:
20 - docker pull "$TAG" || docker pull "$COMMON_TAG" || true
21 - docker build --cache-from "$TAG" --cache-from "$COMMON_TAG" --tag "$TAG" -f "ci/containers/$NAME.Dockerfile" ci/containers
22 - docker push "$TAG"
23 after_script:
24 - docker logout
25
26
27 .gitlab_native_build_job:
28 image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
29 stage: builds
30
31
32 .gitlab_cross_build_job:
33 image: $CI_REGISTRY_IMAGE/ci-$NAME-cross-$CROSS:latest
34 stage: builds
35
36
37 check-dco:
38 stage: sanity_checks
39 needs: []
40 image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:master
41 script:
42 - /check-dco virt-viewer
43 except:
44 variables:
45 - $CI_PROJECT_NAMESPACE == 'virt-viewer'
46 variables:
47 GIT_DEPTH: 1000
48
49
50 # Native container jobs
51
52 x86_64-centos-8-container:
53 extends: .container_job
54 allow_failure: false
55 variables:
56 NAME: centos-8
57
58
59 x86_64-centos-stream-8-container:
60 extends: .container_job
61 allow_failure: false
62 variables:
63 NAME: centos-stream-8
64
65
66 x86_64-debian-10-container:
67 extends: .container_job
68 allow_failure: false
69 variables:
70 NAME: debian-10
71
72
73 x86_64-debian-sid-container:
74 extends: .container_job
75 allow_failure: false
76 variables:
77 NAME: debian-sid
78
79
80 x86_64-fedora-33-container:
81 extends: .container_job
82 allow_failure: false
83 variables:
84 NAME: fedora-33
85
86
87 x86_64-fedora-34-container:
88 extends: .container_job
89 allow_failure: false
90 variables:
91 NAME: fedora-34
92
93
94 x86_64-fedora-rawhide-container:
95 extends: .container_job
96 allow_failure: false
97 variables:
98 NAME: fedora-rawhide
99
100
101 x86_64-opensuse-leap-152-container:
102 extends: .container_job
103 allow_failure: false
104 variables:
105 NAME: opensuse-leap-152
106
107
108 x86_64-opensuse-tumbleweed-container:
109 extends: .container_job
110 allow_failure: false
111 variables:
112 NAME: opensuse-tumbleweed
113
114
115 x86_64-ubuntu-1804-container:
116 extends: .container_job
117 allow_failure: false
118 variables:
119 NAME: ubuntu-1804
120
121
122 x86_64-ubuntu-2004-container:
123 extends: .container_job
124 allow_failure: false
125 variables:
126 NAME: ubuntu-2004
127
128
129
130 # Cross container jobs
131
132 mingw32-fedora-rawhide-container:
133 extends: .container_job
134 allow_failure: false
135 variables:
136 NAME: fedora-rawhide-cross-mingw32
137
138
139 mingw64-fedora-rawhide-container:
140 extends: .container_job
141 allow_failure: false
142 variables:
143 NAME: fedora-rawhide-cross-mingw64
144
145
146 # Native build jobs
147
148 x86_64-centos-8:
149 extends: .native_build_job
150 needs:
151 - x86_64-centos-8-container
152 allow_failure: false
153 variables:
154 NAME: centos-8
155 RPM: skip
156
157
158 x86_64-centos-stream-8:
159 extends: .native_build_job
160 needs:
161 - x86_64-centos-stream-8-container
162 allow_failure: false
163 variables:
164 NAME: centos-stream-8
165 RPM: skip
166
167
168 x86_64-debian-10:
169 extends: .native_build_job
170 needs:
171 - x86_64-debian-10-container
172 allow_failure: false
173 variables:
174 NAME: debian-10
175
176
177 x86_64-debian-sid:
178 extends: .native_build_job
179 needs:
180 - x86_64-debian-sid-container
181 allow_failure: false
182 variables:
183 NAME: debian-sid
184
185
186 x86_64-fedora-33:
187 extends: .native_build_job
188 needs:
189 - x86_64-fedora-33-container
190 allow_failure: false
191 variables:
192 NAME: fedora-33
193
194
195 x86_64-fedora-34:
196 extends: .native_build_job
197 needs:
198 - x86_64-fedora-34-container
199 allow_failure: false
200 variables:
201 NAME: fedora-34
202
203
204 x86_64-fedora-rawhide:
205 extends: .native_build_job
206 needs:
207 - x86_64-fedora-rawhide-container
208 allow_failure: false
209 variables:
210 NAME: fedora-rawhide
211
212
213 x86_64-opensuse-leap-152:
214 extends: .native_build_job
215 needs:
216 - x86_64-opensuse-leap-152-container
217 allow_failure: false
218 variables:
219 NAME: opensuse-leap-152
220 RPM: skip
221
222
223 x86_64-opensuse-tumbleweed:
224 extends: .native_build_job
225 needs:
226 - x86_64-opensuse-tumbleweed-container
227 allow_failure: false
228 variables:
229 NAME: opensuse-tumbleweed
230 RPM: skip
231
232
233 x86_64-ubuntu-1804:
234 extends: .native_build_job
235 needs:
236 - x86_64-ubuntu-1804-container
237 allow_failure: false
238 variables:
239 NAME: ubuntu-1804
240
241
242 x86_64-ubuntu-2004:
243 extends: .native_build_job
244 needs:
245 - x86_64-ubuntu-2004-container
246 allow_failure: false
247 variables:
248 NAME: ubuntu-2004
249
250
251
252 # Cross build jobs
253
254 mingw32-fedora-rawhide:
255 extends: .cross_build_job
256 needs:
257 - mingw32-fedora-rawhide-container
258 allow_failure: false
259 variables:
260 NAME: fedora-rawhide
261 CROSS: mingw32
262 artifacts:
263 expire_in: 30 days
264 paths:
265 - data/virt-viewer-x86*.msi
266
267 mingw64-fedora-rawhide:
268 extends: .cross_build_job
269 needs:
270 - mingw64-fedora-rawhide-container
271 allow_failure: false
272 variables:
273 NAME: fedora-rawhide
274 CROSS: mingw64
275 artifacts:
276 expire_in: 30 days
277 paths:
278 - data/virt-viewer-x64*.msi