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.
$ lein install
$ lein test
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"
make this run on Lambda with lambada(see lambda-function branch)- add more button styles (See shields.io)
- add CircleCI AWS CLI or Serverless Orbs to automatically deploy builds
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.
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.