From a02f67ac076d0318134ec501576e89535c3d7311 Mon Sep 17 00:00:00 2001 From: Matous Holinka Date: Mon, 4 Nov 2019 14:23:46 +0100 Subject: [PATCH] bird: file .yml was updated w/ three different stages --- .gitlab-ci.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ddacdc55..b8cff7e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,9 @@ stages: # - image # - build - - tests + - netlab_prep + - runtest + - cleanup # .docker: &docker_build # stage: image @@ -299,10 +301,25 @@ stages: # - birdlab # - amd64 +netlab: + stage: netlab_prep + script: + - echo "Prep-phase" + - cd builds/labs/ + - sudo git clone https://gitlab.labs.nic.cz/labs/bird-tools --branch oz-test-base + - cd /build/labs/bird + #- sudo cp bird birdc ../bird-tools/netlab-int/common + runtest: stage: tests script: - echo "Install" - ls -l - pwd - - echo "done!" \ No newline at end of file + - echo "done!" + +cleaning: + stage: cleanup + script: + - echo "Cleaning phase" + - sudo rm -r builds/labs/bird-tools \ No newline at end of file