50 Commits

Author SHA1 Message Date
Tom Alexander
1c082a5e24
Test: instantiate new clients for every request.
Trying to figure out why I am getting the below error occasionally in gitea:

Delivery: Post "https://webhookbridge.fizz.buzz/hook": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
v0.0.11
2024-09-29 21:58:05 -04:00
Tom Alexander
9ed8905a5c
Always return status code ok. v0.0.8 2024-09-29 18:37:23 -04:00
Tom Alexander
8cb28459a0
Fix clippy lint. 2024-09-29 18:31:47 -04:00
Tom Alexander
753ad6dd05
Handle errors in push events. v0.0.7 2024-09-29 18:24:50 -04:00
Tom Alexander
dd4c20f0a7
Remove log of secret. v0.0.6 2024-09-29 18:14:36 -04:00
Tom Alexander
c04b4e8da5
Fix bug that prevented actions from triggering. v0.0.5 2024-09-29 18:09:07 -04:00
Tom Alexander
69dd1ba156
Remove support for http2.
Nginx does not support http2 for upstream proxies because there is not much point for low-latency connections.
2024-09-29 18:00:34 -04:00
Tom Alexander
65c964b329
Fix clippy lint. 2024-09-29 17:42:08 -04:00
Tom Alexander
613026b326
Adding repo whitelist. v0.0.4 2024-09-29 16:54:58 -04:00
Tom Alexander
cd56bb2fe1
Fix debug build in docker container by adding cranelift. v0.0.3 2024-09-29 15:31:24 -04:00
Tom Alexander
4bcf8b9ddc
Merge branch 'lint' v0.0.2 2024-09-29 15:03:19 -04:00
Tom Alexander
14b38b7fcd
Add rustfmt config. 2024-09-29 15:03:07 -04:00
Tom Alexander
0602f8472b
Separate out to two binaries. 2024-09-29 14:59:39 -04:00
Tom Alexander
cdac8224c6
Fix clippy lints. 2024-09-29 14:08:05 -04:00
Tom Alexander
ef195cd4df
Update to alpine 3.20. v0.0.1 2024-09-29 04:48:25 -04:00
Tom Alexander
a95339539b
Use default namespace kubernetes client. 2024-09-29 02:44:58 -04:00
Tom Alexander
07797b9906
Move the logic into the server. 2024-09-29 01:27:00 -04:00
Tom Alexander
0548571b6b
Add a pipeline to build the server image. 2024-09-29 00:36:51 -04:00
Tom Alexander
a2aca6d2f1
Add support for tags. 2024-09-29 00:13:56 -04:00
Tom Alexander
1efd7b1d73
Add a semver job to assign an automatically-incrementing version tag to commits to main.
This automatically increments the patch (3rd) digit, so to update the major or minor version, manually push a tag.
2024-09-28 23:59:32 -04:00
Tom Alexander
b122e6ee99
Create a docker image for running the server. 2024-09-28 23:50:03 -04:00
Tom Alexander
c20927b726
Add Makefile for running CI jobs locally. 2024-09-28 23:20:35 -04:00
Tom Alexander
efe37f020a
Generate names for pipeline runs. 2024-09-28 22:50:35 -04:00
Tom Alexander
470031251c
Remove prettier. 2024-09-28 21:46:25 -04:00
Tom Alexander
ed1e1c08d0
Create PipelineRun in response to webhook triggers. 2024-09-28 21:40:00 -04:00
Tom Alexander
b8444344c4
Update PipelineRun to tekton v1 from v1beta. 2024-09-28 20:33:47 -04:00
Tom Alexander
d5902e3e7f
Parse the pipeline templates. 2024-09-28 19:34:57 -04:00
Tom Alexander
6d3b9e9db8
Add pipelines and dockerfile. 2024-09-28 19:17:54 -04:00
Tom Alexander
5bd4862973
Find the workflow files. 2024-09-28 19:09:54 -04:00
Tom Alexander
66228f83f2
Fetch the in-repo config file from the remote repo. 2024-09-28 17:36:53 -04:00
Tom Alexander
c32a8650f5
Add parsing of the in-repo config file format. 2024-09-28 14:43:20 -04:00
Tom Alexander
201709c360
Construct the response to listing the tree in gitea. 2024-09-28 14:00:00 -04:00
Tom Alexander
71f9e10600
Add pagination. 2024-07-25 21:37:14 -04:00
Tom Alexander
15e1f4dbce
Basic gitea client.
So far it only supports listing the contents of a repo.
2024-07-25 21:17:49 -04:00
Tom Alexander
3e3acbab7d
Pass the kubernetes client as state. 2024-07-25 20:04:30 -04:00
Tom Alexander
6c15fc00b4
Upgrade to PipelineRun v1. 2024-07-21 16:19:40 -04:00
Tom Alexander
1406a21785
Creating an example PipelineRun. 2024-07-21 15:54:12 -04:00
Tom Alexander
1612278bed
Add signature verification middleware. 2024-07-20 12:53:20 -04:00
Tom Alexander
2a54401717
Add a kubernetes client. 2024-07-14 23:11:07 -04:00
Tom Alexander
41cc65e7d3
Add graceful shutdown. 2024-07-14 19:01:10 -04:00
Tom Alexander
2c0a7958a7
Support multiple types of requests. 2024-07-14 18:45:20 -04:00
Tom Alexander
eb0c993e03
Full request schema. 2024-07-14 17:04:08 -04:00
Tom Alexander
14373c21dd
Initial schema for webhook. 2024-07-14 16:38:07 -04:00
Tom Alexander
ab5db8aded
Add a webhook endpoint. 2024-07-14 16:13:06 -04:00
Tom Alexander
8fb5a83e86
Access log. 2024-07-14 15:50:13 -04:00
Tom Alexander
25c06cbffd
Add tracing. 2024-07-14 15:34:14 -04:00
Tom Alexander
82a5f145e1
json health. 2024-07-14 15:19:41 -04:00
Tom Alexander
02e288ef31
Basic health endpoint. 2024-07-14 15:14:52 -04:00
Tom Alexander
ecce4f04c9
Cargo init. 2024-07-14 14:52:45 -04:00
Tom Alexander
4f1ea471a3
Initial commit. 2024-07-14 14:49:15 -04:00