Skip to content

Add Docker smoke test running init command in CI#770

Merged
evgeny-stakewise merged 2 commits into
masterfrom
ci-docker-smoke-test
Jul 14, 2026
Merged

Add Docker smoke test running init command in CI#770
evgeny-stakewise merged 2 commits into
masterfrom
ci-docker-smoke-test

Conversation

@evgeny-stakewise

Copy link
Copy Markdown
Contributor

Summary

Adds a smoke test to the Docker CI workflow to verify the built container image is functional beyond just building successfully.

Details

In the per-platform docker job, after the push-by-digest build:

  • Load image locally for smoke test — rebuilds the image with load: true (reusing the GHA cache, so effectively free) and tags it operator-smoke-test:ci so it can be run locally on the runner.
  • Smoke test Docker image — runs the init command inside the container. init exercises the CLI wiring and Python startup without needing execution/consensus RPC endpoints, so it runs offline and exits 0 on success. --no-verify skips the interactive mnemonic verification that would otherwise block on stdin.

If the container fails to start or the CLI is broken, docker run returns non-zero and the step (and job) fails.

@evgeny-stakewise
evgeny-stakewise merged commit 935d7bc into master Jul 14, 2026
10 checks passed
@evgeny-stakewise
evgeny-stakewise deleted the ci-docker-smoke-test branch July 14, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants