38 lines
576 B
YAML
38 lines
576 B
YAML
---
|
|
kind: pipeline
|
|
name: check
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: whitespace
|
|
pull: always
|
|
image: thegeeklab/alpine-tools
|
|
commands:
|
|
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
|
|
|
|
- name: terraform
|
|
pull: always
|
|
image: jmccann/drone-terraform:8
|
|
settings:
|
|
actions:
|
|
- validate
|
|
tf_version: 1.2.0
|
|
|
|
node:
|
|
zone: mgmt
|
|
|
|
trigger:
|
|
ref:
|
|
- refs/heads/main
|
|
- refs/tags/**
|
|
- refs/pull/**
|
|
|
|
---
|
|
kind: signature
|
|
hmac: ec825d5879e3dc1d26bdc619143cf2ea41d5183c2d7b892498b21103379675c2
|
|
|
|
...
|