Больше негде тестить. Пушим сразу в прод
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
555358a851
commit
9d6b6a7afc
71
.drone.yml
71
.drone.yml
@ -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
|
||||
type: exec
|
||||
@ -32,56 +14,3 @@ steps:
|
||||
|
||||
node:
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user