Stéphane Bidoul
b38f5b2a94
Add an initializing status
...
It is more explicit that "starting", since now builds
do not start automatically after initialization.
2021-11-20 17:29:49 +01:00
Stéphane Bidoul
7a4e188a7e
builds.html: add builds oldest first
...
So new builds being created appear left or top.
2021-11-20 17:17:35 +01:00
Stéphane Bidoul
4e9872bfed
Consider available replicas instead of ready replicas
2021-11-20 16:30:18 +01:00
Stéphane Bidoul
40d83bb1f7
Use port number for livenessProbe
2021-11-20 15:35:11 +01:00
Stéphane Bidoul
6b53a2407f
Add readiness and liveliness probes
2021-11-20 15:34:21 +01:00
Stéphane Bidoul
22575f0e35
Do not start builds after initialization success.
...
Since they start quickly it is better to let users
start them when needed, to avoid stopping
builds that are actually used in favor
of new builds they may not be needed by users.
2021-11-20 15:19:01 +01:00
Stéphane Bidoul
ea6b37a0eb
Remove addons dir before clone
...
So we can re-trigger after a failed installation.
2021-11-20 15:07:05 +01:00
Stéphane Bidoul
1bd45aa7b0
Fix addons directory location
...
It was mixed with the odoo data dir.
2021-11-20 15:06:34 +01:00
Stéphane Bidoul
57c292def1
Remove unused logger
2021-11-20 15:04:49 +01:00
Stéphane Bidoul
27afab461d
Add more tests for db.search
2021-11-20 14:45:42 +01:00
Stéphane Bidoul
f173688935
Various api improvements
...
- tweak function names for better swagger labels
- more build query options
- more build-events query options
- allow undeploying several builds at once
2021-11-20 14:24:17 +01:00
Stéphane Bidoul
dc6d75c94a
Fix builds page
2021-11-20 13:30:45 +01:00
Stéphane Bidoul
6d85c4a859
Tweak builds page
2021-11-20 13:28:47 +01:00
Stéphane Bidoul
ededf454a0
Fix builds row class
2021-11-20 13:11:24 +01:00
Stéphane Bidoul
48a1d7236f
Row layout for builds.html
2021-11-20 13:06:43 +01:00
Stéphane Bidoul
0547a73096
Merge pull request #19 from sbidoul/builds-page
...
Add rudimentary builds page
2021-11-20 12:22:59 +01:00
Stéphane Bidoul
f1ee13d2b7
Merge pull request #18 from sbidoul/flex-config
...
More flexible configuration
2021-11-20 12:22:41 +01:00
Stéphane Bidoul
59deefcd5a
Add rudimentary builds page
2021-11-20 12:20:56 +01:00
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
117851cbbb
Merge pull request #15 from sbidoul/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-11-17 08:44:46 +01:00
Stéphane Bidoul
3954634668
Simplify mypy config
2021-11-16 21:34:07 +01:00
Stéphane Bidoul
b57a2ffe4e
Tweak log config
2021-11-16 21:33:58 +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
pre-commit-ci[bot]
54f0c2402b
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/PyCQA/isort: 5.10.0 → 5.10.1](https://github.com/PyCQA/isort/compare/5.10.0...5.10.1 )
2021-11-15 17:54:08 +00: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
020c6609b1
Merge pull request #14 from sbidoul/finish-typing
...
Finish-typing
2021-11-14 14:49:46 +01:00
Stéphane Bidoul
07615c1fe8
Only build image on main branch
2021-11-14 14:47:05 +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
62c6b4caa2
Type annotations in tests
2021-11-14 10:29:07 +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
defa2f959e
Update dependencies
2021-11-13 14:09:29 +01:00
Stéphane Bidoul
c69d300507
Tweak README
2021-11-13 13:52:35 +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
b80508eed9
Tweak dockerfile
2021-11-11 17:57:32 +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
96372d8e50
Fix listen address in Dockerfile
2021-11-11 17:12:42 +01:00
Stéphane Bidoul
d8fff09ed1
Cleaner way to disable database manager
2021-11-09 22:34:42 +01:00