tools/docs-pages.py writes the generated pages of the docs' Kubernetes section into a folder (the docs repo's content/docs/kubernetes), the way inbuxa-admin's build-manual.mjs writes the settings reference: - values.md: every value, from values.yaml and the schema (the same entries as VALUES.md; values-reference.py now exposes them as body()). - ports.md: each Service, its type, the Deployments it sends to and its ports, and what each NetworkPolicy lets in and out. - alerts.md: each alert rule, its severity, its wait, when it fires and what to do, with Prometheus' templating turned into words. Rendered with ci/docs-values.yaml: the defaults with webmail, console, metrics and backups on, so every part shows. check.sh builds them (CI gets python3-yaml for that); ci/ also puts the file through every other check.
46 lines
1.5 KiB
YAML
46 lines
1.5 KiB
YAML
# SPDX-FileCopyrightText: 2026 Coffey Labs LLC
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# The chart's checks on every pull request and on main: helm lint under
|
|
# Helm 4 and Helm 3, the values schema, kubeconform against the three newest
|
|
# Kubernetes minors, kube-linter, helm-unittest, bad values refused, and
|
|
# the values reference (charts/inbuxa/VALUES.md) current. All of it is
|
|
# tools/check.sh, so a contributor runs exactly this before pushing.
|
|
#
|
|
# Installs on a real cluster are the lab's job (inbuxa-k8s-lab), not this
|
|
# one's. The job image is pinned by digest, the only action is
|
|
# coffey-labs/actions checkout pinned by SHA, and every tool is pinned by
|
|
# version and SHA-256 in tools/install-tools.sh.
|
|
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
chart:
|
|
runs-on: light
|
|
container:
|
|
image: mirror.gcr.io/library/debian:trixie-slim@sha256:a72b4433de1cf7d6bae0c4cee74d0547f58601a643b3375f070c51600d63b6b2 # trixie-slim
|
|
steps:
|
|
- name: Packages
|
|
run: |
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
apt-get update -qq
|
|
apt-get install -y -qq --no-install-recommends ca-certificates curl git python3-minimal python3-yaml >/dev/null
|
|
- uses: coffey-labs/actions/checkout@fab0c4d45e0162963965f1555df27b7bed5e20ec
|
|
- run: tools/install-tools.sh
|
|
- run: tools/check.sh
|