https://github.com/egormanga/cirook
CI as Git hooks
https://github.com/egormanga/cirook
ci ci-cd cirook docker git git-hook oci
Last synced: 7 months ago
JSON representation
CI as Git hooks
- Host: GitHub
- URL: https://github.com/egormanga/cirook
- Owner: egormanga
- Created: 2024-12-18T10:30:06.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-19T04:18:19.000Z (about 1 year ago)
- Last Synced: 2025-06-20T01:16:38.668Z (7 months ago)
- Topics: ci, ci-cd, cirook, docker, git, git-hook, oci
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cirook
(pronounced as _«see-rock»_; named after the similarity between English _«crook»_ and Russian _«крюк»_ meaning _«a hook»_.)
**CI/CD engine as a self-contained Git hook.**
## Example
```yaml
stages:
lint:
steps:
shellcheck:
image: shellcheck
build:
needs: []
steps:
compile:
image: gcc
script:
- make
test:
needs: [build]
steps:
tets:
script:
- ./main | grep -qFx 'Hello world!'
deploy:
steps:
scp:
image: alpine
network: init
init:
- apk add --no-cache openssh
script:
- scp './main' root@prod:/srv/bin/
```
_(Note: dicts are ordered.)_