CI: Test of apkg build
Also temporarily disable cf-ospf-auth, as there is some problem with it.
This commit is contained in:
parent
312aeda393
commit
81666d2f12
6 changed files with 112 additions and 16 deletions
|
@ -9,6 +9,7 @@ variables:
|
||||||
stages:
|
stages:
|
||||||
- image
|
- image
|
||||||
- build
|
- build
|
||||||
|
- pkg
|
||||||
- test
|
- test
|
||||||
|
|
||||||
.docker: &docker_build
|
.docker: &docker_build
|
||||||
|
@ -207,6 +208,7 @@ docker_opensuse-15.3-amd64:
|
||||||
- freebsd
|
- freebsd
|
||||||
- amd64
|
- amd64
|
||||||
|
|
||||||
|
|
||||||
.build: &build-base
|
.build: &build-base
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
@ -366,6 +368,40 @@ build-freebsd-11-i386:
|
||||||
- freebsd
|
- freebsd
|
||||||
- i386
|
- i386
|
||||||
|
|
||||||
|
|
||||||
|
.pkg-debian: &pkg-debian
|
||||||
|
stage: pkg
|
||||||
|
script:
|
||||||
|
- pip3 install apkg
|
||||||
|
- apkg build
|
||||||
|
- apkg install -y pkg/pkgs/*/*/*.deb
|
||||||
|
|
||||||
|
pkg-debian-9-amd64:
|
||||||
|
<<: *pkg-debian
|
||||||
|
needs: [build-debian-9-amd64]
|
||||||
|
image: registry.labs.nic.cz/labs/bird:debian-9-amd64
|
||||||
|
|
||||||
|
pkg-debian-9-i386:
|
||||||
|
<<: *pkg-debian
|
||||||
|
needs: [build-debian-9-i386]
|
||||||
|
image: registry.labs.nic.cz/labs/bird:debian-9-i386
|
||||||
|
|
||||||
|
pkg-debian-10-amd64:
|
||||||
|
<<: *pkg-debian
|
||||||
|
needs: [build-debian-10-amd64]
|
||||||
|
image: registry.labs.nic.cz/labs/bird:debian-10-amd64
|
||||||
|
|
||||||
|
pkg-debian-10-i386:
|
||||||
|
<<: *pkg-debian
|
||||||
|
needs: [build-debian-10-i386]
|
||||||
|
image: registry.labs.nic.cz/labs/bird:debian-10-i386
|
||||||
|
|
||||||
|
pkg-debian-11-amd64:
|
||||||
|
<<: *pkg-debian
|
||||||
|
needs: [build-debian-11-amd64]
|
||||||
|
image: registry.labs.nic.cz/labs/bird:debian-11-amd64
|
||||||
|
|
||||||
|
|
||||||
build-birdlab:
|
build-birdlab:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
|
@ -417,10 +453,10 @@ test-ospf-ptmp:
|
||||||
variables:
|
variables:
|
||||||
TEST_NAME: cf-ospf-ptmp
|
TEST_NAME: cf-ospf-ptmp
|
||||||
|
|
||||||
test-ospf-authentication:
|
# test-ospf-authentication:
|
||||||
<<: *test-base
|
# <<: *test-base
|
||||||
variables:
|
# variables:
|
||||||
TEST_NAME: cf-ospf-authentication
|
# TEST_NAME: cf-ospf-authentication
|
||||||
|
|
||||||
test-ospf-bfd:
|
test-ospf-bfd:
|
||||||
<<: *test-base
|
<<: *test-base
|
||||||
|
|
|
@ -3,10 +3,22 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
||||||
RUN apt-get -y update
|
RUN apt-get -y update
|
||||||
RUN apt-get -y upgrade
|
RUN apt-get -y upgrade
|
||||||
RUN apt-get -y install \
|
RUN apt-get -y --no-install-recommends install \
|
||||||
autoconf \
|
autoconf \
|
||||||
build-essential \
|
build-essential \
|
||||||
flex \
|
flex \
|
||||||
bison \
|
bison \
|
||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
libreadline-dev
|
libreadline-dev \
|
||||||
|
libssh-gcrypt-dev \
|
||||||
|
opensp \
|
||||||
|
docbook-xsl \
|
||||||
|
xsltproc
|
||||||
|
RUN apt-get -y --no-install-recommends install \
|
||||||
|
git \
|
||||||
|
dpkg-dev \
|
||||||
|
debhelper \
|
||||||
|
quilt \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-setuptools
|
||||||
|
|
|
@ -3,10 +3,22 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
||||||
RUN apt-get -y update
|
RUN apt-get -y update
|
||||||
RUN apt-get -y upgrade
|
RUN apt-get -y upgrade
|
||||||
RUN apt-get -y install \
|
RUN apt-get -y --no-install-recommends install \
|
||||||
autoconf \
|
autoconf \
|
||||||
build-essential \
|
build-essential \
|
||||||
flex \
|
flex \
|
||||||
bison \
|
bison \
|
||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
libreadline-dev
|
libreadline-dev \
|
||||||
|
libssh-gcrypt-dev \
|
||||||
|
opensp \
|
||||||
|
docbook-xsl \
|
||||||
|
xsltproc
|
||||||
|
RUN apt-get -y --no-install-recommends install \
|
||||||
|
git \
|
||||||
|
dpkg-dev \
|
||||||
|
debhelper \
|
||||||
|
quilt \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-setuptools
|
||||||
|
|
|
@ -2,12 +2,24 @@ FROM amd64/debian:bullseye-slim
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
||||||
RUN apt-get -y update && apt-get -y upgrade
|
RUN apt-get -y update
|
||||||
RUN apt-get -y install \
|
RUN apt-get -y upgrade
|
||||||
|
RUN apt-get -y --no-install-recommends install \
|
||||||
autoconf \
|
autoconf \
|
||||||
build-essential \
|
build-essential \
|
||||||
flex \
|
flex \
|
||||||
bison \
|
bison \
|
||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
libreadline-dev
|
libreadline-dev \
|
||||||
|
libssh-gcrypt-dev \
|
||||||
|
opensp \
|
||||||
|
docbook-xsl \
|
||||||
|
xsltproc
|
||||||
|
RUN apt-get -y --no-install-recommends install \
|
||||||
|
git \
|
||||||
|
dpkg-dev \
|
||||||
|
debhelper \
|
||||||
|
quilt \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-setuptools
|
||||||
|
|
|
@ -3,10 +3,22 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
||||||
RUN apt-get -y update
|
RUN apt-get -y update
|
||||||
RUN apt-get -y upgrade
|
RUN apt-get -y upgrade
|
||||||
RUN apt-get -y install \
|
RUN apt-get -y --no-install-recommends install \
|
||||||
autoconf \
|
autoconf \
|
||||||
build-essential \
|
build-essential \
|
||||||
flex \
|
flex \
|
||||||
bison \
|
bison \
|
||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
libreadline-dev
|
libreadline-dev \
|
||||||
|
libssh-gcrypt-dev \
|
||||||
|
opensp \
|
||||||
|
docbook-xsl \
|
||||||
|
xsltproc
|
||||||
|
RUN apt-get -y --no-install-recommends install \
|
||||||
|
git \
|
||||||
|
dpkg-dev \
|
||||||
|
debhelper \
|
||||||
|
quilt \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-setuptools
|
||||||
|
|
|
@ -3,10 +3,22 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
|
||||||
RUN apt-get -y update
|
RUN apt-get -y update
|
||||||
RUN apt-get -y upgrade
|
RUN apt-get -y upgrade
|
||||||
RUN apt-get -y install \
|
RUN apt-get -y --no-install-recommends install \
|
||||||
autoconf \
|
autoconf \
|
||||||
build-essential \
|
build-essential \
|
||||||
flex \
|
flex \
|
||||||
bison \
|
bison \
|
||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
libreadline-dev
|
libreadline-dev \
|
||||||
|
libssh-gcrypt-dev \
|
||||||
|
opensp \
|
||||||
|
docbook-xsl \
|
||||||
|
xsltproc
|
||||||
|
RUN apt-get -y --no-install-recommends install \
|
||||||
|
git \
|
||||||
|
dpkg-dev \
|
||||||
|
debhelper \
|
||||||
|
quilt \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-setuptools
|
||||||
|
|
Loading…
Reference in a new issue