aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.51k stars 436 forks source link

Add support for CodePipeline #711

Open gholt-aws opened 5 years ago

gholt-aws commented 5 years ago

Support interacting with CodePipeline from VS Code.

For example, from #1412 :

It's quite cumbersome when I commit some code changes to see when the deployment (in CodePipeline) is done and if it's failed what's the reason for it. I've to open the browser, go to CodePipeline and so on. It's an unnecessary context switch.

I'd like to see the pipeline runs within VS Code. Ideally the runs are mapped to my git commits. The status bar should show the results of the latest run. When it's failed, a click should jump to the explorer that shows the pipeline's stages and actions and their results and logs. The explorer should also show the pipeline history.

The name of the pipeline could be extracted from the cdk application. For cloudformation-based pipelines the name could be choosen manually and stored somewhere.

bilalq commented 2 years ago

Seems this just needs to do a lookup of pipelines within the CDK app and then call getPipelineState?

The presentation of this could go in either Explorer or Developer Tools, but I think the latter would probably be a better fit.

One other interesting concern here is cross-account pipelines. Since the toolkit extension only loads a single profile at a time, users have to choose between loading either an account where a stage is deployed or the pipeline itself. There's no way to actually see the broader picture. That probably merits its own issue to discuss.

justinmk3 commented 2 years ago

One other interesting concern here is cross-account pipelines. Since the toolkit extension only loads a single profile at a time, users have to choose between loading either an account where a stage is deployed or the pipeline itself. There's no way to actually see the broader picture.

Great point. We are thinking about cross-account and multi-account support, but it's very early stages.

hbracy commented 1 year ago

I would love this :)

andrew-dixon commented 1 year ago

I was surprised this actually wasn't already one of the AWS tools included, along with CodeBuild as well. I think adding both CodePipeline and CodeBuild would be excellent additions.

agalazis commented 1 year ago

I don't think it really needs cdk, we could just add a pipeline arn(or list of pipeline arns in case somebody has multiple) in vscode workspace settings which can be picked

karthikghantasala commented 8 months ago

This will be an awesome feature to have.. and this shouldnt need anything to do with CDK