Skip to content

Commit 0f896a3

Browse files
committed
Add more information in README
Also allow triggering manual runs.
1 parent c0a7f0d commit 0f896a3

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/kernels.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
name: Kernels
77

88
on:
9-
push:
9+
workflow_dispatch: # Manual trigger
10+
push: # Automatic trigger
1011
branches: [ "master" ]
1112

1213
concurrency:

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
11
# kernels
22

33
This repository holds both infrastructure and assets for bpftrace's CI kernels.
4+
5+
We use a [dummy release][1] as an object store.
6+
7+
## Adding a new kernel
8+
9+
To add a new kernel, update [KERNELS][0] with the upstream tag of the version
10+
you want. Examples:
11+
12+
* `v6.12`
13+
* `v6.12-rc7`
14+
15+
Once the change is checked in, automation will build and upload any kernels not
16+
already present in the [Assets Release][0] to the assets release.
17+
18+
## Changing already-built kernels
19+
20+
Automation is not yet smart enough to rebuild and reupload existing assets
21+
affected by a config or infra change. If you want to change an already-uploaded
22+
kernel, delete the impacted kernel from the release assets and trigger a new
23+
run.
24+
25+
You can trigger a new run by going to [the workflow page][2] and following
26+
[these docs][3] to trigger a manual run.
27+
28+
[0]: ./KERNELS
29+
[1]: https://github.com/bpftrace/kernels/releases/tag/assets
30+
[2]: https://github.com/bpftrace/kernels/actions/workflows/kernels.yml
31+
[3]: https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow

0 commit comments

Comments
 (0)