mirror of
https://github.com/kairos-io/packages.git
synced 2025-09-20 02:31:39 +00:00
Bump github action for luet (#1283)
This commit is contained in:
24
.github/workflows/build-arm64.yaml
vendored
24
.github/workflows/build-arm64.yaml
vendored
@@ -8,34 +8,24 @@ on:
|
|||||||
- main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ARM64
|
runs-on: ubuntu-24.04-arm
|
||||||
env:
|
|
||||||
ARCH: amd64
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: |
|
|
||||||
git fetch --prune --unshallow
|
|
||||||
mkdir build
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@master
|
|
||||||
with:
|
with:
|
||||||
platforms: all
|
fetch-depth: 0
|
||||||
- name: Set up Docker Buildx
|
|
||||||
id: buildx
|
|
||||||
uses: docker/setup-buildx-action@master
|
|
||||||
- name: Download meta 🔧
|
- name: Download meta 🔧
|
||||||
uses: luet-lab/luet-github-action@v0.3.0
|
uses: luet-lab/luet-github-action@v0.3.1
|
||||||
with:
|
with:
|
||||||
FINAL_REPO: quay.io/kairos/packages-arm64
|
FINAL_REPO: quay.io/kairos/packages-arm64
|
||||||
REPOSITORY_TYPE: docker
|
REPOSITORY_TYPE: docker
|
||||||
downloadAllMeta: true
|
downloadAllMeta: true
|
||||||
downloadFromList: false
|
downloadFromList: false
|
||||||
downloadMeta: true
|
downloadMeta: true
|
||||||
|
luetArch: arm64
|
||||||
# renovate: datasource=github-releases depName=mudler/luet
|
# renovate: datasource=github-releases depName=mudler/luet
|
||||||
luetVersion: 0.36.0
|
luetVersion: 0.36.0
|
||||||
luetArch: arm64
|
|
||||||
- name: Build packages 🔧
|
- name: Build packages 🔧
|
||||||
uses: luet-lab/luet-github-action@v0.3.0
|
uses: luet-lab/luet-github-action@v0.3.1
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
with:
|
with:
|
||||||
build: true
|
build: true
|
||||||
@@ -51,10 +41,11 @@ jobs:
|
|||||||
values: values/arm64.yaml
|
values: values/arm64.yaml
|
||||||
buildx: true
|
buildx: true
|
||||||
platform: linux/arm64
|
platform: linux/arm64
|
||||||
|
luetArch: arm64
|
||||||
# renovate: datasource=github-releases depName=mudler/luet
|
# renovate: datasource=github-releases depName=mudler/luet
|
||||||
luetVersion: 0.36.0
|
luetVersion: 0.36.0
|
||||||
- name: Create repo 🔧
|
- name: Create repo 🔧
|
||||||
uses: luet-lab/luet-github-action@v0.3.0
|
uses: luet-lab/luet-github-action@v0.3.1
|
||||||
id: create_repo
|
id: create_repo
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
with:
|
with:
|
||||||
@@ -66,6 +57,7 @@ jobs:
|
|||||||
createRepo: true
|
createRepo: true
|
||||||
pushCache: true
|
pushCache: true
|
||||||
revisionSHA: true
|
revisionSHA: true
|
||||||
|
luetArch: arm64
|
||||||
# renovate: datasource=github-releases depName=mudler/luet
|
# renovate: datasource=github-releases depName=mudler/luet
|
||||||
luetVersion: 0.36.0
|
luetVersion: 0.36.0
|
||||||
- name: Summary info
|
- name: Summary info
|
||||||
|
43
.github/workflows/build.yaml
vendored
43
.github/workflows/build.yaml
vendored
@@ -9,45 +9,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: fast
|
runs-on: fast
|
||||||
env:
|
|
||||||
ARCH: amd64
|
|
||||||
steps:
|
steps:
|
||||||
- name: Release space from worker
|
|
||||||
run: |
|
|
||||||
echo "Listing top largest packages"
|
|
||||||
pkgs=$(dpkg-query -Wf '${Installed-Size}\t${Package}\t${Status}\n' | awk '$NF == "installed"{print $1 "\t" $2}' | sort -nr)
|
|
||||||
head -n 30 <<< "${pkgs}"
|
|
||||||
echo
|
|
||||||
df -h
|
|
||||||
echo
|
|
||||||
sudo apt-get remove -y '^llvm-.*|^libllvm.*' || true
|
|
||||||
sudo apt-get remove --auto-remove android-sdk-platform-tools || true
|
|
||||||
sudo apt-get purge --auto-remove android-sdk-platform-tools || true
|
|
||||||
sudo rm -rf /usr/local/lib/android
|
|
||||||
sudo apt-get remove -y '^dotnet-.*|^aspnetcore-.*' || true
|
|
||||||
sudo rm -rf /usr/share/dotnet
|
|
||||||
sudo apt-get remove -y '^mono-.*' || true
|
|
||||||
sudo apt-get remove -y '^ghc-.*' || true
|
|
||||||
sudo apt-get remove -y '.*jdk.*|.*jre.*' || true
|
|
||||||
sudo apt-get remove -y 'php.*' || true
|
|
||||||
sudo apt-get remove -y hhvm powershell firefox monodoc-manual msbuild || true
|
|
||||||
sudo apt-get remove -y '^google-.*' || true
|
|
||||||
sudo apt-get remove -y azure-cli || true
|
|
||||||
sudo apt-get remove -y '^mongo.*-.*|^postgresql-.*|^mysql-.*|^mssql-.*' || true
|
|
||||||
sudo apt-get remove -y '^gfortran-.*' || true
|
|
||||||
sudo apt-get autoremove -y
|
|
||||||
sudo apt-get clean
|
|
||||||
echo
|
|
||||||
echo "Listing top largest packages"
|
|
||||||
pkgs=$(dpkg-query -Wf '${Installed-Size}\t${Package}\t${Status}\n' | awk '$NF == "installed"{print $1 "\t" $2}' | sort -nr)
|
|
||||||
head -n 30 <<< "${pkgs}"
|
|
||||||
echo
|
|
||||||
sudo rm -rfv build || true
|
|
||||||
df -h
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: |
|
with:
|
||||||
git fetch --prune --unshallow
|
fetch-depth: 0
|
||||||
mkdir build
|
|
||||||
- name: Download meta 🔧
|
- name: Download meta 🔧
|
||||||
uses: luet-lab/luet-github-action@v0.3.0
|
uses: luet-lab/luet-github-action@v0.3.0
|
||||||
with:
|
with:
|
||||||
@@ -59,7 +24,7 @@ jobs:
|
|||||||
# renovate: datasource=github-releases depName=mudler/luet
|
# renovate: datasource=github-releases depName=mudler/luet
|
||||||
luetVersion: 0.36.0
|
luetVersion: 0.36.0
|
||||||
- name: Build packages 🔧
|
- name: Build packages 🔧
|
||||||
uses: luet-lab/luet-github-action@v0.3.0
|
uses: luet-lab/luet-github-action@v0.3.1
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
with:
|
with:
|
||||||
build: true
|
build: true
|
||||||
@@ -76,7 +41,7 @@ jobs:
|
|||||||
# renovate: datasource=github-releases depName=mudler/luet
|
# renovate: datasource=github-releases depName=mudler/luet
|
||||||
luetVersion: 0.36.0
|
luetVersion: 0.36.0
|
||||||
- name: Create repo 🔧
|
- name: Create repo 🔧
|
||||||
uses: luet-lab/luet-github-action@v0.3.0
|
uses: luet-lab/luet-github-action@v0.3.1
|
||||||
id: create_repo
|
id: create_repo
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
with:
|
with:
|
||||||
|
35
.github/workflows/pr.yaml
vendored
35
.github/workflows/pr.yaml
vendored
@@ -30,21 +30,13 @@ jobs:
|
|||||||
go run main.go $PKG_ALL_CHANGED_FILES
|
go run main.go $PKG_ALL_CHANGED_FILES
|
||||||
|
|
||||||
build-arm64:
|
build-arm64:
|
||||||
runs-on: ARM64
|
runs-on: ubuntu-24.04-arm
|
||||||
env:
|
|
||||||
ARCH: amd64
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: |
|
with:
|
||||||
git fetch --prune --unshallow
|
fetch-depth: 0
|
||||||
mkdir build
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3.4.0
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
id: buildx
|
|
||||||
uses: docker/setup-buildx-action@v3.8.0
|
|
||||||
- name: Build packages 🔧
|
- name: Build packages 🔧
|
||||||
uses: luet-lab/luet-github-action@v0.3.0
|
uses: luet-lab/luet-github-action@v0.3.1
|
||||||
with:
|
with:
|
||||||
build: true
|
build: true
|
||||||
fromIndex: true
|
fromIndex: true
|
||||||
@@ -59,28 +51,15 @@ jobs:
|
|||||||
platform: linux/arm64
|
platform: linux/arm64
|
||||||
# renovate: datasource=github-releases depName=mudler/luet
|
# renovate: datasource=github-releases depName=mudler/luet
|
||||||
luetVersion: 0.36.0
|
luetVersion: 0.36.0
|
||||||
|
luetArch: arm64
|
||||||
build:
|
build:
|
||||||
runs-on: fast
|
runs-on: fast
|
||||||
env:
|
|
||||||
ARCH: amd64
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: |
|
|
||||||
git fetch --prune --unshallow
|
|
||||||
mkdir build
|
|
||||||
- name: Download meta 🔧
|
|
||||||
uses: luet-lab/luet-github-action@v0.3.0
|
|
||||||
with:
|
with:
|
||||||
FINAL_REPO: quay.io/kairos/packages
|
fetch-depth: 0
|
||||||
REPOSITORY_TYPE: docker
|
|
||||||
downloadAllMeta: false
|
|
||||||
downloadFromList: true
|
|
||||||
downloadMeta: true
|
|
||||||
# renovate: datasource=github-releases depName=mudler/luet
|
|
||||||
luetVersion: 0.36.0
|
|
||||||
- name: Build packages 🔧
|
- name: Build packages 🔧
|
||||||
uses: luet-lab/luet-github-action@v0.3.0
|
uses: luet-lab/luet-github-action@v0.3.1
|
||||||
with:
|
with:
|
||||||
build: true
|
build: true
|
||||||
fromIndex: true
|
fromIndex: true
|
||||||
|
Reference in New Issue
Block a user