-
Notifications
You must be signed in to change notification settings - Fork 26
Add support for demote/un-demote of chan releases #496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
} | ||
return parsedTags, nil | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
appID string | ||
appSlug string | ||
appType string | ||
isFoundationApp bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isFoundationApp
and dir
was unused
createReleaseDeploymentYaml string | ||
createReleaseServiceYaml string | ||
createReleasePreflightYaml string | ||
createReleaseSupportBundleYaml string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all these where also unused
cli/cmd/channel_release_demote.go
Outdated
Short: "Demote a release from a channel", | ||
Long: `Demote a release from a channel. | ||
Example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should go into the Example
key in order to render correctly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doh 😶🌫️ , i was copy/pasting from enable-semantic-versioning
, will update.
cli/cmd/channel_release_undemote.go
Outdated
Short: "Un-demote a release from a channel", | ||
Long: `Un-demote a release from a channel. | ||
Example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, Command.Example key
Updated:
|
Adds:
replicated channel inspect
outputreplicated channel demote
andreplicated channel un-demote
subcommands:--
Sample working:
Sample errors: