
latest1, 1.2, and 1.2.3)The mabl-cli requires a minimum of two arguments:
For example:
List your applications:
$ docker run -e MABL_REST_API_KEY=$YOUR_API_KEY --rm mablhq/mabl-cli applications list
Trigger a deployment and await test results
$ docker run -e MABL_REST_API_KEY=$YOUR_API_KEY --rm mablhq/mabl-cli deployments create \
--application-id <application_id> \
--environment-id <environment_id> \
--await-completion
| Variable | Description | required |
|---|---|---|
| MABL_API_KEY | Api key used to authenticate to mabl apis. Keys can be found under Settings > API in the mabl web application | yes |
| MABL_HTTP_PROXY | proxy url to send mabl cli traffic through | no |
| MABL_SSL_VERIFY | Set to false to turn off SSL verification. Defaults to true. | no |
This image is very small (~320MiB) to allow rapid loading in your CI/CD pipelines. As a result, no browser is included. This means that local test runs usingmabl run and mabl run-alpha commands can only execute API tests or cloud based tests.
If you need to run browser tests locally, then use npm i -g @mablhq/mabl-clito install the mabl CLI into a headed environment with Chrome already installed. Alternatively, you may use this Docker image as a base layer, and install Chrome via your own Dockerfile on top of it.
A cli image with chromium installed is available here: https://hub.docker.com/r/mablhq/mabl-cli-chromium.
For more information please see:
Content type
Image
Digest
sha256:01c4f1c02…
Size
169.6 MB
Last updated
1 day ago
docker pull mablhq/mabl-cli