~dricottone/huttese-apk

ref: 24ee36c4a92852ee05e61ac6dec0ad38e84a0703 huttese-apk/build.yml -rw-r--r-- 834 bytes
24ee36c4 — Drew DeVault sr.ht/py3-deprecated: upgrade to 1.2.7 4 years ago
                                                                                
90cda839 Drew DeVault
0a862442 Drew DeVault
95ab9f80 Drew DeVault
ab4c587b Drew DeVault
0a862442 Drew DeVault
aff9ff40 Drew DeVault
0a862442 Drew DeVault
fbeb3da7 Drew DeVault
0a862442 Drew DeVault
729255e3 Drew DeVault
aff9ff40 Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
image: alpine/3.11
repositories:
  sr.ht: >
    https://mirror.sr.ht/alpine/v3.10/sr.ht/
    https://mirror.sr.ht/alpine/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
  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 -Rcu "${packages[@]}"
  - deploy: |
      cd sr.ht-apkbuilds
      echo "StrictHostKeyChecking=no" >> ~/.ssh/config
      ./pkgkit upload "$remote" "$remote_path" "${packages[@]}"