#yaml #valid #file #gitlab #validate #cli #gitlab-ci

app gitlab-ci-validate

检查您的 .gitlab-ci.yml 文件是否有效

5 个版本

0.1.0 2020年7月9日
0.0.4 2019年11月8日
0.0.3 2019年7月23日
0.0.2 2019年7月23日
0.0.1 2019年7月23日

开发工具 中排名 #2357

MIT 许可证

16KB
81

gitlab-ci-validate-rust

检查您的 .gitlab-ci.yml 文件是否有效。

我决定创建一个简单的 CLI 工具来尝试 Rust,因此这个仓库是我的 nodejs 版本的分支 https://github.com/pradel/gitlab-ci-validate

安装

$ cargo install gitlab-ci-validate

用法

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

许可证

MIT © Léo Pradel

依赖项

~7–11MB
~216K SLoC