Add Drone config

This commit is contained in:
Brain 2024-09-10 13:39:54 +02:00
parent 59a68f9fdb
commit e97db0b40a
Signed by: Brain
GPG Key ID: EE936E31EE3AEE7A
2 changed files with 31 additions and 0 deletions

27
.drone.yml Normal file
View File

@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: 2024 WTF Kooperative eG <https://wtf-eg.de/>
# SPDX-License-Identifier: CC0-1.0
---
kind: pipeline
type: docker
name: compliance
trigger:
event:
- push
- pull_request
branch:
- main
steps:
- name: reuse
image: fsfe/reuse:4.0.3-debian
- name: yamllint
image: alpine:3.20
commands:
- apk add yamllint
- yamllint .
- name: ansible-lint
image: quay.io/ansible/creator-ee:v24.2.0
commands:
- ansible-lint

4
.yamllint Normal file
View File

@ -0,0 +1,4 @@
# SPDX-FileCopyrightText: 2024 WTF Kooperative eG <https://wtf-eg.de/>
# SPDX-License-Identifier: CC0-1.0
---
extends: default