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