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

get on a pool-resource should work when there is only one commit #29

Open
geofffranks opened this issue May 17, 2017 · 4 comments
Open
Labels

Comments

@geofffranks
Copy link

Made my pool repo, added all the locking pools to it, and committed. This was the only commit on the repo. gets failed with:

Cloning into '/tmp/build/get'...
106cfe8 Added lock pools
fatal: ambiguous argument 'HEAD~1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
BusyBox v1.26.2 (2017-05-03 17:12:34 UTC) multi-call binary.

Usage: basename FILE [SUFFIX]

Strip directory path and .SUFFIX from FILE
@chendrix chendrix added this to the Help Wanted milestone May 17, 2017
@chendrix chendrix added the bug label May 20, 2017
@vito vito removed this from the Help Wanted milestone Nov 29, 2017
@maltevw
Copy link

maltevw commented Jul 7, 2020

Is there a fix to this? Just encountered the same problem and didnt find a solution so far.

@andrew-edgar
Copy link

This happens when we upgraded to 6.3. now all our pool locks are failing. I think this is also an issue with defaulting to depth: 1.

We need this fixed ASAP. how can we use an older version of the pool resource?

@andrew-edgar
Copy link

I can fix the "get" by setting depth: 5 but depth is not a param on the "put" and the child "get" of the put now fails because of this same error!

@markround
Copy link

@andrew-edgar

Same issue here. Upgrading to Concourse 6.3.0 breaks all my lock pools. It looks like the change was reverted recently and the fix is in the 1.1.3 release of the resource. As a workaround, until the fixed resource is included in an official Concourse release, you can specify the fixed version at the top of your pipeline:

resource_types:
- name: pool
  type: docker-image
  source:
    repository: concourse/pool-resource
    tag: "1.1.3"

This works fine for me on 6.3.0.

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

No branches or pull requests

6 participants