From d898741283c607555f7968f14ef58ab2f9b2733d Mon Sep 17 00:00:00 2001 From: Agent Date: Thu, 16 Apr 2026 11:07:41 +0000 Subject: [PATCH] fix: [nomad-validate] add nomad version check before config validate --- .woodpecker/nomad-validate.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker/nomad-validate.yml b/.woodpecker/nomad-validate.yml index a66e1e7..81e45ae 100644 --- a/.woodpecker/nomad-validate.yml +++ b/.woodpecker/nomad-validate.yml @@ -16,7 +16,7 @@ # Steps (all fail-closed — any error blocks merge): # 1. nomad-config-validate — `nomad config validate` on server + client HCL # 2. nomad-job-validate — `nomad job validate` looped over every -# nomad/jobs/*.nomad.hcl (new jobspecs get +# nomad/jobs/*.hcl (new jobspecs get # CI coverage automatically) # 3. vault-operator-diagnose — `vault operator diagnose` syntax check on vault.hcl # 4. shellcheck-nomad — shellcheck the cluster-up + install scripts + disinto @@ -57,6 +57,7 @@ steps: - name: nomad-config-validate image: hashicorp/nomad:1.9.5 commands: + - nomad version - nomad config validate nomad/server.hcl nomad/client.hcl # ── 2. Nomad jobspec HCL syntax check ────────────────────────────────────