CI tesCI testt

This commit is contained in:
emanuel 2021-05-17 15:51:04 +01:00
parent a99a2e6dce
commit b924f71e56
1 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,7 @@ image: registry.es.av.it.pt/its/it2s-docker/archlinux-maker
stages: stages:
- build - build
- test
- deploy release - deploy release
- deploy debug - deploy debug
@ -16,8 +17,19 @@ build:
artifacts: artifacts:
paths: paths:
- ./build/src/it2s-itss-facilities - ./build/src/it2s-itss-facilities
- ./build/test/tester
expire_in: 1 hour expire_in: 1 hour
test:
stage: test
extends: .dependencies
script:
- sudo pacman -Sy it2s-itss-management-git --noconfirm
- sed -i 's/type = "realtime"/type = "fixed"/g' /etc/it2s/itss.toml
- nohup /usr/bin/it2s-itss-management &
- cd test
- sh spawn.sh
deploy release: deploy release:
stage: deploy release stage: deploy release
script: script: