mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 13:05:49 +00:00
Using deploy script
This commit is contained in:
parent
7c2132b76a
commit
e7340b2b0c
2 changed files with 8 additions and 9 deletions
8
deploy/deploy.sh
Executable file
8
deploy/deploy.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
virtualenv .
|
||||
. bin/activate
|
||||
pip install -r deploy/requirements.txt
|
||||
printf '[defaults]\nroles_path=../' >ansible.cfg
|
||||
ansible-galaxy install -p ../ -r deploy/requirements.yml
|
||||
ansible-playbook deploy/deploy.yml -vvvv --vault-password-file=/tmp/vault --extra-vars "wimpy_release_version=${TRAVIS_COMMIT} wimpy_deployment_environment=develop"
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
virtualenv .
|
||||
source "bin/activate"
|
||||
pip install -r requirements.txt
|
||||
printf '[defaults]\nroles_path=../' >ansible.cfg
|
||||
ansible-galaxy install -p ../ -r deploy/requirements.yml
|
Loading…
Reference in a new issue