You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Set the artifact’s context field to the root project location."
It still would be nice if the context could be detected automatically by going up in the folder tree until "gradle.settings" or Gradle wrapper script is found.
Expected behavior
Skaffold will always use Gradle wrapper if present for Gradle + Jib build
Actual behavior
Gradle wrapper detected only in some scenarios.
File structure:
+-------------------+
| Project Root |
+-------------------+
| |
| +-- skaffold.yaml
| +-- gradlew
| |
| +-- service1
| | +-- skaffold.yaml
| |
| +-- service2
| | +-- skaffold.yaml
+-------------------+
Unsupported scenarios:
Executing
skaffold run
in the project's root folder results in the sameexec: "gradle": executable file not found in $PATH
error.This issue makes it very awkward to use Skaffold with a multimodule Grale project.
Information
Skaffold version: 2.12.0
Operating system: Ubuntu 22.04.4
Installed via: curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 && \ sudo install skaffold /usr/local/bin/
Logs
Skaffold executed from project's root without submodules
Skaffold executed from a module/subfolder
The text was updated successfully, but these errors were encountered: