CI tesCI testt
This commit is contained in:
parent
a99a2e6dce
commit
b924f71e56
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue