config 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # vim: filetype=yaml sw=2
  2. # You're probably wondering why gobtcd2 is a thing, rather than being part of
  3. # gobtcd. gobtcd builds the btcjson and rpcclient subpackages of btcd.
  4. # gobtcd2 builds the btcec, chaincfg, chaincfg/chainhash, and wire subpackages
  5. # of btcd. The former set depends on gobtcutil, which depends on the latter
  6. # set. This is fine for the dependency management done by "go get", which
  7. # operates on a per-package level rather than a per-repo level. Alas, since
  8. # rbm instead operates on a per-repo level (since each project is one repo),
  9. # splitting it up was necessary.
  10. version: '[% c("abbrev") %]'
  11. git_url: '[% pc("gobtcd", "git_url") %]'
  12. git_hash: '[% pc("gobtcd", "git_hash") %]'
  13. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
  14. build: '[% c("projects/go/var/build_go_lib") %]'
  15. var:
  16. container:
  17. use_container: 1
  18. go_lib: github.com/btcsuite/btcd
  19. go_lib_install:
  20. - github.com/btcsuite/btcd/btcec
  21. - github.com/btcsuite/btcd/chaincfg
  22. - github.com/btcsuite/btcd/chaincfg/chainhash
  23. - github.com/btcsuite/btcd/wire
  24. build_go_lib_pre: |
  25. export CGO_ENABLED=0
  26. input_files:
  27. - project: container-image
  28. - name: go
  29. project: go