Open ahoehma opened 1 month ago
Just and idea...
What about replace
--exclude-from=<(git ls-files -o --directory | awk '{print "/"$0}')
with something like this:
--exclude-from=$(temp_file=$(mktemp) && git ls-files -o --directory | awk '{print "/"$0}' >> "$temp_file" && echo "$temp_file")
the only problem is that this temp_file is not cleaned up automatically 👎
so you're saying that the process substituion
--exclude-from=<(git ls-files -o --directory | awk '{print "/"$0}')
is causing you issue in windows gitbash?
@ahoehma As i don't have a windows gitbash environment to test, could you test and see if the following fixes your issue ?
so you're saying that the process substituion
--exclude-from=<(git ls-files -o --directory | awk '{print "/"$0}')
is causing you issue in windows gitbash?
@ahoehma As i don't have a windows gitbash environment to test, could you test and see if the following fixes your issue ?
1380
How can I try that draft?
hmm, will need to clone the draft and build it locally from your machine...
As already described in https://github.com/firecow/gitlab-ci-local/issues/1026.
It seems that the rsync command which is executed by gcl is not 100% working under windows gitbash.
I can run "gcl --list":
But I can't run a build job "gcl --stage build":
It would may be better to redirect the result of git ls-files -o --directory | awk '{print "/"$0}' into a temp file and use this as input for rsync "--exclude-from"?
I'm running gcl 4.54.0 under windows gitbash.
$bash --version
GNU bash, version 5.2.37(1)-release (x86_64-pc-msys)