Also temporarily disable cf-ospf-auth, as there is some problem with it.
stages:
- image
- build
+ - pkg
- test
.docker: &docker_build
- freebsd
- amd64
+
.build: &build-base
stage: build
script:
- freebsd
- 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:
stage: build
tags:
variables:
TEST_NAME: cf-ospf-ptmp
-test-ospf-authentication:
- <<: *test-base
- variables:
- TEST_NAME: cf-ospf-authentication
+# test-ospf-authentication:
+# <<: *test-base
+# variables:
+# TEST_NAME: cf-ospf-authentication
test-ospf-bfd:
<<: *test-base
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y upgrade
-RUN apt-get -y install \
+RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \
flex \
bison \
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
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y upgrade
-RUN apt-get -y install \
+RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \
flex \
bison \
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
ENV DEBIAN_FRONTEND=noninteractive
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 install \
+RUN apt-get -y update
+RUN apt-get -y upgrade
+RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \
flex \
bison \
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
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y upgrade
-RUN apt-get -y install \
+RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \
flex \
bison \
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
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y upgrade
-RUN apt-get -y install \
+RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \
flex \
bison \
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