From 47aad33e73c5c0cee20c95e6238708d79259da41 Mon Sep 17 00:00:00 2001 From: david-leifker <114954101+david-leifker@users.noreply.github.com> Date: Sat, 26 Oct 2024 16:58:23 -0500 Subject: [PATCH] misc(gradle): project name parameter --- docker/build.gradle | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docker/build.gradle b/docker/build.gradle index 6d53d593186dd..25e3dc12036ef 100644 --- a/docker/build.gradle +++ b/docker/build.gradle @@ -9,6 +9,7 @@ apply from: "../gradle/versioning/versioning.gradle" ext { compose_base = "profiles/docker-compose.yml" + project_name = "datahub" backend_profile_modules = [ ':docker:elasticsearch-setup', @@ -71,7 +72,7 @@ dockerCompose { environment.put 'DATAHUB_TELEMETRY_ENABLED', 'false' // disabled when built locally useComposeFiles = [compose_base] - projectName = 'datahub' + projectName = project_name projectNamePrefix = '' buildBeforeUp = false buildBeforePull = false @@ -89,7 +90,7 @@ dockerCompose { environment.put 'DATAHUB_TELEMETRY_ENABLED', 'false' // disabled when built locally useComposeFiles = [compose_base] - projectName = 'datahub' + projectName = project_name projectNamePrefix = '' buildBeforeUp = false buildBeforePull = false @@ -116,7 +117,7 @@ dockerCompose { environment.put 'DATAHUB_LOCAL_COMMON_ENV', "${rootProject.project(':metadata-integration:java:spark-lineage-legacy').projectDir}/spark-smoke-test/smoke-gms.env" useComposeFiles = [compose_base] - projectName = 'datahub' + projectName = project_name projectNamePrefix = '' buildBeforeUp = false buildBeforePull = false @@ -136,7 +137,7 @@ dockerCompose { environment.put 'DATAHUB_TELEMETRY_ENABLED', 'false' // disabled when built locally useComposeFiles = [compose_base] - projectName = 'datahub' + projectName = project_name projectNamePrefix = '' buildBeforeUp = false buildBeforePull = false @@ -149,7 +150,7 @@ dockerCompose { composeAdditionalArgs = ['--profile', 'quickstart-storage'] useComposeFiles = [compose_base] - projectName = 'datahub' + projectName = project_name projectNamePrefix = '' buildBeforeUp = false buildBeforePull = false