-
Notifications
You must be signed in to change notification settings - Fork 10
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
git commands cannot be performed in pipeline #30
Comments
No. If you use keep on failure and enter with a shell, does |
Ah, there actually is. Thanks for the tip on
Seems like bitbucket does deem these repositories safe? |
Hmm, I know that error from git and this explains your original question as /app/.git is there it's just that Interestingly I don't have it in my testing with pipelines, so a couple of questions to make a more educated guess on how this could become a zero-configuration when running a git pipeline (and also reproducing on my end): Could you be so kind and provide the following details?
My understanding is, it should be generally safe to add the |
I'm not behind a linux machine at the moment. But to reproduce this should be enough: definitions:
caches:
pre-commit: ~/.cache/pre-commit
steps:
- step: &nobleo-pre-commit
name: Pre-commit
image: salcatroppa/pre-commit
caches: [pre-commit]
script: [pre-commit run --all-files --verbose]
pipelines:
default:
- step: *nobleo-pre-commit (perhaps you actually need the repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml |
|
same here.
Perhaps. This is likely a bug and I hacked it in, a build is running: https://github.com/ktomk/pipelines/actions/runs/11297024415 It comes with the price that only numeric UID / GID make sense as it is not consulting the daemon to obtain an owner or group mapping.
and the tar version must support those flags. on your system this should not be any issue.
Then I think adding One of the reasons why the error message in the first place. Consider switching to Docker Rootless if you are using Docker for development. The change is early, but perhaps you may want to give it a try. |
I have a pipeline which (indirectly) calls
git rev-parse --show-cdup
.This works in bitbucket, but using pipelines.phar I get:
Is there any effort being done here which removes the
.git
directory?The text was updated successfully, but these errors were encountered: