grrrrr
This commit is contained in:
parent
5070ee375e
commit
e3fbdb375c
24
.drone.yml
24
.drone.yml
@ -12,9 +12,11 @@ steps:
|
||||
- ansible --version
|
||||
- ansible-lint --version
|
||||
when:
|
||||
branch: development
|
||||
branch:
|
||||
- development
|
||||
event:
|
||||
- push
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
|
||||
- name: "Ansible-Galaxy: Install from requirements.yml"
|
||||
@ -22,9 +24,11 @@ steps:
|
||||
commands:
|
||||
- ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
|
||||
when:
|
||||
branch: development
|
||||
branch:
|
||||
- development
|
||||
event:
|
||||
- push
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
|
||||
- name: "Syntax check and Ansible Lint"
|
||||
@ -33,9 +37,11 @@ steps:
|
||||
- ansible-lint --offline $DRONE_WORKSPACE
|
||||
- ansible-playbook --syntax-check $DRONE_WORKSPACE/hello.yml
|
||||
when:
|
||||
branch: development
|
||||
branch:
|
||||
- development
|
||||
event:
|
||||
- push
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
|
||||
- name: "Test playbook execution"
|
||||
@ -46,9 +52,11 @@ steps:
|
||||
commands:
|
||||
- ansible-playbook -v -i 127.0.0.1, --connection=local $DRONE_WORKSPACE/hello.yml
|
||||
when:
|
||||
branch: development
|
||||
branch:
|
||||
- development
|
||||
event:
|
||||
- push
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
|
||||
# - name: Update repo with build stats
|
||||
|
Loading…
x
Reference in New Issue
Block a user