@@ -42,6 +54,42 @@ gitlabci-runner-local: Launch .gitlab-ci.yml jobs locally
---
## User configurations with ".configurations"
gitlabci-local implements support for specific user configurations
allowing simple and interactive local pipeline configurations.
Supported user configurations include `boolean`, `choice`, `input`, `yaml` and `json`.
Examples for each of these can be found in the `configurations` unit tests: [tests/configurations](https://gitlab.com/AdrianDC/gitlabci-local/blob/master/tests/configurations/.gitlab-ci.yml)
---
## Job execution in native context
gitlabci-local runs every jobs in the specified Docker image.
For specific local purposes where the native host context is wished,
where the host tools, folders or credentials are required,
`image: local` can be used to run the scripts natively.
An example usage can be found in the local CHANGELOG job: [.gitlab-ci.yml](https://gitlab.com/AdrianDC/gitlabci-local/blob/master/.gitlab-ci.yml)
---
## Environment variables
gitlabci-local uses the variables defined in .gitlab-ci.yml,
parses the simple environment variables file named `.env`
and the configurations selected through `.configurations`.
If specific environment variables are to be used in the job's container,
the `-e VARIABLE` or `-e VARIABLE=value` parameters can be used.
For example, `-e TERM=ansi` may enable colored terminal outputs.
---
## Dependencies
-[blessings](https://pypi.org/project/blessings/): Terminal colors and styles