5 releases
0.1.0 | Jul 9, 2020 |
---|---|
0.0.4 | Nov 8, 2019 |
0.0.3 | Jul 23, 2019 |
0.0.2 | Jul 23, 2019 |
0.0.1 | Jul 23, 2019 |
#2357 in Development tools
16KB
81 lines
gitlab-ci-validate-rust
Checks if your .gitlab-ci.yml file is valid.
I decided to create a simple cli tool to try Rust so this repository is a fork of my nodejs version https://github.com/pradel/gitlab-ci-validate.
Install
$ cargo install gitlab-ci-validate
Usage
# To see all the available options
$ gitlab-ci-validate --help
# It will try to find if .gitlab-ci.yml is present on the current folder if no file path is provided
$ gitlab-ci-validate <file-path>
# You can specify your own gitlab host if you need
$ gitlab-ci-validate <file-path> --host https://my-gitlab-url
# You can provide a private token if you need
$ gitlab-ci-validate <file-path> --private-token <my-gitlab-token>
License
MIT © Léo Pradel
Dependencies
~7–11MB
~216K SLoC