Commit graph

242 commits

Author SHA1 Message Date
Stéphane Bidoul
b2be00d5d0
chore: update pinned dependencies 2022-04-18 11:25:58 +02:00
Stéphane Bidoul
a6a1af0f2d
chore(typing): upgrade mypy 2022-04-18 11:20:50 +02:00
Stéphane Bidoul
1f68e26664
Merge pull request #55 from sbidoul/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-04-11 21:29:56 +02:00
pre-commit-ci[bot]
900b166f14
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.2.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0)
- [github.com/asottile/pyupgrade: v2.31.1 → v2.32.0](https://github.com/asottile/pyupgrade/compare/v2.31.1...v2.32.0)
2022-04-11 18:43:11 +00:00
Stéphane Bidoul
b538887e1a
Merge pull request #53 from sbidoul/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-04-04 20:20:28 +02:00
pre-commit-ci[bot]
0ce98b3f21
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.1.0 → 22.3.0](https://github.com/psf/black/compare/22.1.0...22.3.0)
2022-04-04 18:16:04 +00:00
Stéphane Bidoul
2a8450b462
Merge pull request #52 from sbidoul/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-03-14 21:05:55 +01:00
pre-commit-ci[bot]
5f9b9832f5
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1)
2022-03-14 19:59:52 +00:00
Stéphane Bidoul
dc280d64bc
Merge pull request #50 from sbidoul/use-cp
Use cp instead of rsync
2022-03-13 11:43:18 +01:00
Stéphane Bidoul
26a7d59681
Add comment 2022-03-13 11:41:24 +01:00
Stéphane Bidoul
bc06e08b5f
use cp instead of rsync to preserve odoo-venv
Rsync is not present in the oca/oca-ci image and installing
it sometimes failed due to outdated deb package information.
2022-03-13 11:40:18 +01:00
Stéphane Bidoul
c5b2d215d7
Merge pull request #46 from sbidoul/support-latest-oca-ci
Add ADDONS_DIR to ADDONS_PATH
2022-02-26 16:34:57 +01:00
Stéphane Bidoul
2eaf4bde66
Add ADDONS_DIR to ADDONS_PATH 2022-02-26 16:32:17 +01:00
Stéphane Bidoul
7cb0b3fce1
Merge pull request #45 from sbidoul/download-instead-of-clone
Download github commit instead of cloning
2022-02-18 18:54:20 +01:00
Stéphane Bidoul
76cc48fbf6
Revert memory limit increase
We don't need it since we improved the git dowload.
2022-02-18 18:54:05 +01: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
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