47 lines
998 B
Markdown
47 lines
998 B
Markdown
# runboat ☸️
|
|
|
|
A simple runbot lookalike on kubernetes. Main goal is replacing the OCA runbot.
|
|
|
|
|
|
# Requirements
|
|
|
|
For running the builds:
|
|
|
|
- A namespace in a kubernetes cluster.
|
|
- A wildcard DNS domain that points to the kubernetes ingress.
|
|
- A postgres database, accessible from within the cluster namespace with a user with
|
|
permissions to create database.
|
|
|
|
For running the controller:
|
|
|
|
- Python 3.10
|
|
- `kubectl`
|
|
- A `KUBECONFIG` that provides access to the namespace where the builds are deployed,
|
|
with permissions to create and delete service, deployment, ingress, secret and
|
|
configmap resources.
|
|
|
|
## TODO
|
|
|
|
Prototype:
|
|
|
|
- webhook
|
|
- plug it on a bunch of OCA and shopinvader repos to test load
|
|
- handle init failures, add failed status
|
|
- reaper
|
|
|
|
MVP:
|
|
|
|
- finish api
|
|
- log api endpoints
|
|
- report build status to github
|
|
- k8s init container timeout
|
|
- error handling in API
|
|
- basic tests
|
|
- look at other TODO in code
|
|
- build image
|
|
- deployment
|
|
- plug it on shopinvader and acsone
|
|
|
|
More:
|
|
|
|
- UI
|