Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeBuild BuildSpec is not updated correctly #288

Open
MarkusMOtto opened this issue Jun 1, 2023 · 0 comments
Open

CodeBuild BuildSpec is not updated correctly #288

MarkusMOtto opened this issue Jun 1, 2023 · 0 comments

Comments

@MarkusMOtto
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant