CI and Automation
Non-interactive execution
hen run ./examples/lorem.hen all --non-interactive
If a collection contains prompt placeholders, provide them explicitly:
hen run ./examples/environment_overrides.hen 0 \
--env local \
--input client_id=ci-client \
--non-interactive
Docker Image for CI
Hen provides a Docker image for easy use in CI environments without installing Rust or Hen directly. You can pull the latest image with:
docker pull registry.gitlab.com/ben_goodman/apps/hen:latest
Use the image in your CI pipeline to run collections:
# .gitlab-ci.yml
Hen:
image: registry.gitlab.com/ben_goodman/apps/hen:latest
script:
- hen run ./collections/ci.hen all --non-interactive
Structured output
hen run ./examples/lorem.hen all --non-interactive --output json
hen run ./examples/lorem.hen all --non-interactive --output junit