~sircmpwn/meta.sr.ht

ref: 0.57.0 meta.sr.ht/.builds/debian.yml -rw-r--r-- 1.2 KiB
38c8c76aJulien Moutinho Replace x/crypto package by ProtonMail/go-crypto to support ed25519 OpenPGP keys 6 months ago
                                                                                
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
30
31
32
33
34
35
36
37
image: debian/sid
repositories:
  sr.ht: https://mirror.sr.ht/debian/ sid main 6B1296C65B24472674E7B6520585B50AC6A4914D
packages:
  - devscripts
  - reprepro
  - rsync
sources:
  - https://git.sr.ht/~sircmpwn/meta.sr.ht
  - https://git.sr.ht/~dlax/meta.sr.ht-deb
  - https://git.sr.ht/~dlax/sr.ht-debbuilds
environment:
  project: meta.sr.ht
  remote: deploy@mirror.sr.ht
  remote_path: /var/www/mirror.sr.ht/debian/
  DEB_SIGN_KEYID: 6B1296C65B24472674E7B6520585B50AC6A4914D
  DEBFULLNAME: sr.ht Debian autobuilder
  DEBEMAIL: debian@sr.ht
secrets:
  - fa00a8d3-7b63-42d5-8060-3bb31c3e3018 # ssh deploy key
  - 0f260200-f6e7-4e3a-9bfb-805e6f36b2e6 # packages/repo signing key
tasks:
  - archive: |
      cd ${project}
      pkgver=$(git describe)
      echo "pkgver=$pkgver" >> ~/.buildenv
      git archive -o ../"${project}_${pkgver}".orig.tar.gz \
        --prefix="${project}-${pkgver}"/ HEAD
  - package: |
      cd sr.ht-debbuilds
      ./pkgkit build-version -li ${project} ${pkgver}
      cd ~/${project}
      git describe --exact-match HEAD || complete-build
  - upload: |
      echo "StrictHostKeyChecking=no" >> ~/.ssh/config
      cd ~/sr.ht-debbuilds
      ./pkgkit include ${project} ${pkgver}