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

Kaniko build failing on Minikube #226

Closed
nicolaferraro opened this issue Nov 16, 2018 · 5 comments
Closed

Kaniko build failing on Minikube #226

nicolaferraro opened this issue Nov 16, 2018 · 5 comments
Labels
kind/bug Something isn't working

Comments

@nicolaferraro
Copy link
Member

time="2018-11-16T11:11:15Z" level=info msg="step failed with error: error while evaluating condition: build failed" logger=builder phase=40 request="context-jvm:652316" step=publisher

Same for the other contexts. Any idea @lburgazzoli ?

@nicolaferraro nicolaferraro added the kind/bug Something isn't working label Nov 16, 2018
@nicolaferraro
Copy link
Member Author

Going to debug..

@lburgazzoli
Copy link
Contributor

no idea.

btw, we need to add better logging ...

@nicolaferraro
Copy link
Member Author

I think the issue is that packaging should be done into the /workspace path for Kaniko, that needs to share the volume with the operator.

While currently the builder uses a path like --context=/tmp/builder-475625899/package/context

@lburgazzoli
Copy link
Contributor

make sense.

note: the temp directory builder-* is cleaned up at the end of the build cycle, any resource outside that path is not removed

@nicolaferraro
Copy link
Member Author

Ok, as long as the build cycle include the kaniko step it's ok

nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Nov 16, 2018
ipolyzos pushed a commit to ipolyzos/camel-k that referenced this issue Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants