Compare commits

..

1 Commits

Author SHA1 Message Date
734be583e6 chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.43.0
Some checks reported errors
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build encountered an error
2024-12-03 14:01:49 +00:00
10 changed files with 93 additions and 68 deletions

View File

@ -1,4 +1,3 @@
--- ---
exclude_paths: skip_list: []
- .gitea/

53
.drone.yml Normal file
View File

@ -0,0 +1,53 @@
---
kind: pipeline
type: kubernetes
name: linter
node_selector:
kubernetes.io/arch: amd64
kubernetes.io/os: linux
steps:
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.43.0
resources:
limits:
cpu: 50
memory: 50M
- name: ansible lint
commands:
- ansible-lint .
image: docker.io/volkerraschek/ansible-archlinux:latest
pull: always
resources:
limits:
cpu: 250
memory: 250M
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
trigger:
event:
exclude:
- tag

View File

@ -1,20 +0,0 @@
name: Ansible Linter
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
jobs:
ansible-lint:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@v25.7.0
with:
args: "--config-file .ansible-lint"
setup_python: "true"

View File

@ -1,18 +0,0 @@
name: Lint Markdown files
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
jobs:
markdown-lint:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
with:
globs: '**/*.md'

1
.gitignore vendored
View File

@ -1 +0,0 @@
.ansible

View File

@ -45,17 +45,19 @@ MD012:
# MD013/line-length - Line length # MD013/line-length - Line length
MD013: MD013:
# Number of characters # Number of characters
line_length: 120 line_length: 80
# Number of characters for headings # Number of characters for headings
heading_line_length: 120 heading_line_length: 80
# Number of characters for code blocks # Number of characters for code blocks
code_block_line_length: 120 code_block_line_length: 80
# Include code blocks # Include code blocks
code_blocks: false code_blocks: false
# Include tables # Include tables
tables: false tables: false
# Include headings # Include headings
headings: true headings: true
# Include headings
headers: true
# Strict length checking # Strict length checking
strict: false strict: false
# Stern length checking # Stern length checking
@ -68,6 +70,11 @@ MD022:
# Blank lines below heading # Blank lines below heading
lines_below: 1 lines_below: 1
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD024:
# Only check sibling headings
allow_different_nesting: true
# MD025/single-title/single-h1 - Multiple top-level headings in the same document # MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025: MD025:
# Heading level # Heading level

View File

@ -1,5 +1,6 @@
# bind9-role # bind9-role
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/bind9-role/status.svg)](https://drone.cryptic.systems/volker.raschek/bind9-role)
[![Ansible Role](https://img.shields.io/ansible/role/d/58170)](https://galaxy.ansible.com/volker_raschek/bind9) [![Ansible Role](https://img.shields.io/ansible/role/d/58170)](https://galaxy.ansible.com/volker_raschek/bind9)
With following role can be bind installed and configured. With following role can be bind installed and configured.

View File

@ -1,7 +1,7 @@
--- ---
bind9_acls: bind9_acls:
- name: "internalnets" - name: internalnets
permissions: [] permissions: []
# - "111.222.111.222" # - "111.222.111.222"
@ -117,7 +117,7 @@ bind9_tsigkeys: []
# secret: "secret" # secret: "secret"
bind9_views: [] bind9_views: []
# - name: "external" # - name: external
# match_clients: # match_clients:
# - "!internalnets" # - "!internalnets"
# - "any" # - "any"
@ -135,7 +135,7 @@ bind9_views: []
# type: master # type: master
# notify: true # notify: true
# file: zones/external/db.local.example # file: zones/external/db.local.example
# - name: "internal" # - name: internal
# match_clients: # match_clients:
# - "!192.168.178.1" # - "!192.168.178.1"
# - "internalnets" # - "internalnets"

View File

@ -1,26 +1,24 @@
dependencies: []
galaxy_info: galaxy_info:
role_name: bind9
author: Markus Pesch author: Markus Pesch
company: Cryptic Systems
description: Role to install and configure bind9 on different distributions description: Role to install and configure bind9 on different distributions
galaxy_tags: company: Cryptic Systems
- named
- bind
- dyndns
license: MIT license: MIT
min_ansible_version: "2.9" min_ansible_version: "2.9"
namespace: volker-raschek
platforms: platforms:
- name: ArchLinux - name: ArchLinux
versions: versions:
- all - all
- name: EL
versions:
- all
- name: Fedora
versions:
- all
- name: Ubuntu - name: Ubuntu
versions: versions:
- all - all
role_name: bind9 - name: EL
versions:
- all
galaxy_tags:
- named
- bind
- dyndns
dependencies: []

View File

@ -1,9 +1,15 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "assignees": [ "volker.raschek" ],
"local>volker.raschek/renovate-config:default#master", "labels": [ "renovate" ],
"local>volker.raschek/renovate-config:container#master", "packageRules": [
"local>volker.raschek/renovate-config:actions#master", {
"local>volker.raschek/renovate-config:regexp#master" "addLabels": [ "renovate/droneci", "renovate/automerge" ],
] "automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch"
} }