Skip to content

Commit

Permalink
misc(gradle): project name parameter (datahub-project#11717)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored Oct 28, 2024
1 parent a6e1624 commit abe8884
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -149,7 +150,7 @@ dockerCompose {
composeAdditionalArgs = ['--profile', 'quickstart-storage']

useComposeFiles = [compose_base]
projectName = 'datahub'
projectName = project_name
projectNamePrefix = ''
buildBeforeUp = false
buildBeforePull = false
Expand Down

0 comments on commit abe8884

Please sign in to comment.