Code Monkey home page Code Monkey logo

publiccode-parser-orb's Introduction

CircleCI Orb for publiccode.yml validation

CircleCI CircleCI Orb Version GitHub License

Usage

This orb validates publiccode.yml files using publiccode-parser-go

You can use it in your workflow to check if publiccode.yml in your repo is valid.

Example:

orbs:
    publiccode-parser: italia/[email protected]

workflows:
  test_my_app:
    jobs:
      - publiccode-parser/validate

see the orb registry listing for the full documentation and examples.

How to release (for developers of this orb)

  1. Create a feature branch and work on changes

  2. Check for errors with circleci config validate

  3. Put [semver:patch] in your commit subject to automatically bump the orb version (or [semver:minor] or [semver:major])

  4. Push the feature branch to italia/publiccode-parser-orb, not your own fork.

  5. Open a PR, the build scripts will start

  6. If the build errors out with "Cannot find italia/publiccode-parser@dev:alpha in the orb registry".

    1. circleci orb pack src > file.yml
      circleci orb validate file.yml
      circleci orb publish file.yml italia/publiccode-parser@dev:alpha
    2. Rerun the build

  7. Approve the hold-for-dev-publish job in CircleCI

  8. The publish-dev job will publish a new development orb (italia/publiccode-parser@dev:alpha)

  9. If the integration-dev workflow passes, get review and merge to master

  10. Approve hold-for-dev-publish again when the pipeline on master runs

  11. Check the new version is published and create a new PR bumping the version in the README as well

publiccode-parser-orb's People

Contributors

bfabio avatar romain325 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bfabio

publiccode-parser-orb's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.