-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If you just want to build images, you don't need to build the pubsys tool first, only buildsys. This change splits the tasks so that builds only need to depend on buildsys. Similarly, AMI and repo builds only need to depend on pubsys, not buildsys. `cargo make` currently rebuilds images each run. If you want to build repos or build/copy AMIs based on a previous image build, you don't want to wait for image rebuilds, and you don't want to use different files - you want to use the same image files you had. This change makes the ami and repo tasks depend only on pubsys and sources, and checks for image file existence internally. (The image file names include version and commit, so you can't accidentally use an old build.) This will also apply for `cargo make ssm`, where timing is even more critical. Co-authored-by: Zac Mrowicki <mrowicki@amazon.com> Co-authored-by: Tom Kirchner <tjk@amazon.com>
- Loading branch information
Showing
1 changed file
with
38 additions
and
15 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