stages:
# - image
# - build
- - tests
+ - netlab_prep
+ - runtest
+ - cleanup
# .docker: &docker_build
# stage: image
# - 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