/circleci-orb

Developing a CircleCI orb for usage in all the replikativ repositories

MIT LicenseMIT

replikativ Orb

CircleCI Build Status CircleCI Orb Version GitHub License Clojurians Slack

This CircleCI Orb helps continuously integrating replikativ projects

Test

  • Install CircleCI CLI tool
  • Pack the Orb in one big YAML with circleci orb pack src > orb.yml
  • Validate the Orb with circleci orb validate orb.yml

Usage

Example use-cases are provided on the orb registry page. Source for these examples can be found within the src/examples directory. Unittests are run via ./bin/run-unittests and integration tests are run via ./bin/run-integrationtests. Formatting is checked with cljfmt, a build is created with clj-tools and deployments to Clojars are done deps-deploy/deps-deploy.

For using the default replikativ workflow it is only necessary to basically copy one of the examples into the .circleci/config.yml file, commit and push it. The default steps are setup, format, build, unittest and deploy. If you want to run integration tests there are some already there for integrationtesting with specific databases.

Release

Commit the new Orb to the git repository and set the release type in the commit message. [semver:patch] as part of the message in case you want to release a patch version or your Orb.