Skip to content

20k-ultra/circle-ci-config-linter

Repository files navigation

circle-ci-config-linter

CircleCI CircleCI-Linter <-- Generated by this tool!

NEW: Checkout out the lambda-function branch to see how you can make a badge for your repository by using my AWS Lambda.


Lint a CircleCI config file from a github repository. You can learn more about CircleCI config options at docs.

Building

$ lein install
$ lein test

Usage

The following command will ouput an SVG to sdout. You can save this in a file to be used later but the plan is to host this as a service on AWS Lambda so any repository can lint their configs!

$ lein run "CircleCI-Public/circleci-cli"

To do

Mentions

The Schemastore spec used for this can be found in /resources/circle-ci-schema.json. I had to modify it slightly because the original was causing json-schema.clj to throw some errors.

License

Copyright © 2020

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

About

CircleCI config file linter using SchemaStore spec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published