mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 13:05:49 +00:00
Create new auto scaling group for each deployment
This commit is contained in:
parent
c0d31cee65
commit
f280b97ec9
2 changed files with 3 additions and 6 deletions
|
@ -15,17 +15,13 @@ addons:
|
|||
- oracle-java8-set-default
|
||||
|
||||
install:
|
||||
- pip install ansible
|
||||
- pip install docker-py
|
||||
- pip install boto
|
||||
- pip install boto3
|
||||
- pip install troposphere
|
||||
- pip install ansible docker-py boto boto3 troposphere
|
||||
- printf '[defaults]\nroles_path=../' >ansible.cfg
|
||||
- ansible-galaxy install -p ../ -r deploy/requirements.yml
|
||||
- echo $VAULT_PASSWORD > /tmp/vault
|
||||
|
||||
script:
|
||||
- ./mvnw package
|
||||
- echo $VAULT_PASSWORD > /tmp/vault
|
||||
- ansible-playbook deploy/deploy.yml -vvvv --vault-password-file=/tmp/vault --extra-vars "wimpy_release_version=${TRAVIS_COMMIT} wimpy_deployment_environment=develop"
|
||||
env:
|
||||
global:
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
wimpy_project_name: "spring-petclinic"
|
||||
wimpy_docker_image_name: "fiunchinho/spring-petclinic"
|
||||
wimpy_app_port: 8080
|
||||
wimpy_deploy_strategy: "new_asg"
|
||||
wimpy_aws_elb_scheme: "internet-facing"
|
||||
wimpy_aws_elb_healthcheck:
|
||||
ping_protocol: "http"
|
||||
|
|
Loading…
Reference in a new issue