From a2d83778fffdf63022623c266d8b7251dfd28061 Mon Sep 17 00:00:00 2001 From: slinkydeveloper Date: Mon, 8 Aug 2022 12:27:38 +0200 Subject: [PATCH] Set the default runtime container to jfrog. Fix #59 --- build.gradle.kts | 5 ++++- .../src/main/kotlin/dev/restate/e2e/utils/RestateDeployer.kt | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 417cfa56..98e28270 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -48,7 +48,10 @@ subprojects { exceptionFormat = TestExceptionFormat.FULL } environment = - environment + mapOf("CONTAINER_LOGS_DIR" to "$buildDir/test-results/container-logs") + environment + + mapOf( + "CONTAINER_LOGS_DIR" to "$buildDir/test-results/container-logs", + "RESTATE_RUNTIME_CONTAINER" to "ghcr.io/restatedev/runtime:main") } tasks.withType().configureEach { diff --git a/test-utils/src/main/kotlin/dev/restate/e2e/utils/RestateDeployer.kt b/test-utils/src/main/kotlin/dev/restate/e2e/utils/RestateDeployer.kt index 0819b1b8..c76f3671 100644 --- a/test-utils/src/main/kotlin/dev/restate/e2e/utils/RestateDeployer.kt +++ b/test-utils/src/main/kotlin/dev/restate/e2e/utils/RestateDeployer.kt @@ -27,7 +27,8 @@ private constructor( companion object { private const val RESTATE_RUNTIME_CONTAINER_ENV = "RESTATE_RUNTIME_CONTAINER" - private const val DEFAULT_RUNTIME_CONTAINER = "ghcr.io/restatedev/runtime:main" + private const val DEFAULT_RUNTIME_CONTAINER = + "restatedev.jfrog.io/restatedev-docker-local/runtime" private const val RUNTIME_GRPC_ENDPOINT = 8090 private const val IMAGE_PULL_POLICY = "E2E_IMAGE_PULL_POLICY"