The Unified and Autonomous Development Platform
fix: refine Kubernetes workspace diagnostics
Robin Shena3b49fb24773
diff --git a/server-core/src/main/java/io/onedev/server/model/support/workspace/spec/WorkspaceSpec.java b/server-core/src/main/java/io/onedev/server/model/support/workspace/spec/WorkspaceSpec.javaindex 27b82fb409..56bcc6fd04 100644--- a/server-core/src/main/java/io/onedev/server/model/support/workspace/spec/WorkspaceSpec.java+++ b/server-core/src/main/java/io/onedev/server/model/support/workspace/spec/WorkspaceSpec.java@@ -165,7 +165,7 @@ public class WorkspaceSpec implements Serializable, Validatable {}@Editable(order = 60, name = "container:image", description = """- Specify container image to create workspace inside. This image must have \+ Specify container image to create workspace inside. The image must have \shell, Git, and tmux installed""")@Interpolative(variableSuggester="suggestVariables")@DependsOn(property = "provisionMode", value = "DOCKER")@@ -179,7 +179,7 @@ public class WorkspaceSpec implements Serializable, Validatable {}@Editable(order = 70, description = """- Specify sandbox template image to create workspace from. This image must \+ Specify sandbox template image to create workspace from. The image must \have shell, Git, Python 3, and tmux installed""")@Interpolative(variableSuggester="suggestVariables")@DependsOn(property = "provisionMode", value = "SANDBOX")diff --git a/server-ee b/server-eeindex b3820780b2..805682666d 160000--- a/server-ee+++ b/server-ee@@ -1 +1 @@-Subproject commit b3820780b2fdc8a686f819b320d5749d17026b0c+Subproject commit 805682666dc343cb2ae0612ccf306380b3a59a0ediff --git a/server-plugin/server-plugin-executor-kubernetes/src/main/java/io/onedev/server/plugin/executor/kubernetes/KubernetesExecutor.java b/server-plugin/server-plugin-executor-kubernetes/src/main/java/io/onedev/server/plugin/executor/kubernetes/KubernetesExecutor.javaindex ccb738f08d..f623c65565 100644--- a/server-plugin/server-plugin-executor-kubernetes/src/main/java/io/onedev/server/plugin/executor/kubernetes/KubernetesExecutor.java+++ b/server-plugin/server-plugin-executor-kubernetes/src/main/java/io/onedev/server/plugin/executor/kubernetes/KubernetesExecutor.java@@ -1105,7 +1105,7 @@ public class KubernetesExecutor extends JobExecutor implements KubernetesAware,private String dockerImage;- @Editable+ @Editable(description = "Specify a Docker image to test against. The image must have shell installed")@OmitName@NotEmptypublic String getDockerImage() {diff --git a/server-plugin/server-plugin-executor-serversandbox/src/main/java/io/onedev/server/plugin/executor/serversandbox/ServerSandboxExecutor.java b/server-plugin/server-plugin-executor-serversandbox/src/main/java/io/onedev/server/plugin/executor/serversandbox/ServerSandboxExecutor.javaindex a97411ce59..163bdbeac0 100644--- a/server-plugin/server-plugin-executor-serversandbox/src/main/java/io/onedev/server/plugin/executor/serversandbox/ServerSandboxExecutor.java+++ b/server-plugin/server-plugin-executor-serversandbox/src/main/java/io/onedev/server/plugin/executor/serversandbox/ServerSandboxExecutor.java@@ -297,7 +297,7 @@ public class ServerSandboxExecutor extends JobExecutor implements SandboxAware,private String image;@Editable(order=100, description="""- Specify a Docker sandbox shell template image to test against. This image must \+ Specify a Docker sandbox shell template image to test against. The image must \have shell, Git, and Python3 installed. To also test container, Docker must be \configured in the image, and a non-root default user must have passwordless \sudo access""")