Commit graph

40 commits

Author SHA1 Message Date
7d61782a2c feat: add configurable forge base URLs for Forgejo/Gitea support
Add RUNBOAT_FORGE_API_BASE_URL and RUNBOAT_FORGE_WEB_BASE_URL settings so
runboat can be used with Forgejo, Gitea, or any GitHub-compatible forge,
not just github.com. GitHub remains the default for full backwards
compatibility.

- RUNBOAT_FORGE_API_BASE_URL: API base URL (default: https://api.github.com)
- RUNBOAT_FORGE_WEB_BASE_URL: web UI base URL (default: https://github.com)

The webhook signature verification (X-Hub-Signature-256) and payload
structure are already compatible with Forgejo/Gitea.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 18:49:13 -04:00
Stéphane Bidoul
4412618307 Add start and stop deployment modes
Apply patches before start and after stop. This is useful to bring up / tear down
additional resources.
2025-11-29 19:35:09 +01:00
Stéphane Bidoul
3a05212422 Upgrade dependencies, use python 3.13 2025-03-01 14:03:24 +01:00
Stéphane Bidoul
cf888bdc2c Tweak README 2024-06-30 10:37:16 +02:00
Nils Hamerlinck
57f9c85544 Add configurable kubefiles path 2022-10-17 19:05:49 +07:00
Stéphane Bidoul
1f258f2657
Tweak README (credits and license) 2022-09-18 14:09:44 +02:00
Stéphane Bidoul
3a57e73855
Tweak README 2022-02-10 16:38:14 +01:00
Stéphane Bidoul
74dcd2de28
Add a deployment quickstart and diagrams 2022-02-06 18:38:40 +01:00
Stéphane Bidoul
dc3fb453dd
Tweak README 2021-12-20 23:01:44 +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
6e9eea8c39
Tweal readme 2021-11-20 17:29:55 +01:00
Stéphane Bidoul
c69d300507
Tweak README 2021-11-13 13:52:35 +01:00
Stéphane Bidoul
afe415b9e1
Remove TODO from readme
See GitHub issues.
2021-11-13 13:33:47 +01:00
Stéphane Bidoul
8a4797bf02
Build log endpoints 2021-11-11 19:30:39 +01:00
Stéphane Bidoul
92c1d7da96
Load in-cluster config is KUBECONFIG is not set 2021-11-07 12:47:05 +01:00
Stéphane Bidoul
bc2740029d
GitHub status now point back to a dedicagted page
It automatically redirects with the build homepage,
or show a page with button to start/stop the build.
2021-11-06 20:11:30 +01:00
Stéphane Bidoul
24d9be3b0c
Runboat does not need to know about postgres at all 2021-11-06 15:37:36 +01:00
Stéphane Bidoul
61ec2f06a0
Better docs leads to better code 2021-11-06 12:17:42 +01:00
Stéphane Bidoul
cb7dfb4642
Tweak comments and todos 2021-11-06 12:08:35 +01:00
Stéphane Bidoul
bb9b372933
Ignore unsupported and non-main branches in github webhook 2021-11-06 11:54:46 +01:00
Stéphane Bidoul
b56983195d
Improve configurability and detection of supported branches 2021-11-06 11:50:27 +01:00
Stéphane Bidoul
a0052c878b
Tweak routes 2021-11-06 11:02:12 +01:00
Stéphane Bidoul
24f97db3b3
Remove pre-commit job
We use pre-commit.ci instead
2021-11-06 00:03:37 +01:00
Stéphane Bidoul
3339259346
Setup env vars for tests 2021-11-05 21:26:55 +01:00
Stéphane Bidoul
6885ff6b3c
Bootstrap test suite 2021-11-05 20:59:39 +01:00
Stéphane Bidoul
903a05fc0e
Report build statuses to GitHub 2021-11-05 18:28:52 +01:00
Stéphane Bidoul
968f94c1e7
Allow customizing build environment variables 2021-11-05 18:23:02 +01:00
Stéphane Bidoul
e1a2a4d5c4
Improve readme 2021-11-05 18:22:15 +01:00
Stéphane Bidoul
56a57de966
Add timeout on initialization job 2021-11-05 10:21:38 +01:00
Stéphane Bidoul
de2a95dc7d
Add Dockerfile 2021-11-05 09:44:34 +01:00
Stéphane Bidoul
dd81c4d784
Update README 2021-11-05 09:40:56 +01:00
Stéphane Bidoul
d79cb6223e
Use official kubernetes client
Because kubernetes_asyncio watcher have correctness issues,
as they seem to re-emit events that pre-date the initial load.

Although I ended up having to implement an infinite watcher,
to handle socket timeout errors...
2021-11-04 09:36:01 +01:00
Stéphane Bidoul
f5d232c3af
More precise change detection
Fix: we read spec.replicas instead of status.replicas.
Do not wakeup needlessly when irrelevant changes
happen in deployments.
Better logging.
2021-10-31 16:21:36 +01:00
Stéphane Bidoul
9627729ba2
Support GitHub token 2021-10-31 11:05:38 +01:00
Stéphane Bidoul
d6d9ac8a7f
Use jobs for db initialization an cleanup
It turns out that init containers do not work, as we
can't easily detect failures and access init log as they
restart constantly. So we use initialization jobs.
We take the opportunity to use cleanup jobs too, so
all knowledge of runtime content is in the kubefiles.
2021-10-31 11:04:51 +01:00
Stéphane Bidoul
d2e23443e1
Tweak README 2021-10-28 18:23:30 +02:00
Stéphane Bidoul
d90ffad1aa
Update README 2021-10-28 18:20:21 +02:00
Stéphane Bidoul
e33ad90745
It's taking shape 2021-10-28 12:52:23 +02:00
Stéphane Bidoul
6bd0c8e7cd
Look ma, no database 2021-10-25 19:08:18 +02:00
Stéphane Bidoul
ac0bd848d4
Initial commit 2021-10-17 15:19:34 +02:00