Sign inSign up

mablhq/mabl-cli

By mablhq

•Updated 1 day ago

Containerized mabl CLI runner

Image
0

10K+

mablhq/mabl-cli repository overview

mabl logo

⁠Mabl Command Line Interface Docker Container

⁠Supported tags

  • latest
  • Major, Minor, and point release version (e.g. 1, 1.2, and 1.2.3)

⁠Running the container

The mabl-cli requires a minimum of two arguments:

  • Your API key
  • A valid mabl CLI command

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

⁠Environment variablse

VariableDescriptionrequired
MABL_API_KEYApi key used to authenticate to mabl apis. Keys can be found under Settings > API in the mabl web applicationyes
MABL_HTTP_PROXYproxy url to send mabl cli traffic throughno
MABL_SSL_VERIFYSet to false to turn off SSL verification. Defaults to true.no

⁠Limitations

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⁠.

⁠Documentation

For more information please see:

Tag summary

Content type

Image

Digest

sha256:01c4f1c02…

Size

169.6 MB

Last updated

1 day ago

docker pull mablhq/mabl-cli