Describe the bug
I am on gradle 8.14.3 and I am using jkube gradle plugin (v1.18.1) and have the following statement in my build.gradle:
kubernetes {
buildStrategy = 'docker'
...
images {... }
}
I am having an issue (in CICD/Github Actions only) when attempting to build the docker image (unrelated to the plugin), and since this only fails in CICD, I am trying to get a hand at the exact failure. This is what I see:
k8s: Error while trying to build the image: Unable to build image ....: "The command .... returned a non-zero code 1"
I cannot reproduce this locally, so I wanted to see the actual docker build output.
In the docs, there's a flag verbose mentioned, which I tried to use like so
kubernetes {
buildStrategy = 'docker'
verbose = true
...
images {... }
}
however, this field does not seem to be supported:
Could not set unknown property 'verbose' for extension 'kubernetes' of type org.eclipse.jkube.gradle.plugin.KubernetesExtension.
Can this please be added, or is there another way to see the actual logs from kubernetes build?
Thanks,
Eric
Eclipse JKube version
1.18.1
Component
Kubernetes Gradle Plugin
Apache Maven version
None
Gradle version
other (please specify in additional context)
Steps to reproduce
kubernetes {
verbose = true
...
}
Expected behavior
I want to see the build logs for each step / RUN statement in the dockerfile.
Runtime
other (please specify in additional context)
Kubernetes API Server version
other (please specify in additional context)
Environment
macOS
Eclipse JKube Logs
Could not set unknown property 'verbose' for extension 'kubernetes' of type org.eclipse.jkube.gradle.plugin.KubernetesExtension.
Sample Reproducer Project
No response
Additional context
Gradle 8.14.3
Gradle Plugin version 1.18.1
Describe the bug
I am on gradle 8.14.3 and I am using jkube gradle plugin (v1.18.1) and have the following statement in my
build.gradle:I am having an issue (in CICD/Github Actions only) when attempting to build the docker image (unrelated to the plugin), and since this only fails in CICD, I am trying to get a hand at the exact failure. This is what I see:
I cannot reproduce this locally, so I wanted to see the actual docker build output.
In the docs, there's a flag
verbosementioned, which I tried to use like sohowever, this field does not seem to be supported:
Can this please be added, or is there another way to see the actual logs from kubernetes build?
Thanks,
Eric
Eclipse JKube version
1.18.1
Component
Kubernetes Gradle Plugin
Apache Maven version
None
Gradle version
other (please specify in additional context)
Steps to reproduce
Expected behavior
I want to see the build logs for each step / RUN statement in the dockerfile.
Runtime
other (please specify in additional context)
Kubernetes API Server version
other (please specify in additional context)
Environment
macOS
Eclipse JKube Logs
Sample Reproducer Project
No response
Additional context
Gradle 8.14.3
Gradle Plugin version 1.18.1