mia-platform / mlp

cli for easier deployment of Mia-Platform Console projects
https://docs.mia-platform.eu/docs/runtime_suite_tools/mlp/overview
Apache License 2.0
12 stars 2 forks source link
golang kubernetes kustomize

mlp

[![Build Status][github-actions-svg]][github-actions] [![Go Report Card][go-report-card]][go-report-card-link] [![GoDoc][godoc-svg]][godoc-link]

mlp is a command line tool responsible for creating, updating and deleting kubernetes resources based on files generated by Mia-Platform Console. The main subcommands that the tool has are:

To Start Using mlp

Read the documentation here.

To Start Developing mlp

To start developing the CLI you must have this requirements:

Once you have pulled the code locally, you can build the code with make:

make build

make will download all the dependencies needed and will build the binary for your current system that you can find in the bin folder.

To build the docker image locally run:

make docker-build

Testing mlp

To run the tests use the command:

make test

Or add the DEBUG_TEST flag to run the test with debug mode enabled:

make test DEBUG_TEST=1

Before sending a PR be sure that all the linter pass with success:

make lint