Добавил публичный тест (чтобы проверять из внешнего мира)
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing

This commit is contained in:
Lulzette 2022-01-03 15:24:21 +00:00
parent 436c38d8bc
commit 89f527a06c

View File

@ -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: