Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.81 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.81 KB

CircleCI Utils

CircleCI Build Status CircleCI Orb Version GitHub License CircleCI Community

Example Usage

How to Publish

  • Create and push a branch with your new features.
  • When ready to publish a new production version, create a Pull Request from from feature branch to main.
  • When your branch is merged into main create a new release version off of main. This can be achieved by going to circleci-utils release page and clicking on Draft a new release. Make sure the release version is in the format of vX.X.X. This is version number that will match the new orb version.

How to Publish Dev Version

Push your branch and CI will trigger dev published version of orb with the commit hash as the version.

How to Publish Dev Version Manually

To manually pack your orb.yml, you can run circleci orb pack . > orb.yml at the @orb.yml level.

cd src
circleci orb pack .  > orb.yml
circleci orb publish orb.yml coda/utils@dev:<your_branch_name>

Testing

Using bats to test bash scripts under src/tests. Individually testing for each command is done in config.yml.

Used in Following Repos:

  • infra
  • headless-chrome
  • coda