-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing autobuild-disable flag to publish command (#2733)
* add addBundleDefinitionFlags to publish cmd * add AutoBuildDisabled to publish cmd * fix docs Signed-off-by: Aleksey Barabanov <[email protected]> * Correct how --autobuild-disabled is defined on publish * The flag doesn't need to be manually configured with viper because the flag is defined on publish. * The flag doesn't need to be defined on Config.DataStore because the flag is defined on publish. * Update example to use --autobuild-disabled without =true, since that is the default when the flag is specified. Signed-off-by: Carolyn Van Slyck <[email protected]> * Add test for publish --autobuild-disabled Add a test to validate that we can disable autobuild for the publish command. Signed-off-by: Carolyn Van Slyck <[email protected]> * Add regression test for autobuild-disabled via config This adds a regression test for setting autobuild-disabled to true in a config file and having the CLI correctly pick up the setting. Signed-off-by: Carolyn Van Slyck <[email protected]> --------- Signed-off-by: Aleksey Barabanov <[email protected]> Signed-off-by: Carolyn Van Slyck <[email protected]> Co-authored-by: Aleksey Barabanov <[email protected]> Co-authored-by: Carolyn Van Slyck <[email protected]>
- Loading branch information
1 parent
7f119cb
commit 0e739d8
Showing
4 changed files
with
31 additions
and
10 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