https://github.com/replikativ/circleci-orb
Developing a CircleCI orb for usage in all the replikativ repositories
https://github.com/replikativ/circleci-orb
Last synced: 6 months ago
JSON representation
Developing a CircleCI orb for usage in all the replikativ repositories
- Host: GitHub
- URL: https://github.com/replikativ/circleci-orb
- Owner: replikativ
- License: mit
- Created: 2020-08-26T12:11:25.000Z (over 5 years ago)
- Default Branch: clj-tools
- Last Pushed: 2023-04-28T13:43:46.000Z (over 2 years ago)
- Last Synced: 2025-03-02T22:41:44.405Z (11 months ago)
- Size: 33.2 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# replikativ Orb
[](https://circleci.com/gh/replikativ/circleci-orb) [](https://circleci.com/orbs/registry/orb/replikativ/clj-tools) [](https://raw.githubusercontent.com/replikativ/circleci-orb/master/LICENSE) [](https://img.shields.io/badge/slack-join_chat-brightgreen.svg)
This CircleCI Orb helps continuously integrating replikativ projects
## Test
- [Install CircleCI CLI tool](https://circleci.com/docs/2.0/local-cli/)
- 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](https://circleci.com/orbs/registry/orb/replikativ/clj-tools#usage-examples).
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](https://circleci.com/docs/2.0/creating-orbs/#issue-a-new-release).
`[semver:patch]` as part of the message in case you want to release a patch version or your Orb.