Skip to content

premiscale/general-orb

Repository files navigation

general orb for CircleCI

This orb is a collection of useful commands and jobs we can reuse in many repositories to simplify configs and reduce code duplication in dynamically-continued pipelines.

Usage

orbs:
  general: premiscale/general@<latest version>

workflows:
  example:
    jobs:
      - general/github-release:
          context:
            - github
            - circleci
          filters:
            branches:
              ignore: /.*/
            tags:
              only: /^v?[0-9]+\.[0-9]+\.[0-9]+$/

Development

This orb has been developed in unpacked form. You may view its packed source with

yarn orb:pack  # creates a file 'orb.yml'

and further validate the resulting orb definition with

yarn orb:validate

When you're done with your testing, you may clean up the packed source with

yarn orb:clean

pre-commit

This repository uses pre-commit to uphold certain code styling and standards. You may install the hooks listed in .pre-commit-config.yaml with

yarn install:pre-commit-hooks