Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pradel/gitlab-ci-validate-rust

Checks if your .gitlab-ci.yml file is valid.
https://github.com/pradel/gitlab-ci-validate-rust

cli gitlab gitlab-cli rust validate

Last synced: 2 months ago
JSON representation

Checks if your .gitlab-ci.yml file is valid.

Awesome Lists containing this project

README

        

# 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

```sh
# 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

# You can specify your own gitlab host if you need
$ gitlab-ci-validate --host https://my-gitlab-url

# You can provide a private token if you need
$ gitlab-ci-validate --private-token
```

## License

MIT © [Léo Pradel](https://www.leopradel.com/)