Repository navigation
Expand file tree
/
Copy pathconfig.yaml
More file actions
116 lines (108 loc) · 3.71 KB
/
Copy pathconfig.yaml
File metadata and controls
116 lines (108 loc) · 3.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
imageNameFormat: "ghcr.io/edera-dev/[image]:[tag]"
# Kernel sources come from Edera's downstream Linux tree. Every branch listed
# below carries the full Edera patch stack as commits, so this repo no longer
# fetches kernel.org tarballs and no longer carries a patch series of its own:
# what the branch says is what gets built. Adding or dropping a patch is a
# commit on edera-dev/linux, not a change here.
source:
repo: https://github.com/edera-dev/linux
# Each branch produces one build per (flavor, architecture). The kernel version
# comes from the branch's Makefile at the resolved commit, so it tracks whatever
# the branch has been rebased onto without anything here needing an edit.
#
# Every build publishes an immutable `<version>-g<short commit>` tag plus moving
# aliases: `<version>`, the `<major>.<minor>` series (release kernels only -- a
# prerelease must not claim the series tag its final release will want), the
# branch name, and anything in `aliases`.
branches:
- name: 6.18-lts
ref: edera/6.18-lts
# The LTS branch is what a consumer that pins nothing should get.
aliases:
- latest
# Disable mainline for now to avoid long kernel build times.
#- name: mainline
# ref: edera/mainline
# Default set of architectures applied to any flavor that does not override it.
architectures:
- x86_64
flavors:
- name: zone
architectures:
- x86_64
- aarch64
- name: zone-kvm
# zone kernel built with kvm and nbd enabled for e2e testing in the protect repo
architectures:
- x86_64
constraints:
lower: '6.1'
- name: zone-tiny
# Experimental minimal microVM kernel: a tinyconfig base + an explicit allowlist
# (configs/x86_64/zone-tiny.config), gated by zone-tiny.{required,forbidden}.conf.
architectures:
- x86_64
constraints:
lower: '6.18'
- name: zone-amdgpu
constraints:
lower: '6.1'
- name: zone-nvidiagpu
# we will generate distinct images for each of these
# local tags. For `zone-nvidiagpu` specifically,
# we will build that distinct image with the nvidia driver
# version defined here.
# Note that the version numbers here can be found on this page:
# https://www.nvidia.com/en-us/drivers/unix/
# Note also that we have scripts to bump these version numbers that
# depend on the below comment anchors being present, for the time being
local_tags:
- 'nvidia-610.57.04' # Nvidia: "Latest New Feature Branch Version"
- 'nvidia-595.45.04' # Nvidia: "Latest Beta Version"
- 'nvidia-595.91.07' # Nvidia: "Latest Production Branch Version"
constraints:
# NVIDIA's open kernel modules trail mainline, so this flavor is pinned to
# the LTS branch -- which is also the only place it has ever actually built.
# Add `mainline` here once the driver series in local_tags compiles against
# whatever edera/mainline is currently rebased onto.
branches:
- 6.18-lts
- name: host
architectures:
- x86_64
- aarch64
# zone-openpax is parked: the openpax series has not been restored on the Edera
# branches yet. Its kconfig fragments are still in configs/, so re-enabling it
# is a matter of uncommenting this entry once the series lands (and constraining
# it to the branches that carry it).
# - name: zone-openpax
images:
- target: kernelsrc
name: kernel-src
publish: false
passBuildArgs: false
- target: buildenv
name: kernel-buildenv
publish: false
passBuildArgs: false
version: local
tags:
- local
- target: kernel
name: "[flavor]-kernel"
format: kernel
- target: sdk
name: "[flavor]-kernel-sdk"
format: kernel.sdk
runners:
# Match order matters: first runner whose constraints match wins.
- name: ubuntu-24.04-arm
arch: aarch64
- name: edera-24
arch: x86_64
flavors:
- host
- zone-amdgpu
- zone-nvidiagpu
- name: edera-24
arch: x86_64