File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,16 @@ dependencies {
41
41
testImplementation " org.testcontainers:postgresql:1.15.1"
42
42
}
43
43
44
+ // we want to be able to access the generated db files from config/init when we build the server docker image.
45
+ task copySeed (type : Copy , dependsOn : [project(' :airbyte-config:init' ). processResources]) {
46
+ from " ${ project(':airbyte-config:init').buildDir} /resources/main/config"
47
+ into " ${ buildDir} /config_init/resources/main/config"
48
+ }
49
+
50
+ // need to make sure that the files are in the resource directory before copying.
51
+ // project.tasks.copySeed.mustRunAfter(project(':airbyte-config:init').tasks.processResources)
52
+ assemble. dependsOn(project. tasks. copySeed)
53
+
44
54
application {
45
55
mainClass = ' io.airbyte.server.ServerApp'
46
56
}
60
70
environment " AIRBYTE_VERSION" , env. VERSION
61
71
environment " AIRBYTE_ROLE" , System . getenv(' AIRBYTE_ROLE' )
62
72
environment " TEMPORAL_HOST" , " localhost:7233"
63
-
64
73
}
You can’t perform that action at this time.
0 commit comments