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

"fly execute --exclude-ignored" broken for mercurial resource #1244

Closed
marco-m opened this issue Jun 3, 2017 · 1 comment
Closed

"fly execute --exclude-ignored" broken for mercurial resource #1244

marco-m opened this issue Jun 3, 2017 · 1 comment

Comments

@marco-m
Copy link
Contributor

marco-m commented Jun 3, 2017

With a pipeline using the mercurial resource

resources:
- name: concourse-native
  type: hg
  source:
    uri: https://bitbucket.com/me/myrepo
    branch: default

The checked out repo will have a directory named .hg (the equivalent of .git).

When doing a one-off build with fly execute, it will upload the whole repo history, inside the .hg directory.

If I try to avoid uploading the .hg directory with --exclude-ignored, fly prints an error message and stays stuck uploading (have to hit Ctrl-C):

 concourse-native> fly -t tutorial execute --exclude-ignored --config ci/build-task.yml
 executing build 34
 could not determine ignored files: exit status 128
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed
   0     0    0     0    0     0      0      0 --:--:--  0:00:24 --:--:--     0^C

I just double-tested the exact setup but with a git repository and the .git directory is not uploaded and the upload succeeds.

  • Concourse version: 3.1.1
  • Infrastructure/IaaS: Vagrant
  • Did this used to work? First time I tried
@chendrix
Copy link
Contributor

chendrix commented Jun 5, 2017

Moving to the mercurial resource

@chendrix chendrix closed this as completed Jun 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants