2018-12-01 17:46:24 +01:00
|
|
|
build:
|
2018-12-23 13:41:09 +01:00
|
|
|
swag init
|
2018-12-07 21:31:15 +01:00
|
|
|
go get ./... && env GOOS=linux GOARCH=arm go build
|
2018-12-01 17:46:24 +01:00
|
|
|
|
|
|
|
deploy: build
|
|
|
|
ssh root@apollo.gempir.com systemctl stop justlog.service
|
|
|
|
scp justlog root@apollo.gempir.com:/home/justlog/
|
|
|
|
ssh root@apollo.gempir.com systemctl start justlog.service
|
|
|
|
|
|
|
|
provision:
|
|
|
|
ansible-playbook -i ansible/hosts ansible/playbook.yml --ask-vault-pass ${ARGS}
|