The fuckery involved to get the git tag for the commit hash in an AWS
CodePipeline deploy step with secondary sources is mindboggling.
CODEBUILD_RESOLVED_SOURCE_VERSION points to primary source
CODEBUILD_SOURCE_REPO_URL is not set
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
The fuckery involved to get the git tag for the commit hash in an AWS
CodePipeline deploy step with secondary sources is mindboggling.
CODEBUILD_RESOLVED_SOURCE_VERSION points to primary source
CODEBUILD_SOURCE_REPO_URL is not set
I need to set the source repo URL as an environment variable on the CodeBuild
project for the deploy step.
Then I can git ls-remote against that using the git hash ... which I get from
inspecting the pipeline state using the AWS CLI.