cool-easter-32542
03/12/2024, 10:09 AMpants experimental-deploy ... on exactly the ones that have changed.
• 4 `python_distribution`s publish the ones that have changed
• 3 `docker_image`s and only push the ones that have changed
• 2 AWS CloudFormation stacks that depend on resources build in Pants, and only deploy which one has changed
Describe the solution you'd like
Some ideas:
• a documentation "tutorial" similar to https://www.pantsbuild.org/2.19/docs/using-pants/using-pants-in-ci
• an example repository implementing this (combined with the above, potentially)
• making the right approach so self-evident that there's no need to document it 😂
Describe alternatives you've considered
N/A
Additional context
Example threads:
• https://chat.pantsbuild.org/t/16658940/hi-all-i-m-using-pants-for-ci-with-github-actions-and-it-is-#d26dce97-ba25-4193-ae3f-a9a3d8ea06d7
• https://chat.pantsbuild.org/t/16755257/hey-everyone-we-want-to-combine-our-existing-libraries-into-#bfcaa2db-c49e-44b8-bb30-fd65d027c58e
Some issues that are potentially related, in that they may influence how accurate/reliable a solution using --changed-since can be:
• #17512
• #15694
• #19509
• #19805
A hash for a target may also be relevant:
• #8445
• #18383 (the recipe there)
pantsbuild/pants