Commit graph

155 commits

Author SHA1 Message Date
Stéphane Bidoul
b8a9fadb26
Minor typing simplification 2021-11-24 23:34:03 +01:00
Stéphane Bidoul
5e7919eaf4
Validate build settings at startup time 2021-11-24 23:32:25 +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
73866fe377
Missing backslash 2021-11-24 19:33:44 +01:00
Stéphane Bidoul
8b31beed55
--db-filter is necessary for Odoo 10 too, it seems 2021-11-24 19:32:35 +01:00
Stéphane Bidoul
9e1a21f409
Fix startup script for Odoo<=10 2021-11-24 19:05:01 +01:00
Stéphane Bidoul
b3e042e2fc
Tweak footer 2021-11-24 18:28:48 +01:00
Stéphane Bidoul
bc3b92c524
Tweak builds page 2021-11-22 21:35:44 +01:00
Stéphane Bidoul
43f2b4082e
webui directory must be present 2021-11-22 20:59:02 +01:00
Stéphane Bidoul
a34a95dd32
Reconnect in case of event source errors in build pages
Also improve build element in presence of
unset and undeployed builds.
2021-11-22 20:57:19 +01:00
Stéphane Bidoul
1b4333b102
Merge pull request #22 from sbidoul/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-11-22 20:41:13 +01:00
pre-commit-ci[bot]
2b68d752e1
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 21.10b0 → 21.11b1](https://github.com/psf/black/compare/21.10b0...21.11b1)
- [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1)
2021-11-22 17:57:24 +00: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
c1fe8ca16a
Tweak build card 2021-11-21 18:42:01 +01:00
Stéphane Bidoul
89d9823992
Lowercase repo name 2021-11-21 18:38:50 +01:00
Stéphane Bidoul
83fb48d982
Fix webhook after refactoring 2021-11-21 18:09:40 +01:00
Stéphane Bidoul
b7c68285f0
Tweak footer 2021-11-21 18:05:48 +01:00
Stéphane Bidoul
77bb5b3121
Tweak footer 2021-11-21 17:59:07 +01:00
Stéphane Bidoul
180ecc6f8d
Refactor passing around git commit info 2021-11-21 17:57:11 +01:00
Stéphane Bidoul
386ccf63b3
Add missing type annotation 2021-11-21 12:39:37 +01:00
Stéphane Bidoul
da4a545a00
Add repo link to single build page 2021-11-21 12:38:16 +01:00
Stéphane Bidoul
301fec8860
Reduce termination grace period 2021-11-21 12:30:26 +01:00
Stéphane Bidoul
361411b03f
Add footer 2021-11-21 12:29:36 +01:00
Stéphane Bidoul
8906a8908f
Add static footer 2021-11-21 11:53:26 +01:00
Stéphane Bidoul
9da7e23f4a
Tweak links on build card 2021-11-21 01:13:29 +01:00
Stéphane Bidoul
2052be3b01
Add row borders to builds page 2021-11-21 00:46:38 +01:00
Stéphane Bidoul
d7ed2c0228
Emojis 2021-11-20 20:22:30 +01:00
Stéphane Bidoul
7338921121
Tweak card 2021-11-20 20:03:38 +01:00
Stéphane Bidoul
0b58ac5184
Round corners 2021-11-20 19:54:26 +01:00
Stéphane Bidoul
3b4160c8e5
Tweak failed build color 2021-11-20 19:46:21 +01:00
Stéphane Bidoul
4ee2f29dc7
Some UI style 2021-11-20 19:39:07 +01:00
Stéphane Bidoul
ce4ecc1a62
Tweak card 2021-11-20 17:41:08 +01:00
Stéphane Bidoul
6e9eea8c39
Tweal readme 2021-11-20 17:29:55 +01:00
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