Add tags to built AMIs
See gitlab-org/ci-cd/runner-tools/grit#25 (closed)
Add CI metadata to AMI as tags, so it is easy to link back to the specific job that built an image from where the image being used.
These are the tags being added, they allow both a human and a machine to link an AMI to specific CI runs and code versions
Tag | Value |
---|---|
GitlabPipelineID |
1321006391 |
GitlabPipelineURL |
https://gitlab.com/gitlab-org/ci-cd/shared-runners/images/aws/macos-nesting/-/pipelines/1321006391 |
GitlabJobID |
7034770906 |
GitlabJobURL |
https://gitlab.com/gitlab-org/ci-cd/shared-runners/images/aws/macos-nesting/-/jobs/7034770906 |
GitlabCommitRefName |
ak/tag-ami |
GitlabCommitSHA |
f8c4bb0081853625eeb6c450179c9ea8fffff8c3 |