~xdavidwu/linux-xdavidwu-xps

5a4b4b59cfe98704955fa9798314a2c71fcc8895 — xdavidwu 2 years ago 9b25e22
move to sourcehut
2 files changed, 29 insertions(+), 1 deletions(-)

A .build.yml
M APKBUILD
A .build.yml => .build.yml +28 -0
@@ 0,0 1,28 @@
image: alpine/edge
packages:
  - alpine-sdk
environment:
  source: systemd-apkbuilds
  release: edge
  repo: xdavidwu
  key: Egloga-Alpine-AUTOMATED-CI-61864ad2.rsa
  package: linux-xdavidwu-xps
secrets:
  - f288c06f-779e-4a47-8d35-b9b51283fbc7
  - 777c5ba2-1eb8-441f-b111-c8c608419a57
tasks:
  - prepare: |
      cat <<EOF > ~/.abuild/abuild.conf
      PACKAGER="builds.xdavidwu.link <xdavidwuph@gmail.com>"
      PACKAGER_PRIVKEY="$HOME/.abuild/$key"
      EOF
  - build: |
      cd "$package"
      abuild -rK
  - deploy: |
      arch=$(uname -m)
      echo "StrictHostKeyChecking=no" >> ~/.ssh/config
      for file in packages/*/$arch/*.apk; do
        name=$(basename "$file")
        ssh deploy@alpine.xdavidwu.link "$release/$repo/$arch/$name" < "$file"
      done

M APKBUILD => APKBUILD +1 -1
@@ 1,7 1,7 @@
# Maintainer: xdavidwu <xdavidwuph@gmail.com>
pkgname=linux-xdavidwu-xps
pkgver=5.17.1
pkgrel=1
pkgrel=2
pkgdesc="Linux kernel customized for xps"
url="https://www.kernel.org/"
arch="all"