expose products for jvm bundle create and python binary create tasks

Review Request #4015 - Created June 21, 2016 and submitted

Information
Matt Olsen
pants
3477, 3501, 3593
4041
Reviewers
pants-reviews
mateor, patricklaw, peiyu, stuhood

bundle.jvm currently does not expose a product_type for any archives it creates (only the loose bundle directory). And binary.python-binary-create currently does not expose any products at all. We would like these tasks to expose products, in order to be able to consume those products in downstream (internal) tasks.

In particular, JVM apps (at least at Twitter) are generally published as archived (zip'd/tar'd) bundles. And python apps are deployed directly as pexes.
1. Expose deployable_archive product in jvm bundle_create task (arhives, including zip, tar, tar.gz, tar.bz2).
2. Expose same deployable_archive product in python_binary_create task (pexes).
3. Above products live in .pants.d, and they have symlinks created in dist dir.
4. Modify integration and unit test cases to accommodate changes in (3).
5. Add test cases.

Cloned from the pull request in RB: https://rbcommons.com/s/twitter/r/3959/

ci pending: https://travis-ci.org/pantsbuild/pants/builds/141133645

Issues

  • 0
  • 13
  • 0
  • 13
Description From Last Updated
Matt Olsen
Stu Hood
Matt Olsen
Mateo Rodriguez
Yujie Chen
Yujie Chen
Matt Olsen
Yujie Chen
Matt Olsen
Yujie Chen
Stu Hood
Mateo Rodriguez
Mateo Rodriguez
Matt Olsen
Review request changed

Status: Closed (submitted)

Change Summary:

commit a09ac81420589749c3adc73e9fb02a0d8bc8447d

Loading...