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