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

Bitbucket project name cannot have a space #290

Closed
rmakram-ims opened this issue Sep 27, 2018 · 4 comments
Closed

Bitbucket project name cannot have a space #290

rmakram-ims opened this issue Sep 27, 2018 · 4 comments

Comments

@rmakram-ims
Copy link

atlantis v 0.4.9
using Bitbucket privately hosted and a lot of my projects have spaces in their names eg "Cloud Infrastructure" etc.
Once my Pull Request is created, I get the following error:
exit status 1: running "sh -c terraform plan -refresh -no-color -out /home/USERNAME/.atlantis/repos/Cloud Infrastructure/atlantis-test/4/default/default.tfplan -var atlantis_user=USERNAME" in "/home/USERNAME/.atlantis/repos/Cloud Infrastructure/atlantis-test/4/default"
Too many command line arguments. Configuration path expected.

It seems that the issue is coming from the "-out" arg value, it could be simply decorated with quotes.
Any chances this could be fixed?
Thanks

lkysow added a commit that referenced this issue Sep 27, 2018
Fixes #290. In Bitbucket Server, the repo owner name can have spaces.
This causes errors when running terraform plan -out path with spaces so
we need to quote it: terraform plan -out "path with spaces".
@lkysow
Copy link
Member

lkysow commented Sep 27, 2018

Hi I think I've fixed this. Can you try the latest version and let me know if it works for you?

@lkysow
Copy link
Member

lkysow commented Sep 27, 2018

Oh, by latest version I mean the one in master. Are you using the Docker image? Then you can just use runatlantis/atlantis:latest. Otherwise if you're using a binary let me know for which architecture:

  • osx
  • linux 386
  • linux amd64
  • arm
    and I'll upload one here for you.

@rmakram-ims
Copy link
Author

Thanks, that was quick!
I'm running on linux amd64, was thinking of building it on my machine

@lkysow
Copy link
Member

lkysow commented Sep 27, 2018

Here's a .zip with the binary: atlantis_linux_amd64.zip

jamengual pushed a commit that referenced this issue Nov 24, 2022
jamengual pushed a commit that referenced this issue Nov 24, 2022
…nate fetching checkruns for every status update (#290)" (#295)

This reverts commit 426597b.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants