Добавил публичный тест (чтобы проверять из внешнего мира)
This commit is contained in:
parent
436c38d8bc
commit
89f527a06c
26
.drone.yml
26
.drone.yml
@ -42,7 +42,7 @@ trigger:
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: deploy to test
|
name: deploy to local test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check playbook
|
- name: Check playbook
|
||||||
@ -54,7 +54,29 @@ steps:
|
|||||||
- ansible-playbook playbook.yml
|
- ansible-playbook playbook.yml
|
||||||
|
|
||||||
node:
|
node:
|
||||||
target: generic
|
target: local
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- promote
|
||||||
|
target:
|
||||||
|
- local
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: exec
|
||||||
|
name: deploy to public test
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check playbook
|
||||||
|
commands:
|
||||||
|
- ansible-playbook -C playbook.yml
|
||||||
|
|
||||||
|
- name: Run playbook
|
||||||
|
commands:
|
||||||
|
- ansible-playbook playbook.yml
|
||||||
|
|
||||||
|
node:
|
||||||
|
target: shell-testing
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
Loading…
Reference in New Issue
Block a user