Skip to content

Fix Cloudbuild $HOME override, update Earthfile to 0.7#2

Open
dchw wants to merge 12 commits intomainfrom
corey/update-cloudbuild
Open

Fix Cloudbuild $HOME override, update Earthfile to 0.7#2
dchw wants to merge 12 commits intomainfrom
corey/update-cloudbuild

Conversation

@dchw
Copy link
Contributor

@dchw dchw commented Jan 23, 2024

GCP sets $HOME to /builder/root. Our entrypoint assumes a home of /root, and uses that to set up links to the mTLS certs between earthly and buildkitd. With the change in $HOME, buildkitd would fail to start, resulting in an apparent timeout.

This implements a workaround in the example until we can fix the entrypoint.

@dchw dchw self-assigned this Jan 23, 2024
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 this pull request may close these issues.

2 participants