fix(deploy): validate resolved Compose config and namespaced Secrets #84

Merged
forust merged 2 commits from fix/deploy-validation into main 2026-10-06 14:54:29 +00:00
Owner

Deploy preflight currently disables Compose interpolation and file resolution, and checks Secrets by name across all namespaces. Missing local settings or a Secret in the wrong namespace can pass validation. CI also misses the three manually named Compose entry points.

Resolve active Compose configuration on the deployment host. Discover all tracked *compose.yaml/*compose.yml files for CI. Extract required pod Secret references from rendered JSON and check each namespace/name pair, including mounted/projected Secrets and init containers; honor optional references.

Validation: shell regressions for discovery, missing variables, Secret namespace/optional handling, and render failures; ShellCheck and actionlint. Regression checks are wired into CI. Checks establish Secret existence/access, not key contents or password validity.

Deploy preflight currently disables Compose interpolation and file resolution, and checks Secrets by name across all namespaces. Missing local settings or a Secret in the wrong namespace can pass validation. CI also misses the three manually named Compose entry points. Resolve active Compose configuration on the deployment host. Discover all tracked *compose.yaml/*compose.yml files for CI. Extract required pod Secret references from rendered JSON and check each namespace/name pair, including mounted/projected Secrets and init containers; honor optional references. Validation: shell regressions for discovery, missing variables, Secret namespace/optional handling, and render failures; ShellCheck and actionlint. Regression checks are wired into CI. Checks establish Secret existence/access, not key contents or password validity.
forust added 1 commit 2026-10-06 14:23:09 +00:00
fix(deploy): resolve Compose config and check namespaced pod Secrets
renovate-ci / validate-renovate (push) Skipped
ci / lint-compose (push) Successful in 10s
ci / lint-actionlint (push) Successful in 5s
ci / lint-shellcheck (push) Failing after 10s
ci / lint-prettier (push) Successful in 13s
ci / lint-ruff (push) Successful in 5s
ci / lint-yaml (push) Successful in 11s
ci / lint-dockerfiles (push) Successful in 7s
ci / validate (push) Successful in 8s
ci / build (push) Skipped
ci / lint-compose (pull_request) Canceled after 0s
ci / lint-actionlint (pull_request) Canceled after 0s
ci / lint-shellcheck (pull_request) Canceled after 0s
ci / lint-prettier (pull_request) Canceled after 0s
ci / lint-ruff (pull_request) Canceled after 0s
ci / lint-yaml (pull_request) Canceled after 0s
ci / lint-dockerfiles (pull_request) Canceled after 0s
ci / validate (pull_request) Canceled after 0s
ci / build (pull_request) Canceled after 0s
renovate-ci / validate-renovate (pull_request) Successful in 8s
ff40a71145
forust added 1 commit 2026-10-06 14:31:51 +00:00
fix(ci): install jq for deploy validation regressions
renovate-ci / validate-renovate (push) Skipped
ci / lint-compose (push) Successful in 8s
ci / lint-actionlint (push) Successful in 5s
ci / lint-shellcheck (push) Successful in 14s
ci / lint-prettier (push) Successful in 15s
ci / lint-ruff (push) Successful in 5s
ci / lint-yaml (push) Successful in 9s
ci / lint-dockerfiles (push) Successful in 7s
ci / validate (push) Successful in 6s
ci / build (push) Skipped
ci / lint-compose (pull_request) Successful in 11s
ci / lint-actionlint (pull_request) Successful in 7s
ci / lint-shellcheck (pull_request) Successful in 12s
ci / lint-prettier (pull_request) Successful in 14s
ci / lint-ruff (pull_request) Successful in 5s
ci / lint-yaml (pull_request) Successful in 11s
ci / lint-dockerfiles (pull_request) Successful in 6s
ci / validate (pull_request) Successful in 6s
ci / build (pull_request) Skipped
renovate-ci / validate-renovate (pull_request) Successful in 8s
8d3185f8ab
forust merged commit 080ae343e6 into main 2026-10-06 14:54:29 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: forust/homelab#84