-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip test-project image builds (#10099)
Our dependency chain here is...really hairy. I don't particularly like this solution but I'm prioritizing the immediate goal faster developer velocity over cleanliness/sanity of code. Here's our problem: we only know if we need these images built and pushed once we know if we need to run certain Python package builds. Without a larger refactor to switch to a two-phase build of the pipeline (first generate a graph of our build, second compile it), it's really hard to decide if these image builds need to run. While I hope we eventually move toward that two-phase approach, this takes a major shorcut generating the Python package build steps first and letting them set a marker value in `build_for` if we need the image built. It's bad. It's ugly. It's confusing. I think it might work? Open to other (simple) suggestions. Otherwise, this is already a very complicated part of our build and I'm fine temporarily increasing its complexity if it unblocks moving onto other build improvements.
- Loading branch information
Showing
3 changed files
with
47 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters