Skip to content

test: cover compose → Nomad HCL translation - #11

Merged
pipozzz merged 1 commit into
mainfrom
test/nomad-builder
Sep 2, 2026
Merged

pipozzz merged 1 commit into
mainfrom
test/nomad-builder

Conversation

@pipozzz

@pipozzz pipozzz commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Adds an end-to-end test of the core nomploy engine (getBuildNomadCommand): a realistic compose is translated to a Nomad HCL job and the output is asserted — task groups, image, port, CPU/memory conversion, env resolution (incl. ${{project.X}} → ${VAR}), x-nomad-scaling autoscaling, Traefik-via-Consul routing tags, and the HTTP health check. Runs in CI, needs no cluster.

🤖 Generated with Claude Code

Adds an end-to-end test of getBuildNomadCommand: a realistic compose (ports,
env with project-var + ${VAR} interpolation, healthcheck, replicas, resource
limits, x-nomad-scaling, a domain) is translated and the generated Nomad HCL is
asserted (task groups, image, resource conversion, autoscaling, Traefik-via-
Consul routing tags, http health check).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pipozzz
pipozzz merged commit 4b77ca1 into main Sep 2, 2026
@pipozzz
pipozzz deleted the test/nomad-builder branch September 2, 2026 07:37
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Thank you for your contribution! Please sign our Contributor License Agreement by posting the following comment:


I have read the CLA Document and I hereby sign the CLA


Peter Gonda seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot locked and limited conversation to collaborators Sep 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant