stage: sanity_checks
extends: .gitlab_native_build_job
needs:
- - job: x86_64-opensuse-leap-15-container
+ - job: x86_64-opensuse-leap-16-container
optional: true
script:
- source ci/jobs.sh
- run_codestyle
variables:
- NAME: opensuse-leap-15
- TARGET_BASE_IMAGE: registry.opensuse.org/opensuse/leap:15.5
+ NAME: opensuse-leap-16
+ TARGET_BASE_IMAGE: registry.opensuse.org/opensuse/leap:16.0
# This artifact published by this job is downloaded to push to Weblate
# for translation usage:
function install_buildenv() {
zypper update -y
- zypper addrepo -fc https://download.opensuse.org/update/leap/15.6/backports/openSUSE:Backports:SLE-15-SP6:Update.repo
zypper install -y --allow-downgrade \
audit-devel \
augeas \
clang-devel \
codespell \
cpp \
- cppi \
cyrus-sasl-devel \
device-mapper-devel \
diffutils \
perl-base \
pkgconfig \
python3-base \
+ python3-black \
python3-docutils \
python3-flake8 \
- python3-pip \
python3-pytest \
- python3-setuptools \
- python3-wheel \
qemu-tools \
readline-devel \
rpm-build \
- sanlock-devel \
sed \
systemd-rpm-macros \
- systemtap-sdt-devel \
+ systemtap-dtrace \
+ systemtap-headers \
wireshark-devel \
xen-devel
rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
- /usr/bin/pip3 install black
}
export CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
#
# https://gitlab.com/libvirt/libvirt-ci
-FROM registry.opensuse.org/opensuse/leap:15.6
+FROM registry.opensuse.org/opensuse/leap:16.0
RUN zypper update -y && \
- zypper addrepo -fc https://download.opensuse.org/update/leap/15.6/backports/openSUSE:Backports:SLE-15-SP6:Update.repo && \
zypper install -y --allow-downgrade \
audit-devel \
augeas \
clang-devel \
codespell \
cpp \
- cppi \
cyrus-sasl-devel \
device-mapper-devel \
diffutils \
perl-base \
pkgconfig \
python3-base \
+ python3-black \
python3-docutils \
python3-flake8 \
- python3-pip \
python3-pytest \
- python3-setuptools \
- python3-wheel \
qemu-tools \
readline-devel \
rpm-build \
- sanlock-devel \
sed \
systemd-rpm-macros \
- systemtap-sdt-devel \
+ systemtap-dtrace \
+ systemtap-headers \
wireshark-devel \
xen-devel && \
zypper clean --all && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
-RUN /usr/bin/pip3 install black
-
ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
ENV LANG="en_US.UTF-8"
ENV MAKE="/usr/bin/make"
TARGET_BASE_IMAGE: registry.fedoraproject.org/fedora:rawhide
-x86_64-opensuse-leap-15:
+x86_64-opensuse-leap-16:
extends: .native_build_job
needs:
- - job: x86_64-opensuse-leap-15-container
+ - job: x86_64-opensuse-leap-16-container
optional: true
allow_failure: false
variables:
- CFLAGS: -Wno-missing-include-dirs
- NAME: opensuse-leap-15
+ NAME: opensuse-leap-16
RPM: skip
- TARGET_BASE_IMAGE: registry.opensuse.org/opensuse/leap:15.6
+ TARGET_BASE_IMAGE: registry.opensuse.org/opensuse/leap:16.0
x86_64-opensuse-tumbleweed:
NAME: fedora-rawhide
-x86_64-opensuse-leap-15-container:
+x86_64-opensuse-leap-16-container:
extends: .container_job
allow_failure: false
variables:
- NAME: opensuse-leap-15
+ NAME: opensuse-leap-16
x86_64-opensuse-tumbleweed-container:
allow-failure: true
builds: false
- opensuse-leap-15:
+ opensuse-leap-16:
jobs:
- arch: x86_64
variables:
RPM: skip
- # Keep until fix for: https://bugzilla.opensuse.org/show_bug.cgi?id=1216862
- CFLAGS: -Wno-missing-include-dirs
opensuse-tumbleweed:
jobs: