Stéphane Bidoul
bddc6bf88e
Add setting to disable posting of commit statuses
...
Useful for testing.
2021-11-28 13:21:06 +01:00
Stéphane Bidoul
0a67e157e0
Fix comment
2021-11-27 13:51:05 +01:00
Stéphane Bidoul
6df8041b35
Add test for oldest_started
2021-11-27 13:51:05 +01:00
Stéphane Bidoul
b3a5f36e02
Merge pull request #27 from sbidoul/gurneyalex-fix_10
...
Fix issue 10
2021-11-26 18:18:10 +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
3ee55d8737
Tweak comments
2021-11-26 18:15:59 +01:00
Stéphane Bidoul
71469d2a3c
Merge pull request #24 from gurneyalex/main
...
[IMP] speed up start of container
2021-11-26 15:56:29 +01:00
Alexandre Fayolle
597f6b0eb8
[FIX] debian package dependencies not available
...
the Debian package dependencies where only installed during the
initialization phase, not the deployement -> install them
at that point.
closes : #23
2021-11-26 15:36:45 +01:00
Alexandre Fayolle
b592ecb327
[IMP] speed up start of container
...
we rsync the virtual env of odoo to a volume at the end of the init
phase. Rather than rsync'ing back, mount the volume on top of the
odoo venv from the base docker image.
2021-11-26 15:28:32 +01:00
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