-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to using kres to manage project. Signed-off-by: Noel Georgi <[email protected]>
- Loading branch information
Showing
14 changed files
with
480 additions
and
132 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. | ||
# | ||
# Generated on 2023-11-02T15:47:10Z by kres 32170a7-dirty. | ||
|
||
* | ||
!CHANGELOG.md | ||
!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-03T11:00:40Z by kres latest. | ||
|
||
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,2 +1,6 @@ | ||
_out/ | ||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. | ||
# | ||
# Generated on 2023-11-02T15:50:53Z by kres latest. | ||
|
||
_out | ||
internal/extensions/image-digests |
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,114 @@ | ||
--- | ||
kind: pkgfile.Build | ||
spec: | ||
targets: | ||
- amdgpu-firmware | ||
- amd-ucode | ||
- binfmt-misc | ||
- bnx2-bnx2x | ||
- btrfs | ||
- chelsio-drivers | ||
- chelsio-firmware | ||
- drbd | ||
- fuse3 | ||
- gasket-driver | ||
- gvisor | ||
- hello-world-service | ||
- i915-ucode | ||
- intel-ice-firmware | ||
- intel-ucode | ||
- iscsi-tools | ||
- nut-client | ||
- nvidia-container-toolkit | ||
- nvidia-fabricmanager | ||
- nvidia-open-gpu-kernel-modules | ||
- qemu-guest-agent | ||
- stargz-snapshotter | ||
- tailscale | ||
- thunderbolt | ||
- usb-modem-drivers | ||
- util-linux-tools | ||
- xe-guest-utilities | ||
- zfs | ||
additionalTargets: | ||
nonfree: | ||
- nonfree-kmod-nvidia | ||
reproducibleTargetName: reproducibility | ||
extraBuildArgs: | ||
- TAG | ||
- PKGS | ||
useBldrPkgTagResolver: true | ||
--- | ||
kind: common.Build | ||
spec: | ||
ignoredPaths: | ||
- "internal/extensions/image-digests" | ||
--- | ||
kind: auto.CustomSteps | ||
spec: | ||
steps: | ||
- name: extensions | ||
toplevel: true | ||
- name: extensions-metadata | ||
toplevel: true | ||
- name: internal/extensions/image-digests | ||
toplevel: true | ||
- name: sign-images | ||
toplevel: true | ||
--- | ||
kind: custom.Step | ||
name: extensions | ||
spec: | ||
makefile: | ||
enabled: true | ||
phony: true | ||
variables: | ||
- name: EXTENSIONS_IMAGE_REF | ||
defaultValue: $(REGISTRY_AND_USERNAME)/extensions:$(TAG) | ||
- name: PKGS | ||
defaultValue: v1.6.0-alpha.0-26-g5f84302 | ||
depends: | ||
- internal/extensions/image-digests | ||
script: | ||
- | | ||
@$(MAKE) docker-$@ TARGET_ARGS="--tag=$(EXTENSIONS_IMAGE_REF) --push=$(PUSH)" | ||
--- | ||
kind: custom.Step | ||
name: extensions-metadata | ||
spec: | ||
makefile: | ||
enabled: true | ||
phony: true | ||
depends: | ||
- $(ARTIFACTS)/bldr | ||
script: | ||
- | | ||
@rm -f _out/extensions-metadata | ||
@$(foreach target,$(TARGETS),echo $(REGISTRY)/$(USERNAME)/$(target):$(shell $(ARTIFACTS)/bldr eval --target $(target) --build-arg TAG=$(TAG) '{{.VERSION}}' 2>/dev/null) >> _out/extensions-metadata;) | ||
@$(foreach target,$(NONFREE_TARGETS),echo $(REGISTRY)/$(USERNAME)/$(target):$(shell $(ARTIFACTS)/bldr eval --target $(target) --build-arg TAG=$(TAG) '{{.VERSION}}' 2>/dev/null) >> _out/extensions-metadata;) | ||
--- | ||
kind: custom.Step | ||
name: internal/extensions/image-digests | ||
spec: | ||
makefile: | ||
enabled: true | ||
phony: true | ||
depends: | ||
- extensions-metadata | ||
script: | ||
- | | ||
@cat _out/extensions-metadata | xargs -I{} sh -c 'echo {}@$$(crane digest {})' > internal/extensions/image-digests | ||
--- | ||
kind: custom.Step | ||
name: sign-images | ||
spec: | ||
makefile: | ||
enabled: true | ||
phony: true | ||
script: | ||
- | | ||
@for image in $(shell crane export $(EXTENSIONS_IMAGE_REF) | tar x --to-stdout image-digests) $(EXTENSIONS_IMAGE_REF)@$$(crane digest $(EXTENSIONS_IMAGE_REF)); do \ | ||
echo '==>' $$image; \ | ||
cosign verify $$image --certificate-identity-regexp '@siderolabs\.com$$' --certificate-oidc-issuer https://accounts.google.com || \ | ||
cosign sign --yes $$image; \ | ||
done |
Oops, something went wrong.