-
Notifications
You must be signed in to change notification settings - Fork 208
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 <Alexey.Barabanov@kaspersky.com> * 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 <me@carolynvanslyck.com> * 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 <me@carolynvanslyck.com> * 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 <me@carolynvanslyck.com> --------- Signed-off-by: Aleksey Barabanov <Alexey.Barabanov@kaspersky.com> Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com> Co-authored-by: Aleksey Barabanov <Alexey.Barabanov@kaspersky.com> Co-authored-by: Carolyn Van Slyck <me@carolynvanslyck.com>
- 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