Zuul Job Config Linter
Project description
zuul-lint
Validate from the command line
pip install zuul-lint
zuul-lint .zuul.yaml
Validate with pre-commit
Add the code below to your .pre-commit-config.yaml file:
- repo: https://github.com/pycontribs/zuul-lint.git
rev: "0.1"
hooks:
- id: zuul-lint
Validate with VS Code
To ease editing Zuul CI configuration file we added experimental support for a Zuul JSON Schema. This should enable validation and auto-completion in code editors.
For example on VSCode you can use the YAML extension to use such a schema
validation by adding the following to settings.json:
"yaml.schemas": {
"https://raw.githubusercontent.com/pycontribs/zuul-lint/master/zuul_lint/zuul-schema.json": ["*zuul.d/*.yaml", "*/.zuul.yaml"]
},
"yaml.customTags": [
"!encrypted/pkcs1-oaep array"
],
"sortJSON.orderOverride": ["title", "name", "$schema", "version", "description", "type"],
"sortJSON.orderUnderride": ["definitions"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zuul-lint-0.1.1.tar.gz.
File metadata
- Download URL: zuul-lint-0.1.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
276d72153e42296bfac819a760f315d05ce18e8cef1ba18e8da567148d339541
|
|
| MD5 |
b6eef6638e19bc94548440832c8aa13b
|
|
| BLAKE2b-256 |
b6f1f47551bf91b2220f0995bdef8d64c5a8e8f6e6f32e4ebb3972a4c89a3c03
|
File details
Details for the file zuul_lint-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: zuul_lint-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed3d7f50babed60f0429607bd6ed8b658fc27f3e6cf32f057efd2de072773389
|
|
| MD5 |
6809fba26742b46a86a902d0de853e2b
|
|
| BLAKE2b-256 |
d369e09d44c16b3c376df16cf9a0ccb0e61f62cf79febb63cb6baa261b3ff6cc
|