Skip to content

Commit

Permalink
Drop kernel package, as its very slow (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
Itxaka authored Dec 5, 2023
1 parent bfa1341 commit f2391ce
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 25,055 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/build-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,6 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Get kernel version
uses: mikefarah/[email protected]
id: kernel_version
with:
cmd: yq -r '.labels| with_entries(select(.key == "package.version"))|.[]' packages/kernels/upstream/definition.yaml
# this builds the kernel cross-compiled for arm64 so its faster
# notice that wee are not using builx nor platform so it runs under amd64
# This is much faster than building the kernel on arm64 via buildx and --platform
- name: Build kernel 🔧
uses: luet-lab/luet-github-action@master
with:
build: true
FINAL_REPO: quay.io/kairos/packages-arm64
DOCKER_USERNAME: ${{ secrets.QUAY_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
DOCKER_ENDPOINT: quay.io
REPOSITORY_TYPE: docker
pushFinalImages: true
pushCache: true
CURRENT_PACKAGE: kernels/linux@${{ steps.kernel_version.outputs.result }}
values: values/arm64.yaml
- name: Download meta 🔧
uses: luet-lab/luet-github-action@master
with:
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,6 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Get kernel version
uses: mikefarah/[email protected]
id: kernel_version
with:
cmd: yq -r '.labels| with_entries(select(.key == "package.version"))|.[]' packages/kernels/upstream/definition.yaml
# this builds the kernel cross-compiled for arm64 so its faster
# notice that wee are not using builx nor platform so it runs under amd64
# This is much faster than building the kernel on arm64 via buildx and --platform
- name: Build kernel 🔧
uses: luet-lab/luet-github-action@master
with:
build: true
FINAL_REPO: quay.io/kairos/packages-arm64
DOCKER_USERNAME: ${{ secrets.QUAY_USERNAME }}
REPOSITORY_TYPE: docker
pushFinalImages: false
pushCache: false
CURRENT_PACKAGE: kernels/linux@${{ steps.kernel_version.outputs.result }}
values: values/arm64.yaml
- name: Download meta 🔧
uses: luet-lab/luet-github-action@master
with:
Expand Down
47 changes: 0 additions & 47 deletions packages/kernels/upstream/build.yaml

This file was deleted.

Loading

0 comments on commit f2391ce

Please sign in to comment.