mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
Added wimpy.build role
This commit is contained in:
parent
69faabbbd2
commit
c1ce104cf8
4 changed files with 14 additions and 5 deletions
|
@ -21,7 +21,8 @@ install:
|
||||||
- pip install boto3
|
- pip install boto3
|
||||||
- pip install troposphere
|
- pip install troposphere
|
||||||
- printf '[defaults]\nroles_path=../' >ansible.cfg
|
- printf '[defaults]\nroles_path=../' >ansible.cfg
|
||||||
- ansible-galaxy install -p ../ fiunchinho.wimpy,feature/build_app_with_compose
|
- ansible-galaxy install -p ../ fiunchinho.wimpy,feature/decouple_role
|
||||||
|
- ansible-galaxy install -p ../ fiunchinho.wimpy.build
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./mvnw package
|
- ./mvnw package
|
||||||
|
|
|
@ -4,10 +4,18 @@
|
||||||
vars_files:
|
vars_files:
|
||||||
- "{{ playbook_dir }}/{{ wimpy_deployment_environment }}.yml"
|
- "{{ playbook_dir }}/{{ wimpy_deployment_environment }}.yml"
|
||||||
vars:
|
vars:
|
||||||
wimpy_project: "spring-petclinic"
|
wimpy_project_name: "spring-petclinic"
|
||||||
wimpy_docker_image_name: "fiunchinho/spring-petclinic"
|
wimpy_docker_image_name: "fiunchinho/spring-petclinic"
|
||||||
wimpy_app_port: 8080
|
wimpy_app_port: 8080
|
||||||
wimpy_needs_elb: True
|
|
||||||
wimpy_aws_elb_scheme: "internet-facing"
|
wimpy_aws_elb_scheme: "internet-facing"
|
||||||
|
wimpy_aws_elb_healthcheck:
|
||||||
|
ping_protocol: "http"
|
||||||
|
ping_port: 8080
|
||||||
|
ping_path: "/"
|
||||||
|
response_timeout: 5
|
||||||
|
interval: 6
|
||||||
|
unhealthy_threshold: 2
|
||||||
|
healthy_threshold: 3
|
||||||
roles:
|
roles:
|
||||||
|
- role: wimpy.build
|
||||||
- role: fiunchinho.wimpy
|
- role: fiunchinho.wimpy
|
||||||
|
|
BIN
src/main/resources/static/resources/images/kitten.jpg
Normal file
BIN
src/main/resources/static/resources/images/kitten.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 193 KiB |
|
@ -7,10 +7,10 @@
|
||||||
<h2 th:text="#{welcome}">Welcome</h2>
|
<h2 th:text="#{welcome}">Welcome</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
|
<img class="img-responsive" src="../static/resources/images/kitten.jpg" th:src="@{/resources/images/pets.png}"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue