-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plan: inform user if a deployment will be created
Just a proof of concept because the plan output when deployments are involved is a bit non-obvious. When updating a job with count=3, the plan will only show the first step of the deployment (as determined by update.max_parallel): ``` +/- Job: "sleeper" +/- Task Group: "sleeper" (1 create/destroy update, 2 ignore) +/- Task: "sleeper" (forces create/destroy update) +/- Config { ``` This hack plumbs through whether a deployment was attached to the plan. Obviously the output and field names need improving. For backward compatibility we probably shouldn't output _anything_ if there isn't a deployment, but this PoC includes a message for either case for ease of testing/demonstration.
- Loading branch information
1 parent
3bc2c07
commit bf85de6
Showing
4 changed files
with
12 additions
and
0 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
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