-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kresify the project. Signed-off-by: Noel Georgi <[email protected]>
- Loading branch information
Showing
12 changed files
with
417 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. | ||
# | ||
# Generated on 2023-11-02T09:50:52Z by kres 3a2980e-dirty. | ||
|
||
* | ||
!README.md | ||
!pkg.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. | ||
# | ||
# Generated on 2023-11-02T09:53:23Z by kres 3a2980e-dirty. | ||
|
||
name: weekly | ||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
"on": | ||
schedule: | ||
- cron: 30 1 * * 1 | ||
jobs: | ||
reproducibility: | ||
runs-on: | ||
- self-hosted | ||
- pkgs | ||
services: | ||
buildkitd: | ||
image: moby/buildkit:v0.12.2 | ||
options: --privileged | ||
ports: | ||
- 1234:1234 | ||
volumes: | ||
- /var/lib/buildkit/${{ github.repository }}:/var/lib/buildkit | ||
- /usr/etc/buildkit/buildkitd.toml:/etc/buildkit/buildkitd.toml | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: Unshallow | ||
run: | | ||
git fetch --prune --unshallow | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
with: | ||
append: | | ||
- endpoint: tcp://buildkit-arm64.ci.svc.cluster.local:1234 | ||
platforms: linux/arm64 | ||
driver: remote | ||
endpoint: tcp://localhost:1234 | ||
- name: reproducibility-test | ||
run: | | ||
make reproducibility-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
_out* | ||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. | ||
# | ||
# Generated on 2023-11-02T09:50:52Z by kres 3a2980e-dirty. | ||
|
||
_out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
kind: pkgfile.Build | ||
spec: | ||
targets: | ||
# - non-related to the kernel, in alphabetical order | ||
- base | ||
- ca-certificates | ||
- cni | ||
- containerd | ||
- cryptsetup | ||
- dosfstools | ||
- eudev | ||
- fhs | ||
- flannel-cni | ||
- grub | ||
- ipmitool | ||
- iptables | ||
- ipxe | ||
- kmod | ||
- libaio | ||
- libinih | ||
- libjson-c | ||
- liblzma | ||
- libpopt | ||
- libseccomp | ||
- liburcu | ||
- linux-firmware | ||
- lvm2 | ||
- musl | ||
- openssl | ||
- raspberrypi-firmware | ||
- runc | ||
- sd-boot | ||
- socat | ||
- syslinux | ||
- u-boot | ||
- util-linux | ||
- xfsprogs | ||
# - kernel & dependent packages (out of tree kernel modules) | ||
# kernel first, then packages in alphabetical order | ||
- kernel | ||
- drbd-pkg | ||
- gasket-driver-pkg | ||
- nvidia-open-gpu-kernel-modules-pkg | ||
- zfs-pkg | ||
additionalTargets: | ||
nonfree: | ||
- nonfree-kmod-nvidia-pkg | ||
reproducibleTargetName: reproducibility | ||
--- | ||
kind: auto.CustomSteps | ||
spec: | ||
steps: | ||
- name: kernel-olddefconfig | ||
toplevel: true | ||
- name: kernel-% | ||
toplevel: true | ||
--- | ||
kind: custom.Step | ||
name: kernel-olddefconfig | ||
spec: | ||
makefile: | ||
enabled: true | ||
script: | ||
- | | ||
@$(MAKE) local-kernel-build TARGET_ARGS="--build-arg=KERNEL_TARGET=olddefconfig" PLATFORM=linux/amd64 DEST="kernel/build" | ||
@$(MAKE) local-kernel-build TARGET_ARGS="--build-arg=KERNEL_TARGET=olddefconfig" PLATFORM=linux/arm64 DEST="kernel/build" | ||
--- | ||
kind: custom.Step | ||
name: kernel-% | ||
spec: | ||
makefile: | ||
enabled: true | ||
script: | ||
- | | ||
for platform in linux/amd64 linux/arm64; do \ | ||
arch=`basename $$platform` ; \ | ||
$(MAKE) docker-kernel-prepare PLATFORM=$$platform TARGET_ARGS="--tag=$(REGISTRY)/$(USERNAME)/kernel:$(TAG)-$$arch --load"; \ | ||
docker run --rm -it --entrypoint=/toolchain/bin/bash -e PATH=/toolchain/bin:/bin -w /src -v $$PWD/kernel/build/config-$$arch:/host/.hostconfig $(REGISTRY)/$(USERNAME)/kernel:$(TAG)-$$arch -c 'cp /host/.hostconfig .config && make $* && cp .config /host/.hostconfig'; \ | ||
done |
Oops, something went wrong.