move to docker-compose.yml
This commit is contained in:
parent
42a82a6adb
commit
fa18029fdf
@ -10,6 +10,6 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
|
||||
|
||||
def test_droneci_compose_file(host):
|
||||
f = host.file('/var/lib/docker/services/droneci/droneci.yml')
|
||||
f = host.file('/var/lib/docker/services/droneci/docker-compose.yml')
|
||||
|
||||
assert f.exists
|
||||
|
@ -13,7 +13,7 @@
|
||||
- name: Deploy compose file to '{{ droneci_service_directory }}'
|
||||
template:
|
||||
src: "services/droneci_compose.yml.j2"
|
||||
dest: "{{ droneci_service_directory }}/droneci.yml"
|
||||
dest: "{{ droneci_service_directory }}/docker-compose.yml"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0640
|
||||
@ -29,8 +29,6 @@
|
||||
- name: Ensure Drone is up and running
|
||||
docker_compose:
|
||||
project_src: "{{ droneci_service_directory }}"
|
||||
files:
|
||||
- droneci.yml
|
||||
pull: yes
|
||||
remove_orphans: yes
|
||||
stopped: "{{ droneci_service_stopped }}"
|
||||
|
Loading…
Reference in New Issue
Block a user