https://github.com/premiscale/general-orb
An orb with many useful commands and jobs
https://github.com/premiscale/general-orb
circleci orb
Last synced: over 1 year ago
JSON representation
An orb with many useful commands and jobs
- Host: GitHub
- URL: https://github.com/premiscale/general-orb
- Owner: premiscale
- License: bsd-3-clause
- Created: 2023-09-13T02:40:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T16:35:14.000Z (over 1 year ago)
- Last Synced: 2025-03-16T01:53:54.962Z (over 1 year ago)
- Topics: circleci, orb
- Language: Shell
- Homepage: https://circleci.com/developer/orbs/orb/premiscale/general
- Size: 275 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# `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](https://github.com/emmeowzing/dynamic-continuation-orb) pipelines.
## Usage
```yaml
orbs:
general: premiscale/general@
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
```shell
yarn orb:pack # creates a file 'orb.yml'
```
and further validate the resulting orb definition with
```shell
yarn orb:validate
```
When you're done with your testing, you may clean up the packed source with
```shell
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`](.pre-commit-config.yaml) with
```shell
yarn install:pre-commit-hooks
```