Update drone pipeline
This commit is contained in:
parent
f882691ac9
commit
f044682421
17
.drone.yml
17
.drone.yml
@ -12,17 +12,13 @@ steps:
|
||||
from_secret: ansible_vault_token
|
||||
private_key:
|
||||
from_secret: ansible_private_key
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
- rollback
|
||||
- push
|
||||
- custom
|
||||
|
||||
- name: Run ansible playbook
|
||||
image: harbor.sebclem.fr/sebclem/drone-ansible-runner
|
||||
settings:
|
||||
verbosity: 1
|
||||
verbosity: ${verbosity=0}
|
||||
limit: ${limit}
|
||||
tags: ${tags}
|
||||
playbook: sites.yml
|
||||
galaxy_file: roles/requirements.yml
|
||||
vault_token:
|
||||
@ -30,9 +26,10 @@ steps:
|
||||
private_key:
|
||||
from_secret: ansible_private_key
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
- rollback
|
||||
branch:
|
||||
- master
|
||||
target:
|
||||
- production
|
||||
|
||||
- name: Notify
|
||||
image: drillster/drone-email
|
||||
|
Loading…
Reference in New Issue
Block a user