yet another try
Some checks failed
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Has been cancelled
Some checks failed
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Has been cancelled
This commit is contained in:
parent
9e998ac884
commit
3b4f0b27d2
1 changed files with 6 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue