mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Added more netlab tests for automatic run.
This commit uses bird-tools in version f35e8bce829f4bff61ec7eb07ec9c67aa867bc9a
This commit is contained in:
parent
57308fb277
commit
84545a26cc
@ -5,6 +5,7 @@ variables:
|
||||
DOCKER_CMD: docker --config="$HOME/.docker/$CI_JOB_ID/"
|
||||
IMG_BASE: registry.nic.cz/labs/bird
|
||||
TOOLS_DIR: /var/lib/gitlab-runner/bird-tools
|
||||
STAYRTR_BINARY: /var/lib/gitlab-runner/stayrtr-0.1-108-g8d18a41-linux-x86_64
|
||||
|
||||
stages:
|
||||
- image
|
||||
@ -531,6 +532,7 @@ build-birdlab:
|
||||
- sudo git clean -fx
|
||||
- git pull --ff-only
|
||||
- mv $DIR/bird $DIR/birdc netlab/common
|
||||
- ln -s $STAYRTR_BINARY netlab/common/stayrtr
|
||||
|
||||
.test: &test-base
|
||||
stage: test
|
||||
@ -541,7 +543,7 @@ build-birdlab:
|
||||
script:
|
||||
- cd $TOOLS_DIR/netlab
|
||||
- sudo ./stop
|
||||
- sudo ./runtest -m check $TEST_NAME
|
||||
- sudo ./runtest -s v2 -m check $TEST_NAME
|
||||
|
||||
test-ospf-base:
|
||||
<<: *test-base
|
||||
@ -613,6 +615,16 @@ test-bgp-merged:
|
||||
variables:
|
||||
TEST_NAME: cf-bgp-merged
|
||||
|
||||
test-bgp-flowspec:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-bgp-flowspec
|
||||
|
||||
test-bgp-rs-multitab:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-bgp-rs-multitab
|
||||
|
||||
test-ebgp-loop:
|
||||
<<: *test-base
|
||||
variables:
|
||||
@ -623,12 +635,32 @@ test-ebgp-star:
|
||||
variables:
|
||||
TEST_NAME: cf-ebgp-star
|
||||
|
||||
test-ebgp-role:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-ebgp-role
|
||||
|
||||
test-ebgp-graceful:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-ebgp-graceful
|
||||
|
||||
test-ebgp-import-limit:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-ebgp-import-limit
|
||||
|
||||
test-ibgp-loop:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-ibgp-loop
|
||||
|
||||
test-ibgp-star:
|
||||
test-ibgp-loop-big:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-ibgp-loop-big
|
||||
|
||||
test-ibgp-flat:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-ibgp-flat
|
||||
@ -647,3 +679,8 @@ test-rip-base:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-rip-base
|
||||
|
||||
test-kernel-learn:
|
||||
<<: *test-base
|
||||
variables:
|
||||
TEST_NAME: cf-kernel-learn
|
||||
|
Loading…
Reference in New Issue
Block a user