drone ci updates #4

Merged
chris merged 26 commits from development into main 2023-11-17 12:00:45 -05:00
Showing only changes of commit e3fbdb375c - Show all commits

View File

@ -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