-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Artifactory Release Lifecycle Management - Support release bundles de…
…letion locally and remotely (#2452)
- Loading branch information
Showing
7 changed files
with
147 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package deletelocal | ||
|
||
var Usage = []string{"rbdell [command options] <release bundle name> <release bundle version>", | ||
"rbdell [command options] <release bundle name> <release bundle version> <environment>"} | ||
|
||
func GetDescription() string { | ||
return "Delete all release bundle promotions to an environment or delete a release bundle locally altogether." | ||
} | ||
|
||
func GetArguments() string { | ||
return ` release bundle name | ||
Name of the Release Bundle to delete locally. | ||
release bundle version | ||
Version of the Release Bundle to delete locally. | ||
environment | ||
If provided, all promotions to this environment are deleted. | ||
Otherwise, the release bundle is deleted locally with all its promotions.` | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package deleteremote | ||
|
||
var Usage = []string{"rbdelr [command options] <release bundle name> <release bundle version>"} | ||
|
||
func GetDescription() string { | ||
return "Delete a release bundle remotely." | ||
} | ||
|
||
func GetArguments() string { | ||
return ` release bundle name | ||
Name of the Release Bundle to delete remotely. | ||
release bundle version | ||
Version of the Release Bundle to delete remotely.` | ||
} |
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
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