This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new e9072190b6 [#6475] improvement: Disable the ryuk (#6480)
e9072190b6 is described below
commit e9072190b60d24e86faf0ad597d41f56e74e60ae
Author: roryqi <[email protected]>
AuthorDate: Fri Feb 21 18:39:18 2025 +0800
[#6475] improvement: Disable the ryuk (#6480)
### What changes were proposed in this pull request?
Disable the ryuk
### Why are the changes needed?
Fix: #6475
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
CI passed.
---
build.gradle.kts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/build.gradle.kts b/build.gradle.kts
index b56f6f4d79..1c2a43bf2e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -182,6 +182,10 @@ allprojects {
param.environment("GRAVITINO_CI_KAFKA_DOCKER_IMAGE",
"apache/kafka:3.7.0")
param.environment("GRAVITINO_CI_LOCALSTACK_DOCKER_IMAGE",
"localstack/localstack:latest")
+ // Disable Ryuk for integration tests
+ // Ryuk need privileged mode, if we want to rootless or run
non-privileged mode, we need to disable it.
+ param.environment("TESTCONTAINERS_RYUK_DISABLED", "true")
+
val dockerRunning = project.rootProject.extra["dockerRunning"] as?
Boolean ?: false
val macDockerConnector = project.rootProject.extra["macDockerConnector"]
as? Boolean ?: false
if (OperatingSystem.current().isMacOsX() &&