You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow getting a specific version of an s3 versioned resource #133
We produce an artifact for every commit we make. When we release, we record the s3-resource version of these artifacts that correspond to the version of the code we want to release. During our CI pipeline, we have a test that includes the development version and the most recent release. We would like to use the concourse s3-resource to download the most recent release by specifying the s3-resource version, and manually updating this version whenever a new release is created.
As discussed with @drich10, we think this is probably not the best way to solve the problem you face. The version info should be kept inside concourse - this solution would leak the versions, increasing the potential for things to be confusing and for them to break. This solution would require reconfiguring the pipeline every time you want to change the version.
If you want a single-pipeline solution, you could add a passed: [some-manual-job] constraint which will pull whatever version has passed the manually-triggered-job at the end of the existing pipeline, and that manually triggered job would be triggered when the released product is accepted by PM etc.
If you want multiple pipelines, then you have something very similar to the above but without the passed constraint - you're only uploading new versions to the resource via a manually-triggered job so there is no possibility of running with the wrong version (unlesss you upload a new version outside of concourse, which there should be no need to do).
A multiple pipeline solution is probably easier to manage; feel free to ping us if you want further assistance.
Activity
concourse-bot commentedon Aug 25, 2015
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
robdimsdale commentedon Aug 25, 2015
As discussed with @drich10, we think this is probably not the best way to solve the problem you face. The version info should be kept inside concourse - this solution would leak the versions, increasing the potential for things to be confusing and for them to break. This solution would require reconfiguring the pipeline every time you want to change the version.
If you want a single-pipeline solution, you could add a
passed: [some-manual-job]constraint which will pull whatever version has passed the manually-triggered-job at the end of the existing pipeline, and that manually triggered job would be triggered when the released product is accepted by PM etc.If you want multiple pipelines, then you have something very similar to the above but without the passed constraint - you're only uploading new versions to the resource via a manually-triggered job so there is no possibility of running with the wrong version (unlesss you upload a new version outside of concourse, which there should be no need to do).
A multiple pipeline solution is probably easier to manage; feel free to ping us if you want further assistance.
ry4n1m3 commentedon Aug 26, 2015
Thanks for the detailed response! closing.
drich10 commentedon Aug 26, 2015
+1. Thanks for steering us in the right direction! 🍻
bump atc fly testflight ginkgo gomega
bump a *bunch* of dependencies