Больше негде тестить. Пушим сразу в прод
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
lulzette 2023-05-17 22:05:31 +03:00
parent 555358a851
commit 9d6b6a7afc

View File

@ -1,21 +1,3 @@
---
kind: pipeline
type: exec
name: test
trigger:
event:
exclude:
- promote
steps:
- name: Check playbook
commands:
- ansible-playbook -C playbook.yml
node:
target: local
--- ---
kind: pipeline kind: pipeline
type: exec type: exec
@ -32,56 +14,3 @@ steps:
node: node:
target: shell-scripts target: shell-scripts
trigger:
event:
- promote
target:
- production
---
kind: pipeline
type: exec
name: deploy to local test
steps:
- name: Check playbook
commands:
- ansible-playbook -C playbook.yml
- name: Run playbook
commands:
- ansible-playbook playbook.yml
node:
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:
event:
- promote
target:
- testing