gatehill/imposter-cli

None of the bundle engines are supported

bobjana opened this issue · 2 comments

imposter bundle -t jvm
produces
FATA[0000] JVM engine does not support bundling

Tested it with the other engine options as well with the same error.

Hi @bobjana, thanks for reporting this.

Until recently, only the awslambda engine type was supported by the imposter bundle command.

As of v0.36.0, docker is also supported:

$ ls
some-config.yaml

$ imposter bundle -t docker -o example/mock:latest
DEBU[0000] creating docker bundle /Users/pete/projects/imposter/imposter-engine/examples/rest/simple using version 3.33.3
DEBU[0000] engine image '3.33.3' already present
Step 1/3 : FROM outofcoffee/imposter:3.33.3
 ---> 06267dd28e10
Step 2/3 : COPY config /opt/imposter/config
 ---> Using cache
 ---> 637fc791bfe0
Step 3/3 : LABEL builtwith=imposter-cli
 ---> Using cache
 ---> c791e6281b26
Successfully built c791e6281b26
Successfully tagged example/mock:latest
INFO[0000] build process completed
INFO[0000] created docker bundle: example/mock:latest

$ docker run -it -p 8080:8080 example/mock:latest
...
Loading configuration file: ConfigReference(file=/opt/imposter/config/some-config.yaml, configRoot=/opt/imposter/config)
Mock engine up and running on http://localhost:8080