-
Notifications
You must be signed in to change notification settings - Fork 427
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
pipeline delete
experience
#630
pipeline delete
experience
#630
Comments
Does it make sense to have a separate flag to delete without confirmation but retain the secret? The use cases seem like the following:
In 2. is there a chance that I'll stop myself from being able to deploy pipelines with the same Github token for 7 days until the secret fully goes away? Does the possible user confusion from case 2 warrant complexity of an extra flag? |
@bvtujo we could bypass the 7 days wait I believe with the |
@efekarakus that's good, I think that's my only issue here. As long as we definitely destroy the token when the user specifies |
Yay! Thanks for this design. Just curious, why stop if there's an active build? Will CF yell at us if we try to delete a CodeBuild project that has an active build? |
@kohidave not sure. The original thought was that it might leave an environment in a weird state, but I can double check what the CFN behavior is. Do you think it's a better experience to just delete anyway if there's a build going? |
Addresses #626 |
Do we want to specify |
Just kidding, ideally we expect only one |
Closes aws#630
Closes aws#630
Closes aws#630
* Delete pipeline Closes #630 * Remove unused method This was leftover from a refactor in which we moved much of the PreRunE logic into the constructor for the opts. This approach allows for ease and consistency of testing. NOTE: See 16d3bb1 -- previously, calling the constructors outside of RunE made it harder to catch errors returned by the constructor itself. This allows the errors to be caught will still getting values from the command's flags.. * Move PipelineName and PipelineSecret into opts Neither field will be passed in as flags, so they can be moved out of deletePipelineVars. * Wrap error from secretsmanager.DeleteSecret * remove PipelineFilename from initPipelineVars Since we always assume the pipeline for a workspace will be named "pipeline.yml", we are not passing this field in as a flag. * delete pipeline file - placeholder pending changes in #657 * Force delete the pipeline secret * Add tag for secret * Delete pipeline manifest
Experience
Help menu
The interactive experience
Errors
If the pipeline has active builds in progress.
If there is no pipeline.yml in the project.
Follow-up steps
Display progress of deletions just like in
env delete
.The text was updated successfully, but these errors were encountered: