From 3b4f0b27d2509c03bbb81cdb28e345f688b80cc8 Mon Sep 17 00:00:00 2001 From: itmodulo Date: Tue, 1 Jul 2025 17:35:01 +0200 Subject: [PATCH] yet another try --- .gitea/workflows/release_arm64v8-edge.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/release_arm64v8-edge.yml b/.gitea/workflows/release_arm64v8-edge.yml index 57ba6ed..718cde0 100755 --- a/.gitea/workflows/release_arm64v8-edge.yml +++ b/.gitea/workflows/release_arm64v8-edge.yml @@ -14,7 +14,7 @@ jobs: REMOTE_PORT: "${{ secrets.LOGIN_PORT }}" REMOTE_PATH: "${{ secrets.SERVER_REPO_PATH }}/edge/main/aarch64" steps: - - name: Install base tools + - name: setup shell: sh run: | # faster mirror + essential build tools @@ -22,10 +22,7 @@ jobs: echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/testing" >> /etc/apk/repositories apk update && apk upgrade - apk add bash git curl alpine-sdk abuild sudo shadow fuse sshfs nodejs wget - - - name: Set up environment and users - run: | + apk add bash git curl alpine-sdk abuild sudo shadow fuse sshfs nodejs wget file echo "user_allow_other" >> /etc/fuse.conf adduser runner -u 1003 -D -s /bin/bash -G wheel addgroup -g 1003 runner @@ -39,9 +36,6 @@ jobs: chsh -s /bin/bash su - runner -c 'mkdir ~/.abuild' echo "setup done" - - - name: Set up keys - run: | wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P /etc/apk/keys su - runner -c 'wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P ~/.abuild/' echo "${{ secrets.REPO_PRIVKEY }}" > /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }} && chown runner:runner /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }} @@ -51,7 +45,7 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - name: Fetch remote index and parse existing pkgs + - name: Fetch remote index and parse existing pkgs, build id: get_remote shell: bash run: | @@ -62,12 +56,11 @@ jobs: /^V:/ { ver=$2 } /^PR:/{ pr=$2; print pkg "-" ver "-" pr }' \ remote_index/APKINDEX > remote_index/list.txt - cat remote_index/list.txt - - name: Build only missing packages - shell: bash - run: | EXISTING_LIST=remote_index/list.txt + ls -lah remote_index + file remote_index/list.txt + cat remote_index/list.txt mkdir -p newpkgs for d in edge/*; do # skip non-directories