cdklabs / cdklabs/cdk-docker-image-deployment

CodeBuild BuildSpec is not updated correctly

Open
#288 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
88
Forks
15
Avg merge
7m
Merged PRs (30d)
30

Description

Hi,

I am working with an ERC Repository which has its tags set to immutable. When I first set it as a destination, the build runs fine. As soon as I change the Tag (i.e. from "v1.0.0" to "v1.1.0"), CodeBuild fails. After some investigation, the CodeBuild Buildspec still lists the tag "v1.0.0". The new tag is set correctly in the code. This makes changing tags automatically impossible, as the CodeBuild BuildSpec has to be updated manually or deleted manually for each tag change.

Either the change to the BuildSpec is not recognized by cdk, or there is no update at all. Is there a way to force recreation of the BuildSpec, or would it be possible to add some config hash so the cdk recognizes the change?

I am using:
Python 10 for source
node 18.0.0
cdk 2.18.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.