salt-bootstrap/.drone.yml
2019-02-01 13:47:55 -07:00

154 lines
2.1 KiB
YAML

---
kind: pipeline
name: run-shellcheck
platform:
os: linux
arch: amd64
steps:
- name: build
image: koalaman/shellcheck-alpine
commands:
- shellcheck -s sh -f checkstyle bootstrap-salt.sh
when:
event:
- pull_request
---
kind: pipeline
name: build-amazon-1
platform:
os: linux
arch: amd64
steps:
- name: build
image: saltstack/drone-plugin-kitchen
settings:
requirements: tests/requirements.txt
target: amazon-1
privileged: true
when:
event:
- pull_request
depends_on:
- run-shellcheck
---
kind: pipeline
name: build-amazon-2
platform:
os: linux
arch: amd64
steps:
- name: build
image: saltstack/drone-plugin-kitchen
settings:
requirements: tests/requirements.txt
target: amazon-2
privileged: true
when:
event:
- pull_request
depends_on:
- run-shellcheck
---
kind: pipeline
name: build-centos-7
platform:
os: linux
arch: amd64
steps:
- name: build
image: saltstack/drone-plugin-kitchen
settings:
requirements: tests/requirements.txt
target: centos-7
privileged: true
when:
event:
- pull_request
depends_on:
- run-shellcheck
---
kind: pipeline
name: build-debian-8
platform:
os: linux
arch: amd64
steps:
- name: build
image: saltstack/drone-plugin-kitchen
settings:
requirements: tests/requirements.txt
target: debian-8
privileged: true
when:
event:
- pull_request
depends_on:
- run-shellcheck
---
kind: pipeline
name: build-debian-9
platform:
os: linux
arch: amd64
steps:
- name: build
image: saltstack/drone-plugin-kitchen
settings:
requirements: tests/requirements.txt
target: debian-9
privileged: true
when:
event:
- pull_request
depends_on:
- run-shellcheck
---
kind: pipeline
name: build-ubuntu-1804
platform:
os: linux
arch: amd64
steps:
- name: build
image: saltstack/drone-plugin-kitchen
settings:
requirements: tests/requirements.txt
target: ubuntu-1804
privileged: true
when:
event:
- pull_request
depends_on:
- run-shellcheck
---
kind: signature
hmac: 177ea56204b3976fd6728cbddd22a8fab85c9d487294021221871cfb3d568efa
...