mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 10:11:53 +00:00
bird: job runtest was divided into the two different jobs (build and test)
This commit is contained in:
parent
b09977c5bd
commit
426460081c
@ -4,6 +4,7 @@ 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
|
||||||
|
GIT_STRATEGY: fetch
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
# - image
|
# - image
|
||||||
@ -296,28 +297,19 @@ stages:
|
|||||||
build-birdlab:
|
build-birdlab:
|
||||||
<<: *build_job
|
<<: *build_job
|
||||||
tags:
|
tags:
|
||||||
- birdlab
|
- birdlab
|
||||||
- amd64
|
- amd64
|
||||||
script:
|
script:
|
||||||
- whoami
|
- git clean
|
||||||
|
- git fetch https://gitlab.labs.nic.cz/labs/bird-tools --branch oz-test-base
|
||||||
|
- cd bird
|
||||||
|
- mv bird /etc/gitlab-runner/bird && mv birdc /etc/gitlab-runner/birdc
|
||||||
|
- mv ../bird-tools /etc/gitlab-runner/bird-tools
|
||||||
|
|
||||||
cloning_netlab:
|
running_test:
|
||||||
stage: test
|
stage: test
|
||||||
tags:
|
tags:
|
||||||
- birdlab
|
- birdlab
|
||||||
script:
|
script:
|
||||||
- cd ../
|
- cd /etc/gitlab-runner/bird-tools
|
||||||
- sudo rm -r bird-tools
|
|
||||||
- cd bird
|
|
||||||
- autoreconf
|
|
||||||
- ./configure CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
|
|
||||||
- MAKE=make
|
|
||||||
- which gmake 2>/dev/null >/dev/null && MAKE=gmake
|
|
||||||
- $MAKE
|
|
||||||
- $MAKE check
|
|
||||||
- cd ../
|
|
||||||
- git clone https://gitlab.labs.nic.cz/labs/bird-tools --branch oz-test-base
|
|
||||||
- cd bird
|
|
||||||
- mv bird birdc ../bird-tools/netlab-int/common
|
|
||||||
- cd ../bird-tools/netlab-int
|
|
||||||
- sudo ./runtest -m save cf-ospf
|
- sudo ./runtest -m save cf-ospf
|
Loading…
Reference in New Issue
Block a user