Skip to content

Commit 3de1a85

Browse files
committed
Build oracle images
Signed-off-by: Paul Chaignon <[email protected]>
1 parent c198139 commit 3de1a85

File tree

2 files changed

+14
-19
lines changed

2 files changed

+14
-19
lines changed

.github/workflows/buildx.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
name: kernel versions
5858
with:
5959
script: |
60-
var all_kernels = ['4.19', '5.4', '5.10', '5.15', '6.1', '6.6', '6.12', 'bpf', 'bpf-net', 'bpf-next', 'rhel8.9', 'rhel8.10' ]
60+
var all_kernels = ['oracle']
6161
var kernels = []
6262
const kernel_label_prefix = 'gha-builds/kernel/'
6363
res = await github.rest.issues.listLabelsOnIssue({
@@ -426,19 +426,6 @@ jobs:
426426
cat /tmp/image-log >> $GITHUB_ENV
427427
echo 'EOF' >> $GITHUB_ENV
428428
429-
- name: comment
430-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
431-
if: ${{ github.event.pull_request.number != '' }}
432-
with:
433-
script: |
434-
const { IMAGE_LOG } = process.env
435-
github.rest.issues.createComment({
436-
issue_number: context.issue.number,
437-
owner: context.repo.owner,
438-
repo: context.repo.repo,
439-
body: `👋\nHere are the kernel versions for the images:\n${IMAGE_LOG}\n`
440-
})
441-
442429
finalize:
443430
needs: [conf, commit-changes, print_image_kernels]
444431
runs-on: ubuntu-latest

_data/kernels.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@
1616
[ "--enable", "CONFIG_FUSE_FS"]
1717
]
1818
},
19+
{
20+
"name": "oracle",
21+
"url": "https://github.com/pchaigno/linux?depth=1#verifier-oracle",
22+
"opts": [
23+
["--disable", "CONFIG_CGROUP_BPF"],
24+
["--disable", "CONFIG_BPF_LSM"],
25+
["--enable", "CONFIG_DEBUG_KERNEL"],
26+
["--enable", "CONFIG_BPF_ORACLE"]
27+
]
28+
},
1929
{
2030
"name": "bpf-net",
2131
"url": "git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git?depth=1#net",
@@ -115,13 +125,11 @@
115125
[ "--disable", "CONFIG_WLAN" ],
116126
[ "--enable", "CONFIG_9P_FS" ],
117127
[ "--enable", "CONFIG_BPF_EVENTS" ],
118-
[ "--enable", "CONFIG_BPF_JIT_DEFAULT_ON" ],
119-
[ "--enable", "CONFIG_BPF_JIT" ],
120-
[ "--enable", "CONFIG_BPF_LSM" ],
128+
[ "--disable", "CONFIG_BPF_JIT_DEFAULT_ON" ],
129+
[ "--disable", "CONFIG_BPF_JIT" ],
121130
[ "--enable", "CONFIG_BPF_STREAM_PARSER" ],
122131
[ "--enable", "CONFIG_BPF_SYSCALL" ],
123132
[ "--enable", "CONFIG_BPF" ],
124-
[ "--enable", "CONFIG_CGROUP_BPF" ],
125133
[ "--enable", "CONFIG_CGROUP_DEVICE" ],
126134
[ "--enable", "CONFIG_CGROUP_PIDS" ],
127135
[ "--enable", "CONFIG_DEBUG_INFO_BTF_MODULES" ],
@@ -135,7 +143,7 @@
135143
[ "--enable", "CONFIG_DYNAMIC_FTRACE_WITH_REGS" ],
136144
[ "--enable", "CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS" ],
137145
[ "--enable", "CONFIG_DYNAMIC_FTRACE_WITH_ARGS" ],
138-
[ "--enable", "CONFIG_HAVE_EBPF_JIT" ],
146+
[ "--disable", "CONFIG_HAVE_EBPF_JIT" ],
139147
[ "--enable", "CONFIG_IPC_NS" ],
140148
[ "--enable", "CONFIG_LOCALVERSION_AUTO" ],
141149
[ "--enable", "CONFIG_LWTUNNEL" ],

0 commit comments

Comments
 (0)