-
Notifications
You must be signed in to change notification settings - Fork 136
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
rsync error with artifacts - Windows Gitbash #1026
Comments
What gitbash version are you using? It's defininently a problem with those windows paths being passed to the "rsync" container. |
I am using the Git for Windows SDK $ bash --version
GNU bash, version 5.2.15(1)-release (x86_64-pc-msys) git-bash.exe shows $ rsync --version
rsync version 3.2.7 protocol version 31
Copyright (C) 1996-2022 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/ |
Can you try without |
You have set is as an environment variable, you say? Please provide a |
Results of
|
Running gitlab-ci-local without
|
The artifact is created in the expected .gitlab-ci-local directory when it runs and before the error is thrown. gitlab-ci-local doesn't have any errors when using caching
Hopefully that's useful information. |
i also have this error |
We need to get |
Still having this issue today. No combination of {Windows CMD, PowerShell, Git Bash} and { Git Bash returns:
Both Windows consoles return:
Unfortunately, it does not create a directory |
Add |
Very confusing, but it works. Thank you! It reports an rsync error |
Doesn't matter what I do I got always this rsync error. I installed gcl with "npm install -g gitlab-ci-local". MSYS_NO_PATHCONV=1 gitlab-ci-local build-develop parsing and downloads finished in 3.63 s. $gcl --version $uname $rsync --version $docker --version I can run the sub-command with success: git ls-files -o --directory | awk '{print "/"$0}' $git ls-files -o --directory | awk '{print "/"$0}' Maybe this --exclude-from=<(git ls-files -o --directory | awk '{print "/"$0}') is not correct for windows / gitbash? $echo <(git ls-files -o --directory | awk '{print "/"$0}') |
I'm running into the exact same problem, can't we just turn off rsync?
Edit: Seems like I found a workaround, didn't get any error with --no-artifacts-to-source |
Minimal .gitlab-ci.yml illustrating the issue
Expected behavior
Host information
--variable MSYS_NO_PATHCONV=1
argument and I have it set as an environment variable.Containerd binary
Additional context
.gitlab-ci-local\artifacts\hello\tempfile
image:
there is no error.The text was updated successfully, but these errors were encountered: