Loading
feat(ci): lint the Terraform and Ansible, and render offline results on Pages
CI now lints the Terraform and the Ansible, which it did not before, and Pages renders offline test results as a matrix of release and track by capability.
terraform:lintrunsfmt -check, theninit -backend=falseandvalidate, in each root stack it finds, so a new sibling stack needs no CI change.terraform:tflintruns with.tflint.hcl.ansible:lintruns yamllint and ansible-lint overansible/.- The current tree did not pass the default rules. Each allow-list entry in
.tflint.hcl,.yamllint.ymlandansible/.ansible-lintcarries its reason, so a new finding fails the job. pagesrunsscripts/results_matrix.pyoverresults/*.jsonon the default branch only. A run whose seal is not proven never shows a PASS cell.results/fixture.jsonis sample data, tagged FIXTURE on the page, until the first lab run lands.
Checklist
- Verified on a deployment, or the reason it was not: CI and docs only.
glab ci lintpasses;terraform fmt,init -backend=falseandvalidatepass in all three roots; tflint, yamllint and ansible-lint exit 0; the generator's 13 unit tests pass. - Runbook and README updated if a step, variable or default changed:
CONTRIBUTING.mdandAGENTS.mdname the new jobs. - No secrets, hostnames or account IDs committed; certs stay in the git-ignored
certs/. - Release and service image pins changed in
ansible/group_vars/all/versions.yml; other pins edited where they sit: CI images pinned by tag and digest in.gitlab-ci.yml.