feat(dns): 用模板生成各后端配置
yaml / yaml (pull_request) Successful in 23s
terraform / validate (pull_request) Successful in 36s
ansible / collection-test (pull_request) Successful in 1m33s
ansible / lint (pull_request) Failing after 2m44s

This commit is contained in:
2026-09-16 18:27:09 +00:00
parent 5ba4411646
commit 5241eceb0c
11 changed files with 250 additions and 68 deletions
+9
View File
@@ -13,12 +13,16 @@ on:
paths:
- '**/*.yaml'
- '**/*.yml'
- 'infrastructure/dns/**'
- 'infrastructure/cloudflared/terraform/dns.generated.tf'
- '.yamllint.yml'
- '.gitea/workflows/lint.yml'
pull_request:
paths:
- '**/*.yaml'
- '**/*.yml'
- 'infrastructure/dns/**'
- 'infrastructure/cloudflared/terraform/dns.generated.tf'
- '.yamllint.yml'
- '.gitea/workflows/lint.yml'
@@ -52,3 +56,8 @@ jobs:
export PATH="$HOME/.local/bin:$PATH"
files=$(git ls-files '*.yaml' '*.yml' | grep -vE '^apps/netboot/')
yamllint -c .yamllint.yml --no-warnings -f parsable $files
- name: Verify generated DNS configuration
run: |
export PATH="$HOME/.local/bin:$PATH"
uv run infrastructure/dns/generate.py --check