Skip to content

Commit

Permalink
[#6475] improvement: Disable the ryuk (#6480)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
jerqi authored Feb 21, 2025
1 parent 4ffe56c commit e907219
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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() &&
Expand Down

0 comments on commit e907219

Please sign in to comment.