summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-11-08 10:20:55 +0100
committerMaria Matejka <mq@ucw.cz>2022-11-08 11:19:12 +0100
commit84545a26cc3f7ce68408a663c1ad4a50edccdacc (patch)
tree3637223ccc4580a8902a4170b7ea75356e8d61f0
parent57308fb277788ab082a0047e8764fe8023aff6df (diff)
Added more netlab tests for automatic run.
This commit uses bird-tools in version f35e8bce829f4bff61ec7eb07ec9c67aa867bc9a
-rw-r--r--.gitlab-ci.yml41
1 files changed, 39 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7809fecd..dae59c75 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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