Commit graph

27 commits

Author SHA1 Message Date
Nils Hamerlinck
f112a08de5 Add Mailhog to deployments 2022-09-17 18:31:01 +07:00
Stéphane Bidoul
3024085b53
Download github commit instead of cloning
Because the git clone+fetch is slower and uses a lot of RAM.
2022-02-18 18:52:57 +01:00
Stéphane Bidoul
dff8bbed02
Verify GitHub webhook signature 2022-01-29 17:21:57 +01:00
Stéphane Bidoul
e5392bb33f
Undeploy builds on PR close 2022-01-29 15:51:57 +01:00
Stéphane Bidoul
24fa4bebd1
Allow searching builds by status 2021-11-28 16:29:31 +01:00
Stéphane Bidoul
0700a21a26
Decouple deploy and start
Starting deployed builds is done by users as needed.
2021-11-28 14:50:20 +01:00
Stéphane Bidoul
6df8041b35
Add test for oldest_started 2021-11-27 13:51:05 +01:00
Alexandre Fayolle
811826b087
Preserve most recent branch builds
Co-authored-by: Alexandre Fayolle
Co-authored-by: Laurent Mignon
2021-11-26 18:17:09 +01:00
Stéphane Bidoul
b34dd38a7b
Abstract out image
The image, as part of build settings
is only passed to kubefiles rendering, and
not exposed outside.
2021-11-24 22:18:31 +01:00
Stéphane Bidoul
65a0805956
Ignore webhooks for unsupported repos/branches 2021-11-21 19:19:22 +01:00
Stéphane Bidoul
6912176be1
Refactor get_build_settings 2021-11-21 19:10:32 +01:00
Stéphane Bidoul
a090c6160e
Add tests for github webhook 2021-11-21 19:09:20 +01:00
Stéphane Bidoul
180ecc6f8d
Refactor passing around git commit info 2021-11-21 17:57:11 +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
1bd45aa7b0
Fix addons directory location
It was mixed with the odoo data dir.
2021-11-20 15:06:34 +01:00
Stéphane Bidoul
27afab461d
Add more tests for db.search 2021-11-20 14:45:42 +01:00
Stéphane Bidoul
1bc0c0cfd4
More flexible configuration 2021-11-19 19:22:28 +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
62c6b4caa2
Type annotations in tests 2021-11-14 10:29:07 +01:00
Stéphane Bidoul
858c58e47d
Some typing 2021-11-13 18:05:55 +01:00
Stéphane Bidoul
7b6ce4f1bd
Preserve odoo-venv for faster startup 2021-11-12 00:21:43 +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
f012651501
Add test for render_kubefiles 2021-11-07 12:02:36 +01:00
Stéphane Bidoul
b56983195d
Improve configurability and detection of supported branches 2021-11-06 11:50:27 +01:00
Stéphane Bidoul
6885ff6b3c
Bootstrap test suite 2021-11-05 20:59:39 +01:00