Updated .gitlab-ci.yml with deploy for rng
This commit is contained in:
parent
01758b1c47
commit
600cb79dad
1 changed files with 13 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ include:
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
- deploy
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
|
@ -30,4 +31,15 @@ test:
|
||||||
- ./tests/chain_test
|
- ./tests/chain_test
|
||||||
- ./tests/cli_test
|
- ./tests/cli_test
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- builder
|
||||||
|
|
||||||
|
deploy-rng:
|
||||||
|
stage: deploy
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
|
script:
|
||||||
|
- mv ./programs/witness_node/witness_node /tmp
|
||||||
|
- ansible-playbook /usr/local/bin/update-witness.yml
|
||||||
|
- sh /usr/local/bin/update-info.sh
|
||||||
|
- sh /usr/local/bin/cleanup.sh
|
||||||
|
when: manual
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue