Once you have the prerequisites installed, you can build the CLI using:
make
This will output a docker-compose
CLI plugin for your host machine in ./bin
.
You can statically cross compile the CLI for Windows, macOS, and Linux using the
cross
target.
To run all of the unit tests, run:
make test
If you need to update a golden file simply do go test ./... -test.update-golden
.
To run the end to end tests, run:
make e2e-compose
Note that this requires a local Docker Engine to be running.
To create a new release:
This will automatically create a new tag, release and make binaries for Windows, macOS, and Linux available for download on the releases page.