Commit Graph

52 Commits

Author SHA1 Message Date
Tom Alexander
f07c0dc971
Rename pipeline-build to pipeline-build-semver to distinguish it from pipeline-build-hash used in poudboot. 2024-09-29 22:21:37 -04:00
Tom Alexander
fd7b22c5ce
Remove cranelift.
Some checks failed
semver Build semver has succeeded
format Build format has succeeded
clippy Build clippy has failed
rust-test Build rust-test has succeeded
build Build build has succeeded
I should be configuring cranelift globally in my per-machine configs, not spreading my build preferences in the project's Cargo.toml.
2024-09-29 22:17:35 -04:00
Tom Alexander
1c082a5e24
Test: instantiate new clients for every request.
Some checks failed
semver Build semver has succeeded
format Build format has succeeded
build Build build has succeeded
clippy Build clippy has failed
rust-test Build rust-test has succeeded
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)
2024-09-29 21:58:05 -04:00
Tom Alexander
9ed8905a5c
Always return status code ok.
All checks were successful
semver Build semver has succeeded
format Build format has succeeded
clippy Build clippy has succeeded
build Build build has succeeded
rust-test Build rust-test has succeeded
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.
Some checks failed
semver Build semver has succeeded
format Build format has succeeded
rust-test Build rust-test has failed
clippy Build clippy has failed
build Build build has succeeded
2024-09-29 18:24:50 -04:00
Tom Alexander
dd4c20f0a7
Remove log of secret.
All checks were successful
semver Build semver has succeeded
format Build format has succeeded
build Build build has succeeded
clippy Build clippy has succeeded
rust-test Build rust-test has succeeded
2024-09-29 18:14:36 -04:00
Tom Alexander
c04b4e8da5
Fix bug that prevented actions from triggering.
All checks were successful
semver Build semver has succeeded
format Build format has succeeded
build Build build has succeeded
clippy Build clippy has succeeded
rust-test Build rust-test has succeeded
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.
Some checks failed
semver Build semver has succeeded
format Build format has succeeded
clippy Build clippy has failed
build Build build has succeeded
rust-test Build rust-test has succeeded
2024-09-29 16:54:58 -04:00
Tom Alexander
cd56bb2fe1
Fix debug build in docker container by adding cranelift.
All checks were successful
semver Build semver has succeeded
format Build format has succeeded
clippy Build clippy has succeeded
build Build build has succeeded
rust-test Build rust-test has succeeded
2024-09-29 15:31:24 -04:00
Tom Alexander
4bcf8b9ddc
Merge branch 'lint'
Some checks failed
semver Build semver has succeeded
format Build format has succeeded
rust-test Build rust-test has failed
clippy Build clippy has failed
build Build build has succeeded
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.
Some checks failed
format Build format has succeeded
clippy Build clippy has failed
rust-test Build rust-test has failed
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.
Some checks failed
semver Build semver has succeeded
build Build build has succeeded
format Build format has succeeded
rust-test Build rust-test has succeeded
clippy Build clippy has failed
2024-09-29 04:48:25 -04:00
Tom Alexander
a95339539b
Use default namespace kubernetes client.
Some checks failed
semver Build semver has succeeded
format Build format has succeeded
rust-test Build rust-test has succeeded
clippy Build clippy has failed
build Build build has succeeded
2024-09-29 02:44:58 -04:00
Tom Alexander
07797b9906
Move the logic into the server.
Some checks failed
semver Build semver has succeeded
clippy Build clippy has failed
format Build format has succeeded
rust-test Build rust-test has succeeded
build Build build has succeeded
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.
Some checks failed
semver Build semver has succeeded
rust-test Build rust-test has succeeded
format Build format has succeeded
clippy Build clippy has failed
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.
Some checks failed
format Build format has succeeded
clippy Build clippy has failed
rust-test Build rust-test has succeeded
2024-09-28 22:50:35 -04:00
Tom Alexander
470031251c
Remove prettier.
Some checks failed
rust-test Build rust-test has started
format Build format has started
clippy Build clippy has failed
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.
Some checks failed
rust-test Build rust-test has failed
format Build format has failed
clippy Build clippy has failed
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