Enable portal-bff prod
Some checks failed
Deploy continuwuity to Nomad / nomad job run continuwuity (push) Failing after 4s
Some checks failed
Deploy continuwuity to Nomad / nomad job run continuwuity (push) Failing after 4s
This commit is contained in:
@@ -28,6 +28,17 @@ jobs:
|
||||
fi
|
||||
nomad version
|
||||
|
||||
- name: Check Nomad connection
|
||||
run: |
|
||||
if [ -z "$NOMAD_ADDR" ]; then
|
||||
echo "❌ NOMAD_ADDR secret is empty/unset — nomad would fall back to http://127.0.0.1:4646."
|
||||
echo " Set repo secrets NOMAD_ADDR and NOMAD_TOKEN in Gitea → Settings → Actions → Secrets."
|
||||
exit 1
|
||||
fi
|
||||
echo "→ NOMAD_ADDR=$NOMAD_ADDR"
|
||||
# Fails clearly if the runner can't reach the Nomad API (network/token).
|
||||
nomad node status >/dev/null
|
||||
|
||||
- name: Validate job
|
||||
run: nomad job validate continuwuity.hcl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user