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

Add "returning" option for merge output ref #262

Merged
merged 1 commit into from
May 29, 2019
Merged

Conversation

rliebz
Copy link
Contributor

@rliebz rliebz commented May 21, 2019

Setting the returning param to unmerged allows using the original commit as the resource output when setting the merge param to true, rather than using the merge commit. This is a backward compatible change that allows users to opt-in to the new behavior as desired.

Resolves #253

Copy link
Member

@vito vito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks great! Just need a tiny tweak to the test file in order to run the newly added test. 👍

test/put.sh Show resolved Hide resolved
Setting the `returning` param to `unmerged` allows using the original
commit as the resource output when setting the `merge` param to `true`.

Resolves concourse#253

Signed-off-by: Rob Liebowitz <[email protected]>
@rliebz
Copy link
Contributor Author

rliebz commented May 29, 2019

@vito -- Looks like the Ubuntu test fails sometimes, so I had to re-trigger the build (with an amend/force-push) to get it to pass. There are other examples of the same error in the build history (26, 18), so I don't think it's related to this change.

Other than that, the PR should be good to go.

Copy link
Member

@vito vito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😕 Yeah those GPG tests seem a little finnicky. We'll keep an eye on it. Thanks!

@vito vito merged commit 4788c43 into concourse:master May 29, 2019
@rliebz rliebz deleted the merge-ref branch May 29, 2019 23:00
@jamieklassen jamieklassen added this to the v5.3.0 milestone Jun 6, 2019
jamieklassen pushed a commit to vmware-archive/release-notes that referenced this pull request Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use original commit version as output version after a merge
4 participants