Commit d449aa4f authored by Karel Slaný's avatar Karel Slaný

Merge branch 'update-ci' into 'master'

Update CI

See merge request !17
parents faf68df8 0160eaf4
Pipeline #58680 failed with stages
in 5 minutes and 32 seconds
......@@ -91,6 +91,7 @@ image:fedora31:
tags:
- linux
script:
- cd /app
- ./autogen.sh
- ./configure
- make
......@@ -100,8 +101,12 @@ image:fedora31:
tags:
- linux
script:
- cd /app
# Add 3 verbosity flags to display output of ./configure
- tox -vvv
variables:
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
########################################################################################################################
# Individual jobs
......@@ -111,126 +116,168 @@ test-make:jessie:py27:
<<: *debian-jessie
variables:
PYTHON_VERSION: "2.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:jessie:py34:
<<: *test-make
<<: *debian-jessie
variables:
PYTHON_VERSION: "3.4"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:stretch:py27:
<<: *test-make
<<: *debian-stretch
variables:
PYTHON_VERSION: "2.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:stretch:py35:
<<: *test-make
<<: *debian-stretch
variables:
PYTHON_VERSION: "3.5"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:buster:py27:
<<: *test-make
<<: *debian-buster
variables:
PYTHON_VERSION: "2.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:buster:py37:
<<: *test-make
<<: *debian-buster
variables:
PYTHON_VERSION: "3.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:xenial:py27:
<<: *test-make
<<: *ubuntu-xenial
variables:
PYTHON_VERSION: "2.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:xenial:py35:
<<: *test-make
<<: *ubuntu-xenial
variables:
PYTHON_VERSION: "3.5"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:bionic:py27:
<<: *test-make
<<: *ubuntu-bionic
variables:
PYTHON_VERSION: "2.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:bionic:py36:
<<: *test-make
<<: *ubuntu-bionic
variables:
PYTHON_VERSION: "3.6"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:bionic:py37:
<<: *test-make
<<: *ubuntu-bionic
variables:
PYTHON_VERSION: "3.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora30:py27:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "2.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora30:py34:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "3.4"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora30:py35:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "3.5"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora30:py36:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "3.6"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora30:py37:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "3.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora31:py27:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "2.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora31:py34:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "3.4"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora31:py35:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "3.5"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora31:py36:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "3.6"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
test-make:fedora31:py37:
<<: *test-make
<<: *fedora-30
variables:
PYTHON_VERSION: "3.7"
# Disable cloning of the repository. It is already present in the image.
GIT_STRATEGY: none
# Jessie is no longer in shape that would enable using tox, so its not included in tox tests.
......
FROM debian:buster
# Requirements for the APT key
FROM debian:buster-slim
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_10/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_10/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_10/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_10/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......@@ -29,3 +29,5 @@ RUN apt-get --yes update \
swig \
tox \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
ADD . .
FROM debian:jessie
# Requirements for the APT key
FROM debian:jessie-slim
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_8.0/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_8.0/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_8.0/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_8.0/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......@@ -27,3 +27,5 @@ RUN apt-get --yes update \
python3.4-dev \
swig \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
ADD . .
FROM debian:stretch
# Requirements for the APT key
FROM debian:stretch-slim
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_9.0/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_9.0/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_9.0/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_9.0/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......@@ -31,3 +31,5 @@ RUN apt-get --yes update \
# Install new tox to see the build outputs.
&& pip3 install tox \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
ADD . .
FROM fedora:30
# Requirements for the config-manager
RUN dnf makecache \
# Install requirements for the config-manager
&& dnf install --assumeyes \
dnf-plugins-core \
&& dnf clean all
# Add datovka repository
RUN dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Fedora_30/home:CZ-NIC:datovka-devel.repo
# Install build requirements
RUN dnf makecache \
&& dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Fedora_30/home:CZ-NIC:datovka-devel.repo \
&& dnf makecache \
# Install build and testing dependencies
&& dnf install --assumeyes \
autoconf-archive \
automake \
......@@ -21,3 +20,5 @@ RUN dnf makecache \
swig \
# For some reason, clean doesn't work in Gitlab CI
&& (dnf clean all || rm -rf /var/cache/dnf/)
WORKDIR /app
ADD . .
FROM fedora:31
# Requirements for the config-manager
RUN dnf makecache \
# Install requirements for the config-manager
&& dnf install --assumeyes \
dnf-plugins-core \
&& dnf clean all
# Add datovka repository
RUN dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Fedora_31/home:CZ-NIC:datovka-devel.repo
# Install build requirements
RUN dnf makecache \
&& dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Fedora_31/home:CZ-NIC:datovka-devel.repo \
&& dnf makecache \
# Install build and testing dependencies
&& dnf install --assumeyes \
autoconf-archive \
automake \
......@@ -20,3 +19,5 @@ RUN dnf makecache \
python3-tox \
swig \
&& dnf clean all
WORKDIR /app
ADD . .
FROM ubuntu:bionic
# Requirements for the APT key
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/xUbuntu_18.04/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/xUbuntu_18.04/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/xUbuntu_18.04/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/xUbuntu_18.04/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......@@ -33,3 +33,5 @@ RUN apt-get --yes update \
# Install new tox to see the build outputs.
&& pip3 install tox \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
ADD . .
FROM ubuntu:xenial
# Requirements for the APT key
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/xUbuntu_16.04/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/xUbuntu_16.04/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/xUbuntu_16.04/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/xUbuntu_16.04/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......@@ -32,3 +32,5 @@ RUN apt-get --yes update \
swig \
&& pip3 install tox \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
ADD . .
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment