Stéphane Bidoul
abc361720d
Fix previous commit
2022-02-18 17:50:07 +01:00
Stéphane Bidoul
70f7c57a09
Increase memory limit of the initialization jobs.
...
This is necessary because the git fetch command of large repos such
as oca/ocb seem to consume a lot of memory.
2022-02-18 17:42:11 +01:00
Stéphane Bidoul
56dbe933f7
Update dependencies
2022-02-18 12:41:46 +01:00
Stéphane Bidoul
3a57e73855
Tweak README
2022-02-10 16:38:14 +01:00
Stéphane Bidoul
39ea1c9b1a
webui: add DOCKTYPE
...
So as to declare html5 compliance.
2022-02-10 16:37:56 +01:00
Stéphane Bidoul
1b4f847c82
docs: clarify arrows
2022-02-06 19:16:33 +01:00
Stéphane Bidoul
1880106a64
docs: add rendering of deployment diagram
2022-02-06 19:12:43 +01:00
Stéphane Bidoul
447cfcdb59
docs: add git clone to deployment diagram
2022-02-06 19:12:16 +01:00
Stéphane Bidoul
c2180f66a5
docs: add status update to deployment diagram
2022-02-06 18:48:09 +01:00
Stéphane Bidoul
74dcd2de28
Add a deployment quickstart and diagrams
2022-02-06 18:38:40 +01:00
Stéphane Bidoul
39b19dbfcc
Bump black version
2022-01-30 14:10:03 +01:00
Stéphane Bidoul
a42dea1054
Adding missing env var in Dockerfile
2022-01-30 14:09:19 +01:00
Stéphane Bidoul
b7906786bb
Add clicked status (hourglass)
...
To give visual feedback of the action, until
the new status comes back via the event stream.
2022-01-30 14:09:09 +01:00
Stéphane Bidoul
4a249ed9ca
Upgrade LitElement to 2.1
2022-01-30 14:08:12 +01:00
Stéphane Bidoul
7c80d7f074
Merge pull request #43 from sbidoul/verify-github-webbhook-sig
...
Verify GitHub webhook signature
2022-01-29 17:28:14 +01:00
Stéphane Bidoul
dff8bbed02
Verify GitHub webhook signature
2022-01-29 17:21:57 +01:00
Stéphane Bidoul
b89a4a0fe8
Merge pull request #42 from sbidoul/undeploy-closed-pr
...
Undeploy builds on PR close
2022-01-29 15:54:26 +01:00
Stéphane Bidoul
e5392bb33f
Undeploy builds on PR close
2022-01-29 15:51:57 +01:00
Stéphane Bidoul
37dae56d35
Merge pull request #41 from sbidoul/alt-install-method
...
Alt install method
2022-01-29 12:01:22 +01:00
Stéphane Bidoul
c3e84d1256
Add env vars in build settings + alt install method
2022-01-29 11:59:47 +01:00
Stéphane Bidoul
b0ee0172be
Improve dockerfile
...
This way the layer cache will work, while properly
detecting new kubectl releases
2022-01-26 18:00:33 +01:00
Stéphane Bidoul
5955def4b8
Accept branch parameter in webui
2022-01-26 17:40:41 +01:00
Stéphane Bidoul
65b0ebeeb4
Remove Optional in favor of "| None" notation
...
Taking advange of latest pydantic features
2022-01-26 17:39:56 +01:00
Stéphane Bidoul
bdcfa8872f
Update dependencies
2022-01-26 17:39:01 +01:00
Stéphane Bidoul
115d292c9f
Don't redirect /longpolling to 8072
...
We deploy in multi-threaded mode, so there
is nothing on port 8072.
2022-01-26 17:36:24 +01:00
Stéphane Bidoul
226cca7164
Upgrade dependencies
2022-01-07 19:28:31 +01:00
Stéphane Bidoul
3424f418b0
Reapply fix about using template1 database
...
It got lost, somehow...
2022-01-04 16:44:47 +01:00
Stéphane Bidoul
9935b56a26
Merge pull request #39 from sbidoul/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-01-03 20:54:56 +01:00
pre-commit-ci[bot]
eb77c52b15
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.29.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.29.1...v2.31.0 )
2022-01-03 18:04:57 +00:00
Stéphane Bidoul
d225565444
Add API and button to reset a build
...
The, roughly, redeploys the kubernetes resources in initial
state (i.e. 0 replicas and init-status=todo) so the controller
starts a new initialization job.
2021-12-29 16:10:10 +01:00
Stéphane Bidoul
8ac3486d51
Do not set service link env variables
...
Kubernetes set environment variables in pods to help with service
discovery. This is a problem when we have thousands of builds.
And we don't need them (since there is no service communication,
and we have DNS in the cluster anyway).
2021-12-29 14:47:23 +01:00
Stéphane Bidoul
c8fc6dbcbd
Merge pull request #38 from sbidoul/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-12-28 10:33:28 +01:00
pre-commit-ci[bot]
8ea4062412
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0 )
2021-12-27 18:06:17 +00:00
Stéphane Bidoul
4dba094949
Merge pull request #37 from sbidoul/mypy-0930-sbi
...
Benefit from mypy 0.930
2021-12-22 19:55:41 +01:00
Stéphane Bidoul
3ea9e434ad
Benefit from mypy 0.930
2021-12-22 19:52:25 +01:00
Stéphane Bidoul
6ec85dc5ea
Update dependencies
2021-12-20 23:03:04 +01:00
Stéphane Bidoul
5e3bb50151
Tweak API dto's
2021-12-20 23:03:03 +01:00
Stéphane Bidoul
c383c3c31d
Improve readability of initialize and start scripts
2021-12-20 23:03:03 +01:00
Stéphane Bidoul
3b3a6f4ea9
Use template1 db
...
Odoo uses template0 by default but the postgres
docs says it must not be modified.
2021-12-20 23:01:45 +01:00
Stéphane Bidoul
dc3fb453dd
Tweak README
2021-12-20 23:01:44 +01:00
Stéphane Bidoul
62604243c9
Merge pull request #33 from sbidoul/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-12-07 07:51:05 +01:00
pre-commit-ci[bot]
e132e2afcd
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0 )
2021-12-06 18:05:58 +00:00
Stéphane Bidoul
5b0159b431
Use GitHub time-ago element
2021-12-01 15:43:04 +01:00
Stéphane Bidoul
abdbbb3cbe
Add age on build cards
2021-12-01 12:01:57 +01:00
Stéphane Bidoul
b21a7c92f8
Ignore undeploying builds when counting deployed
...
Otherwise the undeployer evicts too many builds
as it loops until the first builds are actually deleted.
2021-11-30 21:46:25 +01:00
Stéphane Bidoul
b873d09d22
Simplify builds.html parameter handling
2021-11-30 18:55:26 +01:00
Stéphane Bidoul
534e343c73
Add a README about webui templates
2021-11-30 18:55:26 +01:00
Stéphane Bidoul
bd3f317635
Better error handling in k8s watches
...
An automatic retry in the watch itself could lead to
missed events,
leading to removed builds remaining in the database.
So we raise the error so the controller
can reset the database and do a full refresh.
2021-11-30 18:55:26 +01:00
Stéphane Bidoul
825d8d2e4a
Buffer events to avoid flooding
2021-11-30 18:54:30 +01:00
Stéphane Bidoul
2b27de3256
Fix typo in previous commit
2021-11-28 16:46:51 +01:00