Command Line Tool

Facets Command Line Tool is a command line interface that can be used to perform

Facets Command Line Tool (facetsctl) is an easier alternative to Facets APIs to push builds to Facets Control Plane.

Download Locations

You can download the Facets CLI (facetsctl) from the below locations based on your operating system.
Linux
OSX
Windows

Get Started

:point-right: Configure

You would need to configure your facetsctl one time for all subsequent operations.

facetsctl-os configure <CP_URL> <USER_NAME> <USER_TOKEN>

For Example:

facetsctl-os configure <<CP_URL>> <<USER_NAME>> <<USER_TOKEN>>

:point-right: Publish

./facetsctl image push <STACK_NAME> <APP_NAME> <RELEASE_STREAM> <IMAGE:TAG> <BUILD_NUMBER>

An Example

An example recipe of pushing builds with facetsctl can be found here :point-down:

TroubleShooting

Common Errors

❗️

2022/02/04 09:54:22 Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40

👍

export DOCKER_API_VERSION=1.39