-
Notifications
You must be signed in to change notification settings - Fork 117
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
FR: Provide override flag for terminal check #132
Comments
It seems cargo chef cook --recipe-path recipe.json | tee /tmp/cook.txt |
This feels like an issue upstream - either in |
I think that assuming the presence of a TTY means it is always an interactive session is a mistake, the build shouldn't break because of it. |
It's true that it can break down in some edge cases, but I do wonder if this is intentional for |
In my case, I'm using (testing really) Hashicorp Waypoint, which starts up a build runner as a docker container within a Nomad cluster. That runner apparently uses kaniko to build the docker image, but I don't have direct control over the kaniko config, or a way to introspect it. I do see this random blog post intentionally enabling tty for kaniko+Jenkins, but I don't know why, perhaps related to the debug executor: https://support.cloudbees.com/hc/en-us/articles/360031223512-What-you-need-to-know-when-using-Kaniko-from-Kubernetes-Jenkins-Agents I don't think I will be continuing with this kaniko-on-a-cluster build system, as it doesn't actually benefit from any of the layer caching that chef gives me when building locally, so the builds are incredibly slow. It was an experiment. |
My cook stage in failing inside a Kaniko automated builder running inside a docker container, it seems to have fooled
atty::is(atty::Stream::Stdout)
It would be helpful to have a flag to force it to continue.
Output:
If you have a preferred name for the flag, I can make a PR.
The text was updated successfully, but these errors were encountered: