20 lines
353 B
YAML
20 lines
353 B
YAML
---
|
|
kind: pipeline
|
|
name: linters
|
|
steps:
|
|
- name: run shellcheck
|
|
image: debian:buster
|
|
commands:
|
|
- apt update
|
|
- apt install -y shellcheck
|
|
- shellcheck abra script.d/*
|
|
- name: test
|
|
image: debian:buster
|
|
commands:
|
|
- apt update
|
|
- apt install -y bats docker
|
|
- bats test.bats
|
|
trigger:
|
|
branch:
|
|
- main
|