This repository hosts public templates and configuration used to publish PingCAP QE artifacts (container images, package manifests, and release routing). It includes Dockerfiles, package configuration templates, and scripts for generating release outputs.
dockerfiles/: Dockerfiles and aJustfilefor building CD/CI images; seedockerfiles/cd/README.md.packages/: Go-template YAML configs and scripts that generate release artifacts; seepackages/README.md.schemas/: JSON schema(s) for delivery configs (e.g.,schemas/delivery-schema.json).
- Preserve YAML ordering, comments, and quoting; avoid stylistic reformatting unless requested.
packages/*.tmpluse Go template syntax (via gomplate). Prefer updating templates, then regenerating outputs.- Bash scripts use
set -euo pipefail; keep them shellcheck-clean. - Avoid touching
release-*.yamldirectly; regenerate via the scripts underpackages/scripts/. - Commit messages follow Conventional Commits, e.g.,
feat(scope): subjectorfix: subject.
- Build images from source:
justrecipes indockerfiles/Justfile(requires Docker andjust). - Validate package templates:
./.github/scripts/ci.sh(long-running; requiresshellcheckandcrane, plusgomplate,yq, andjq). - Pre-commit hooks: trailing whitespace, EOF fixer, and gitleaks (
.pre-commit-config.yaml).