concourse / concourse-pipeline-resource

!!! use the `set_pipeline` step instead !!!
https://concourse-ci.org/jobs.html#schema.step.set-pipeline-step.set_pipeline
MIT License
76 stars 42 forks source link

check returns a different version even if pipeline config didn't change #38

Closed alpha-er closed 5 years ago

alpha-er commented 6 years ago

For every run of check, there will be one pipeline version that changes because the fly get-pipeline command will return the pipeline's config and the resources will be sorted differently thus varying the resulting md5sum. This will then unnecessarily record a new version of the resource in the versioned_resources db table.

marco-m commented 5 years ago

Ahhh @alpha-er now I understand this behavior I could not explain! We have deployed Concourse 5 RC and we can confirm that https://github.com/concourse/concourse/issues/2814 fixed this behavior, I think this ticket can be closed as soon as Concourse 5 is released.

vito commented 5 years ago

@marco-m gotcha - closing, then!