.pkgr.yml 935 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. targets:
  2. debian-8: &debian
  3. build_dependencies:
  4. - libpam0g-dev
  5. dependencies:
  6. - libpam0g
  7. - git
  8. debian-9:
  9. <<: *debian
  10. debian-10:
  11. <<: *debian
  12. ubuntu-14.04:
  13. <<: *debian
  14. ubuntu-16.04:
  15. <<: *debian
  16. build_dependencies:
  17. - bzr
  18. - mercurial
  19. ubuntu-18.04:
  20. <<: *debian
  21. centos-6: &el
  22. build_dependencies:
  23. - pam-devel
  24. # required for go buildpack
  25. - perl-Digest-SHA
  26. dependencies:
  27. - pam
  28. - git
  29. centos-7:
  30. <<: *el
  31. before:
  32. - mv packager/Procfile .
  33. after:
  34. - mv bin/gogs gogs
  35. after_install: ./packager/hooks/postinst
  36. # Can be updated after CentOS 6 support is dropped, otherwise fails with
  37. # `fatal: bad config file line 2 in /home/pkgr/.gitconfig` because of
  38. # https://github.com/heroku/heroku-buildpack-go/blob/f96ebebfa7605fd3916521e42ab050c81c9b947a/lib/common.sh#L238
  39. buildpack: https://github.com/heroku/heroku-buildpack-go.git#v76