change Ansible script
This commit is contained in:
+1
-1
@@ -27,7 +27,6 @@ Test Go Application:
|
||||
- make test
|
||||
- GOPATH=$HOME/go go test -v ./... 2>&1 | /home/gitlab-runner/go/bin/go-junit-report > report.xml
|
||||
- GOPATH=$HOME/go go vet ./...
|
||||
- ansible-playbook kalorienmanager-ansible.yml
|
||||
artifacts:
|
||||
reports:
|
||||
junit: report.xml
|
||||
@@ -36,6 +35,7 @@ Deploy To Staging:
|
||||
stage: deploy
|
||||
script:
|
||||
- make build
|
||||
- ansible-playbook kalorienmanager-ansible.yml
|
||||
- ssh kalorienmanager /home/kalorienmanager/app-test_service stop
|
||||
- rsync -av templates kalorienmanager:/home/kalorienmanager/staging
|
||||
- rsync -av bin/kalorienmanager kalorienmanager:/home/kalorienmanager/staging
|
||||
|
||||
Reference in New Issue
Block a user