Files
infrastructure/.gitea/workflows/ci-static.yml
T
spektr 274e988a5c
ci-static / secret-scan (push) Failing after 1m14s
ci-static / yamllint (push) Failing after 24s
ci-static / ansible-syntax (push) Failing after 24s
ci-static / markdown-links (push) Failing after 23s
M5 CI: runs-on auf vorhandenes Runner-Label ubuntu-latest (Job-Image bleibt per Digest gepinnt)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-11 05:45:30 +01:00

51 lines
1.8 KiB
YAML

name: ci-static
# Statische CI ohne Serverzugang (GNAI-001 Meilenstein 5, erster Schritt):
# Secret-Scan, YAML-Lint, Ansible-Syntax-Check aller Projekte, Markdown-Links.
# Images sind per Digest gepinnt; Runner siehe proxmox/lxc/ct-116-runner.
on:
push:
pull_request:
branches: [main]
jobs:
secret-scan:
runs-on: [ubuntu-latest]
container:
image: python:3.13-bookworm@sha256:cc55e4ded9c95f6ce2133b3d096db43f214d280c2a8af65d83e246c8fa7d168c
steps:
- uses: actions/checkout@v4
- name: Secret-Scan (Private Keys, AWS-Keys, WG-PSK-Muster)
run: python3 scripts/ci/secret_scan.py
yamllint:
runs-on: [ubuntu-latest]
container:
image: python:3.13-bookworm@sha256:cc55e4ded9c95f6ce2133b3d096db43f214d280c2a8af65d83e246c8fa7d168c
steps:
- uses: actions/checkout@v4
- name: yamllint installieren (gepinnt)
run: pip install --no-cache-dir -r ci/requirements-ci.txt
- name: YAML-Lint
run: yamllint -c .yamllint $(git ls-files '*.yml' '*.yaml' | grep -v -E '^\.venv/|\.ansible/')
ansible-syntax:
runs-on: [ubuntu-latest]
container:
image: python:3.13-bookworm@sha256:cc55e4ded9c95f6ce2133b3d096db43f214d280c2a8af65d83e246c8fa7d168c
steps:
- uses: actions/checkout@v4
- name: ansible-core installieren (gepinnt wie Control-Node)
run: pip install --no-cache-dir -r shared/ansible/requirements-control.txt
- name: Syntax-Check aller Ansible-Projekte
run: bash scripts/ci/check_ansible_syntax.sh
markdown-links:
runs-on: [ubuntu-latest]
container:
image: python:3.13-bookworm@sha256:cc55e4ded9c95f6ce2133b3d096db43f214d280c2a8af65d83e246c8fa7d168c
steps:
- uses: actions/checkout@v4
- name: Relative Markdown-Links pruefen
run: python3 scripts/ci/check_links.py