Show AWS Deployment Success Code in pipeline view
Problem to solve
Coming from #215333 (comment 388172059)
Users deploying to AWS have a hard time understand that the deployment was successful. They often have to go to the AWS console or go through logs to look for a success/fail code.
Intended users
Further details
aws deploy get-deployment --deployment-id d-A1B2C3123
Output:
{
"deploymentInfo": {
"applicationName": "WordPress_App",
"status": "Succeeded",
"deploymentOverview": {
"Failed": 0,
"InProgress": 0,
"Skipped": 0,
"Succeeded": 1,
"Pending": 0
},
"deploymentConfigName": "CodeDeployDefault.OneAtATime",
"creator": "user",
"description": "My WordPress app deployment",
"revision": {
"revisionType": "S3",
"s3Location": {
"bundleType": "zip",
"eTag": "\"dd56cfdEXAMPLE8e768f9d77fEXAMPLE\"",
"bucket": "CodeDeployDemoBucket",
"key": "WordPressApp.zip"
}
},
"deploymentId": "d-A1B2C3123",
"deploymentGroupName": "WordPress_DG",
"createTime": 1409764576.589,
"completeTime": 1409764596.101,
"ignoreApplicationStopFailures": false
}
}
Proposal
Use the AWS CLI get-deployment-status
API
usage: aws deploy get-deployment --deployment-id <ID>
In #215333 we added deployment status in the logs of the deploy job
In this issue we should add the status to the pipeline view - showing in progress/passed fail like any other job in GitLab
Permissions and Security
Documentation
Availability & Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Is this a cross-stage feature?
Links / references
- https://docs.aws.amazon.com/cli/latest/reference/deploy/get-deployment.html
- https://docs.aws.amazon.com/cli/latest/reference/deploy/wait/deployment-successful.html
- https://docs.aws.amazon.com/cli/latest/reference/greengrass/get-deployment-status.html
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.