- mailman3/ci/minimal-values.yaml: SQLite and the postfix sidecar. - mailman3/ci/postgresql-values.yaml: the deployed shape (bundled PostgreSQL, external SMTP, ingress with TLS). Both use placeholders only. - .gitea/workflows/lint.yaml: calls the reusable-helm-lint workflow with render-defaults false, because the templates need admin and key values the defaults leave empty. Manual-only until the shared runner and CI tools image are ready. Refs DevOps/software-infrastructure#55 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
963 B
YAML
34 lines
963 B
YAML
# Helm lint and render check. DevOps/software-infrastructure#55 (G7).
|
|
# Uses the shared reusable workflow; see docs/ci-cd/adding-ci.md in
|
|
# DevOps/software-infrastructure.
|
|
#
|
|
# Manual-only until the shared runner is proven stable (#41) and the CI
|
|
# tools image is published (#49). Then replace `on:` with:
|
|
#
|
|
# on:
|
|
# push:
|
|
# branches: [main]
|
|
# pull_request:
|
|
name: lint
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: lint-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
helm:
|
|
uses: DevOps/software-infrastructure/.gitea/workflows/reusable-helm-lint.yaml@main
|
|
with:
|
|
chart-path: mailman3
|
|
# The templates need admin and key values that the defaults leave
|
|
# empty, so check with CI placeholders: SQLite + postfix, and the
|
|
# deployed shape (bundled PostgreSQL, external SMTP, ingress).
|
|
render-defaults: false
|
|
values-files: ci/minimal-values.yaml ci/postgresql-values.yaml
|