~dricottone/huttese-apk

729255e3bdcad79895c7b05d5cf04e49239e2150 — Drew DeVault 5 years ago 1511e47
Minor tweaks to build.yml
2 files changed, 4 insertions(+), 33 deletions(-)

M build.yml
D sr.ht/build.yml
M build.yml => build.yml +4 -4
@@ 9,7 9,7 @@ packages:
  - rsync
environment:
  remote: deploy@mirror.sr.ht
  remote_path: /var/www/mirror.sr.ht/alpine/sr.ht-2
  remote_path: /var/www/mirror.sr.ht/alpine/sr.ht
  packages: []
sources:
  - https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds


@@ 22,8 22,8 @@ tasks:
      ./pkgkit add-repo -s sr.ht ~/.abuild/alpine@sr.ht.rsa
  - build: |
      cd sr.ht-apkbuilds
      ./pkgkit build -cr $packages
      ./pkgkit build -cu $packages
  - deploy: |
      cd sr.ht-apkbuilds/sr.ht
      sshopts="-o StrictHostKeyChecking=no"
      cd sr.ht-apkbuilds
      echo "StrictHostKeyChecking=no" >> ~/.ssh/config
      ./pkgkit upload "$remote" "$remote_path" $packages

D sr.ht/build.yml => sr.ht/build.yml +0 -29
@@ 1,29 0,0 @@
image: alpine/edge
repositories:
  sr.ht: >
    https://mirror.sr.ht/alpine/sr.ht/
    https://mirror.sr.ht/alpine/sr.ht/alpine%40sr.ht.rsa.pub
    alpine@sr.ht.rsa.pub
packages:
  - openssl
  - rsync
environment:
  remote: deploy@mirror.sr.ht
  remote_path: /var/www/mirror.sr.ht/alpine/sr.ht
  packages: []
sources:
  - https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds
secrets:
  - fa00a8d3-7b63-42d5-8060-3bb31c3e3018 # ssh deploy key
  - d0adc1d4-af78-4852-920f-1134392f5d10 # package signing key
tasks:
  - setup: |
      cd sr.ht-apkbuilds
      ./pkgkit add-repo -s sr.ht ~/.abuild/alpine@sr.ht.rsa
  - build: |
      cd sr.ht-apkbuilds
      ./pkgkit build -cu $packages
  - deploy: |
      cd sr.ht-apkbuilds/sr.ht
      sshopts="-o StrictHostKeyChecking=no"
      ./pkgkit upload "$remote" "$remote_path" $packages