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

Broken build in container environment #114

Open
kukicola opened this issue Nov 4, 2019 · 1 comment
Open

Broken build in container environment #114

kukicola opened this issue Nov 4, 2019 · 1 comment

Comments

@kukicola
Copy link

kukicola commented Nov 4, 2019

Hello!

So it looks like this commit: 147c12b broke my builds. I can see bash: cache: command not found.
I'm not the expert in this stuff but 147c12b#diff-3ce1bafe737468bc6fc4d4f06a4b7e1fR34 doesn't whoami return root in docker? I think this if statement should be in different order.

@naliwajek
Copy link

naliwajek commented Nov 4, 2019

We've been using cache command for a while now.

All branches fail since that merge.

After sshing to the instance, I can see that our SEMAPHORE_AGENT_MACHINE_ENVIRONMENT_TYPE env var says VM and not container so perhaps that's the issue though not sure who's responsible for setting this one up.

Edit: on second thought, maybe sshing connects you to the host, not the container?

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

No branches or pull requests

2 participants