[nomad-step-1] S1.4 — extend Woodpecker CI to nomad job validate nomad/jobs/*.hcl #843
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#843
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the Nomad+Vault migration. Step 1 — Forgejo as first Nomad job.
Goal
Extend the Woodpecker CI added in S0.5 to also validate jobspecs under
nomad/jobs/. Currently S0.5 runsnomad config validate nomad/*.hclwhich covers top-level configs (server.hcl,client.hcl,vault.hcl) but not jobspecs. Jobspecs need the separatenomad job validatecommand.Scope
Extend
.woodpecker/nomad-validate.yml(or the step added by S0.5) with:for f in nomad/jobs/*.hcl; do nomad job validate "$f"; done— fails on any bad jobspec.nomad/jobs/(the existingnomad/path filter from S0.5 already covers this, but confirm).nomad/AGENTS.mdto document the new validation step + what happens if a jobspec references an undeclared host_volume (Nomad validate catches this — good guardrail).Acceptance criteria
shellcheckclean if any shell changes.Non-goals
nomad/client.hclhost_volume list (future work).Labels / meta
[nomad-step-1] S1.4— no dependencies (can land in parallel with S1.1–S1.3; S1.4 validates whatever jobspecs exist at PR time).