Closed hozkaya2000 closed 9 months ago
Adds metric publishing to keep track of Github Action status for Enhanced ECS Optimized AMI Release.
A new job is added under the github actions that checks the result of the previous jobs. Based on their result, the appropriate metric is published.
Tested on hozkaya2000/amazon-ecs-ami fork, metrics were published and manually verified.
Example workflows:
ManualTrigger Run:
https://github.com/hozkaya2000/amazon-ecs-ami/actions/runs/7891946076
InitiateRelease No Release Scenario:
https://github.com/hozkaya2000/amazon-ecs-ami/actions/runs/7891592873/job/21536259029
InitiateRelease Failure Scenario:
https://github.com/hozkaya2000/amazon-ecs-ami/actions/runs/7891380634/job/21535645058
New tests cover the changes: n/a
ECS Optimized AMI Release Github Action -- Metrics Addition
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Summary
Adds metric publishing to keep track of Github Action status for Enhanced ECS Optimized AMI Release.
Implementation details
A new job is added under the github actions that checks the result of the previous jobs. Based on their result, the appropriate metric is published.
Testing
Tested on hozkaya2000/amazon-ecs-ami fork, metrics were published and manually verified.
Example workflows:
ManualTrigger Run:
https://github.com/hozkaya2000/amazon-ecs-ami/actions/runs/7891946076
InitiateRelease No Release Scenario:
https://github.com/hozkaya2000/amazon-ecs-ami/actions/runs/7891592873/job/21536259029
InitiateRelease Failure Scenario:
https://github.com/hozkaya2000/amazon-ecs-ami/actions/runs/7891380634/job/21535645058
New tests cover the changes: n/a
Description for the changelog
ECS Optimized AMI Release Github Action -- Metrics Addition
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.