ci: check docs and format
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
24
.drone.yml
24
.drone.yml
@@ -68,8 +68,30 @@ steps:
|
||||
TF_VAR_lawndale_dns_key_algorithm:
|
||||
from_secret: lawndale-dns-key-algorithm
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: Check docs and format
|
||||
|
||||
environment:
|
||||
TF_IN_AUTOMATION: "1"
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/pull/*/head
|
||||
|
||||
steps:
|
||||
- name: format and generate docs
|
||||
image: hashicorp/terraform:1.1.8
|
||||
commands:
|
||||
- apk add bash wget
|
||||
- wget -q https://github.com/terraform-docs/terraform-docs/releases/download/v0.16.0/terraform-docs-v0.16.0-linux-amd64.tar.gz -O - | tar -xz terraform-docs -C /usr/local/bin
|
||||
- terraform fmt
|
||||
- terraform-docs .
|
||||
- git diff-index --name-status HEAD
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: e5dd07c87773ffb3b02240744e4bdde91d9338a344d0ba2d393f598aac43cdfd
|
||||
hmac: c6554c5e7fc2c06848178745fbc97f30f1a5c652f9ad93995c901cb8cb7296e1
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user