awslabs / aws-codedeploy-plugin

Jenkins plugin for AWS CodeDeploy
Apache License 2.0
153 stars 131 forks source link

How to trigger deploy with existing artifact in S3 instead of zipping files and upload? #113

Open nam169 opened 3 years ago

nam169 commented 3 years ago

Hi guys, I wanna use CodeDeploy plugins to trigger deploy with an existing artifact in S3 instead of creating a zip, upload to S3 and move to deploy. Do we have any option?

CodeDeployTest commented 3 years ago

Hi Nam,

You do not need to use a CodeDeploy plugin to do that. You can just use CodeDeploy CreateDeploymnet API with revision.s3Locationhttps://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html#CodeDeploy-CreateDeployment-request-revision specified.

Thanks, Kaiwen

From: Nam Nguyen @.> Reply-To: awslabs/aws-codedeploy-plugin @.> Date: Sunday, September 19, 2021 at 8:29 AM To: awslabs/aws-codedeploy-plugin @.> Cc: Subscribed @.> Subject: [awslabs/aws-codedeploy-plugin] How to trigger deploy with existing artifact in S3 instead of zipping files and upload? (#113)

Hi guys, I wanna use CodeDeploy plugins to trigger deploy with an existing artifact in S3 instead of creating a zip, upload to S3 and move to deploy. Do we have any option?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/awslabs/aws-codedeploy-plugin/issues/113, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACUODGYXFQEEQXK2CXODTKLUCX6TLANCNFSM5EKOI4XA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.