Stéphane Bidoul
1bc0c0cfd4
More flexible configuration
2021-11-19 19:22:28 +01:00
Stéphane Bidoul
cc701d5930
Add branch filter to event source
2021-11-18 22:54:31 +01:00
Stéphane Bidoul
5cc316fee1
Remove test code
2021-11-17 16:05:11 +01:00
Stéphane Bidoul
25b72d5a80
Factor out runboat-build custom element
2021-11-17 15:53:54 +01:00
Stéphane Bidoul
442b4e437d
Do not hard kill deployments
...
To leave them a change to close postgres connections.
2021-11-16 21:33:47 +01:00
Stéphane Bidoul
31beee0a47
SSE endpoint for build events
...
And dyamic build.html page.
2021-11-16 21:33:16 +01:00
Stéphane Bidoul
03e6fa4795
Use observer pattern to listen on BuildsDb
...
Prepare for websocket notifications.
2021-11-14 19:23:09 +01:00
Stéphane Bidoul
88e5cb5b44
Finish strict typing
2021-11-14 14:42:02 +01:00
Stéphane Bidoul
d80df82173
Rename webui template
2021-11-14 11:07:42 +01:00
Stéphane Bidoul
fa353ec038
Hide useless links in build webui
2021-11-14 11:02:50 +01:00
Stéphane Bidoul
87a021137b
Add types in api.py
2021-11-13 18:51:47 +01:00
Stéphane Bidoul
4d3e227d3f
Even moar typing
2021-11-13 18:45:17 +01:00
Stéphane Bidoul
8e921753ba
Moar typing
2021-11-13 18:21:29 +01:00
Stéphane Bidoul
858c58e47d
Some typing
2021-11-13 18:05:55 +01:00
Stéphane Bidoul
afe415b9e1
Remove TODO from readme
...
See GitHub issues.
2021-11-13 13:33:47 +01:00
Stéphane Bidoul
7b6ce4f1bd
Preserve odoo-venv for faster startup
2021-11-12 00:21:43 +01:00
Stéphane Bidoul
36f37639b0
Quiet git clone
2021-11-11 19:42:26 +01:00
Stéphane Bidoul
8a4797bf02
Build log endpoints
2021-11-11 19:30:39 +01:00
Stéphane Bidoul
f2f9a73ccd
Improve k8s watcher error handling
2021-11-11 17:52:35 +01:00
Stéphane Bidoul
3dbc251b94
Add more links to build information
2021-11-11 17:51:57 +01:00
Stéphane Bidoul
d8fff09ed1
Cleaner way to disable database manager
2021-11-09 22:34:42 +01:00
Stéphane Bidoul
801790ed05
Make filestore storage class configurable
...
Also, use kustomize patches instead of vars.
2021-11-09 20:03:37 +01:00
Stéphane Bidoul
db51e28dbd
Use a PVC for the Odoo filestore
2021-11-09 20:03:37 +01:00
Stéphane Bidoul
0dd953160c
Let uvicorn choose the event loop
2021-11-07 22:31:32 +01:00
Stéphane Bidoul
92c1d7da96
Load in-cluster config is KUBECONFIG is not set
2021-11-07 12:47:05 +01:00
Stéphane Bidoul
f012651501
Add test for render_kubefiles
2021-11-07 12:02:36 +01:00
Stéphane Bidoul
bc2740029d
GitHub status now point back to a dedicagted page
...
It automatically redirects with the build homepage,
or show a page with button to start/stop the build.
2021-11-06 20:11:30 +01:00
Stéphane Bidoul
24d9be3b0c
Runboat does not need to know about postgres at all
2021-11-06 15:37:36 +01:00
Stéphane Bidoul
43e0e5f0d1
Remove unused ADMIN_PASSWD env var
2021-11-06 15:07:02 +01:00
Stéphane Bidoul
61ec2f06a0
Better docs leads to better code
2021-11-06 12:17:42 +01:00
Stéphane Bidoul
cb7dfb4642
Tweak comments and todos
2021-11-06 12:08:35 +01:00
Stéphane Bidoul
bb9b372933
Ignore unsupported and non-main branches in github webhook
2021-11-06 11:54:46 +01:00
Stéphane Bidoul
b56983195d
Improve configurability and detection of supported branches
2021-11-06 11:50:27 +01:00
Stéphane Bidoul
f6a6c9575f
Rename GitHub status context name
2021-11-06 11:25:04 +01:00
Stéphane Bidoul
a0052c878b
Tweak routes
2021-11-06 11:02:12 +01:00
Stéphane Bidoul
87b1126721
Lowercase supported_repos setting
2021-11-06 11:01:34 +01:00
Stéphane Bidoul
8bfd75d049
Do not notify GitHub statuses if nothing changed
2021-11-05 18:52:40 +01:00
Stéphane Bidoul
8b10c209bd
Better pattern for worker wakeup
2021-11-05 18:45:24 +01:00
Stéphane Bidoul
903a05fc0e
Report build statuses to GitHub
2021-11-05 18:28:52 +01:00
Stéphane Bidoul
968f94c1e7
Allow customizing build environment variables
2021-11-05 18:23:02 +01:00
Stéphane Bidoul
e1a2a4d5c4
Improve readme
2021-11-05 18:22:15 +01:00
Stéphane Bidoul
56a57de966
Add timeout on initialization job
2021-11-05 10:21:38 +01:00
Stéphane Bidoul
a5e8185abd
Rename method for clarity
2021-11-05 10:08:39 +01:00
Stéphane Bidoul
3c1b4b3fb2
Make GitHub calls async
2021-11-05 10:07:05 +01:00
Stéphane Bidoul
de2a95dc7d
Add Dockerfile
2021-11-05 09:44:34 +01:00
Stéphane Bidoul
e100c838a5
Tweak a couple of log messages
2021-11-05 09:41:12 +01:00
Stéphane Bidoul
c56556c3ce
Add stopping state
2021-11-04 09:49:45 +01:00
Stéphane Bidoul
1f52025f97
Use finalizers to track cleanup
2021-11-04 09:37:40 +01:00
Stéphane Bidoul
d79cb6223e
Use official kubernetes client
...
Because kubernetes_asyncio watcher have correctness issues,
as they seem to re-emit events that pre-date the initial load.
Although I ended up having to implement an infinite watcher,
to handle socket timeout errors...
2021-11-04 09:36:01 +01:00
Stéphane Bidoul
a2ed957819
Simplify API
2021-11-01 00:02:34 +01:00