ansible_drone/.drone.yml

78 lines
1.2 KiB
YAML
Raw Normal View History

2019-06-19 16:26:03 +02:00
---
kind: pipeline
2019-06-19 19:08:38 +02:00
name: linux-amd64-2.4
2019-06-19 16:26:03 +02:00
platform:
os: linux
arch: amd64
steps:
- name: lint
pull: always
image: chusiang/ansible:2.4
2019-06-19 16:26:03 +02:00
commands:
- "echo \"==> Syntax Check on Ansible 2.4 ...\""
2019-06-19 16:29:37 +02:00
- ansible --version
2019-06-19 19:11:48 +02:00
- ansible-lint tasks/main.yml
environment:
ANSIBLE_VERSION: 2.4
---
kind: pipeline
2019-06-19 19:08:38 +02:00
name: linux-amd64-2.5
platform:
os: linux
arch: amd64
steps:
- name: lint
pull: always
image: chusiang/ansible:2.5
commands:
- "echo \"==> Syntax Check on Ansible 2.5 ...\""
- ansible --version
2019-06-19 19:11:48 +02:00
- ansible-lint tasks/main.yml
environment:
ANSIBLE_VERSION: 2.5
---
kind: pipeline
2019-06-19 19:08:38 +02:00
name: linux-amd64-2.6
platform:
os: linux
arch: amd64
steps:
- name: lint
pull: always
image: chusiang/ansible:2.6
commands:
- "echo \"==> Syntax Check on Ansible 2.6 ...\""
- ansible --version
2019-06-19 19:11:48 +02:00
- ansible-lint tasks/main.yml
environment:
ANSIBLE_VERSION: 2.6
---
kind: pipeline
2019-06-19 19:08:38 +02:00
name: linux-amd64-2.7
platform:
os: linux
arch: amd64
steps:
- name: lint
pull: always
image: chusiang/ansible:2.7
commands:
- "echo \"==> Syntax Check on Ansible 2.7 ...\""
- ansible --version
2019-06-19 19:11:48 +02:00
- ansible-lint tasks/main.yml
environment:
ANSIBLE_VERSION: 2.7
...