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

config checksum should not consider templated values #193

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

olblak
Copy link
Member

@olblak olblak commented Mar 9, 2021

Fix #192

If we don't specify a pipelineID, then it generates one based on the pipeline configuration file using a checksum.
A problem occurred when that configuration contained templated values that would change over each pipeline execution which led to a different pipelineID. This prevented updatecli to identify the same pipeline run.

Instead of generating configuration checksum, we generate the checksum based on the configuration file content before we inject templated values

Signed-off-by: Olivier Vernin olivier@vernin.me

Signed-off-by: Olivier Vernin <olivier@vernin.me>
@olblak olblak added the bug Something isn't working label Mar 9, 2021
@olblak olblak merged commit a66f67e into updatecli:main Mar 9, 2021
@olblak olblak deleted the issues/192 branch March 9, 2021 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

updatecli configuration file checksum change for every run
1 participant