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

Bash process substitution fails in Windows AMI #631

Closed
jeremiahsnapp opened this issue Sep 12, 2019 · 1 comment · Fixed by #632
Closed

Bash process substitution fails in Windows AMI #631

jeremiahsnapp opened this issue Sep 12, 2019 · 1 comment · Fixed by #632

Comments

@jeremiahsnapp
Copy link
Contributor

The new windows AMI was built with a recently released git for windows v2.23.0 which has a bug preventing bash process substitution from working.

git-for-windows/git#2291

This causes the docker-login plugin to fail when it runs <(env) here.

https://github.com/buildkite-plugins/docker-login-buildkite-plugin/blob/bed42369829918e369d370cb287a7f91063a4a8e/hooks/pre-command#L10

git for windows has fixed the issue here.

git-for-windows/build-extra#255

But the fix hasn't been released yet. Even once it does get released it might be awhile before it's available in chocolatey.org so the packer template can install it.

One workaround we can do is pin the version in packer by running something like choco install git --version 2.22.0.

If that sounds reasonable then I'm happy to make the PR.

@lox
Copy link
Contributor

lox commented Sep 12, 2019

I think pinning the git version is super sensible.

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

Successfully merging a pull request may close this issue.

2 participants