GitFOSS CI is a continuous integration orchestraction app built in Crystal.
It exposes a set of endpoints so the GitFOSS forge can interact with it.
pipeline:
image: alpine:latest
stages:
- name: test
commands:
- yarn install --dev-only
- yarn test
test_report:
format: junit-coverage
path: ./tests/coverage/
- name: build
env:
- NODE_ENV=production
- DATABASE_URL=$DATABASE_URL # from Env["DATABASE_URL"]
commands:
- yarn install
- yarn generate
- yarn build
save_artefacts:
- distributables:./dist/
- name: deploy-staging
manual: true
commands:
- ./scripts/deploy.sh --env=staging /app/dist/
load_artefacts:
- distributables:/app/dist/
- name: deploy-prod
manual: true
commands:
- ./scripts/deploy.sh --env=production /app/dist/
load_artefacts:
- distributables:/app/dist/
$ git clone https://github.com/your-github-user/gitfoss-ci.git
$ cd gitfoss-ci
$ shards build
$ ./bin/gitfoss-ci [--flags] CMD [INPUT]
TODO: Write usage instructions here
TODO: Write development instructions here
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)GitFOSS hosted on GitFOSS! :)
gitfoss.
https://gitfoss.dev/ethicdevs/gitfoss.gitgit@gitfoss.dev:ethicdevs/gitfoss.gitTags:v0.2.0,