mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Apply relevant changes from branch mh-test-gitlab
This commit is contained in:
parent
5176455f1a
commit
faa43a755e
@ -4,10 +4,12 @@ variables:
|
|||||||
GIT_STRATEGY: fetch
|
GIT_STRATEGY: fetch
|
||||||
DOCKER_CMD: docker --config="$HOME/.docker/$CI_JOB_ID/"
|
DOCKER_CMD: docker --config="$HOME/.docker/$CI_JOB_ID/"
|
||||||
IMG_BASE: registry.labs.nic.cz/labs/bird
|
IMG_BASE: registry.labs.nic.cz/labs/bird
|
||||||
|
TOOLS_DIR: /var/lib/gitlab-runner/bird-tools
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- image
|
- image
|
||||||
- build
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
.docker: &docker_build
|
.docker: &docker_build
|
||||||
stage: image
|
stage: image
|
||||||
@ -293,7 +295,25 @@ build-freebsd-11-i386:
|
|||||||
<<: *build_job
|
<<: *build_job
|
||||||
|
|
||||||
build-birdlab:
|
build-birdlab:
|
||||||
<<: *build_job
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- birdlab
|
- birdlab
|
||||||
- amd64
|
- amd64
|
||||||
|
script:
|
||||||
|
- DIR=$(pwd)
|
||||||
|
- autoreconf
|
||||||
|
- ./configure
|
||||||
|
- make
|
||||||
|
- cd $TOOLS_DIR
|
||||||
|
- sudo git clean -fx
|
||||||
|
- git pull --ff-only
|
||||||
|
- mv $DIR/bird $DIR/birdc netlab-int/common
|
||||||
|
|
||||||
|
running_test:
|
||||||
|
stage: test
|
||||||
|
tags:
|
||||||
|
- birdlab
|
||||||
|
- amd64
|
||||||
|
script:
|
||||||
|
- cd $TOOLS_DIR/netlab-int
|
||||||
|
- sudo ./runtest -m check cf-ospf
|
||||||
|
Loading…
Reference in New Issue
Block a user