Skip to content

Commit 004ea65

Browse files
committed
ci: bypass hermes-entrypoint for the --help smoke step
The entrypoint exits 78 without a mounted config for every command, so the --help check can only run against the CLI directly. The entrypoint contract itself stays covered by the dedicated EX_CONFIG step.
1 parent e4d5ea9 commit 004ea65

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/agent-image-smoke.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ jobs:
5353
5454
- name: "Smoke: --help exits 0"
5555
if: steps.guard.outputs.skip != 'true'
56-
run: docker run --rm hermes-agent:smoke hermes-agent --help >/dev/null
56+
# Bypass hermes-entrypoint: it requires a mounted config for every
57+
# command (exit 78 otherwise, covered by the next step), so --help can
58+
# only be exercised against the CLI directly.
59+
run: docker run --rm --entrypoint hermes-agent hermes-agent:smoke --help >/dev/null
5760

5861
- name: "Smoke: entrypoint refuses missing config with EX_CONFIG (78)"
5962
if: steps.guard.outputs.skip != 'true'

0 commit comments

Comments
 (0)