Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: produce nightly versions of all stable kernels #437

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
name: update bpf-next
name: nightly update
on:
# Allow manual triggers.
workflow_dispatch: {}
# Run once a day.
schedule:
- cron: "0 1 * * *"

jobs:
create-pr:
strategy:
matrix:
kernel:
- '4.19'
- '5.4'
- '5.10'
- '5.15'
- '6.1'
- '6.6'
- 'bpf-next'
- 'rhel8'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -15,21 +27,21 @@ jobs:
id: commit
run: |
id=$(date +%Y%m%d.%H%M%S)
git switch -c pr/bpf-next-${id}
git switch -c pr/${{ matrix.kernel }}-${id}
git config user.name "GH action"
git config user.email "ghabot@does.not.exist.cilium.org"
echo "bpf-next $id" > misc/dummy
echo "${{ matrix.kernel }} $id" > misc/dummy
git add misc/dummy
git commit -a -m "bpf-next: $id"
git commit -a -m "${{ matrix.kernel }}: $id"
git show HEAD
git push --set-upstream origin pr/bpf-next-${id}
git push --set-upstream origin pr/${{ matrix.kernel }}-${id}
echo "id=$id" | tee -a $GITHUB_OUTPUT
- name: push PR
env:
GH_TOKEN: ${{ secrets.LVH_GITHUB_TOKEN }}
run: |
id=${{ steps.commit.outputs.id }}
gh pr create \
-l "gha-builds/kernel/bpf-next" \
--title "bpf-next update: $id" \
--body "PR to update bpf-next" \
-l "gha-builds/kernel/${{ matrix.kernel }}" \
--title "${{ matrix.kernel }} update: $id" \
--body "PR to update ${{ matrix.kernel }}" \
2 changes: 1 addition & 1 deletion versions/complexity-test/4.19
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/complexity-test/5.10
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/complexity-test/5.15
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/complexity-test/5.4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/complexity-test/6.1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/complexity-test/6.6
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/complexity-test/bpf-next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240403.012556
20240403.155355
2 changes: 1 addition & 1 deletion versions/complexity-test/rhel8
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kernel-images/4.19
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kernel-images/5.10
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kernel-images/5.15
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kernel-images/5.4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kernel-images/6.1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kernel-images/6.6
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kernel-images/bpf-next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240403.012556
20240403.155355
2 changes: 1 addition & 1 deletion versions/kernel-images/rhel8
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kind/4.19
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kind/5.10
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kind/5.15
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kind/5.4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kind/6.1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kind/6.6
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355
2 changes: 1 addition & 1 deletion versions/kind/bpf-next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240403.012556
20240403.155355
2 changes: 1 addition & 1 deletion versions/kind/rhel8
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240327.122820
20240403.155355