config 884 B

123456789101112131415161718192021222324252627282930
  1. version: 21
  2. git_url: https://github.com/coreos/go-systemd.git
  3. git_hash: d3cd4ed1dbcf5835feba465b180436db54f20228
  4. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
  5. build: '[% c("projects/go/var/build_go_lib") %]'
  6. var:
  7. container:
  8. use_container: 1
  9. go_lib: github.com/coreos/go-systemd
  10. go_lib_install:
  11. - github.com/coreos/go-systemd/journal
  12. build_go_lib_pre: |
  13. [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
  14. tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/binutils') %]
  15. export PATH="/var/tmp/dist/binutils/bin:$PATH"
  16. export CGO_ENABLED=1
  17. input_files:
  18. - project: container-image
  19. - name: go
  20. project: go
  21. - name: '[% c("var/compiler") %]'
  22. project: '[% c("var/compiler") %]'
  23. - name: binutils
  24. project: binutils