Skip to content

Commit

Permalink
set docker platform, add module import
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Keller committed Oct 16, 2024
1 parent bfcc54f commit 0240c09
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ configure(javaProjects) {
exceptionFormat = "full"
events "PASSED", "FAILED", "SKIPPED"
}
jvmArgs('--add-opens=java.base/java.lang.invoke=ALL-UNNAMED')
}

javadoc {
Expand Down
12 changes: 10 additions & 2 deletions metacat-functional-tests/metacat-test-cluster/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
#
#

version: "2"

services:
metacat:
image: tomcat:8.0-jre8
platform: linux/x86_64
depends_on:
- hive-metastore
- hive-metastore-db
Expand Down Expand Up @@ -85,6 +84,7 @@ services:
##TODO: We need to add them back with light images
hive-metastore-db:
image: mysql:5.7
platform: linux/x86_64
volumes:
- ./datastores/mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro
environment:
Expand All @@ -98,6 +98,7 @@ services:
- "com.netflix.metacat.oss.test"
postgresql:
image: postgres:9.6
platform: linux/x86_64
volumes:
- ./datastores/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro
environment:
Expand All @@ -108,6 +109,7 @@ services:
- "com.netflix.metacat.oss.test"
hive-metastore:
image: danielbwatson/metacat-test-hive-metastore:1.0.0
platform: linux/x86_64
depends_on:
- hive-metastore-db
ports:
Expand All @@ -120,6 +122,7 @@ services:
- "com.netflix.metacat.oss.test.hive"
polaris-crdb:
image: cockroachdb/cockroach:v21.1.11
platform: linux/x86_64
ports:
- '26257:26257'
- '8081:8080'
Expand All @@ -129,6 +132,7 @@ services:
- "com.netflix.metacat.oss.polaris.crdb"
polaris-crdb-barrier:
image: martin/wait:latest
platform: linux/x86_64
depends_on:
- polaris-crdb
environment:
Expand All @@ -138,6 +142,7 @@ services:
- "com.netflix.metacat.oss.polaris.crdb-barrier"
polaris-crdb-init:
image: cockroachdb/cockroach:v21.1.11
platform: linux/x86_64
depends_on:
- polaris-crdb-barrier
volumes:
Expand All @@ -148,6 +153,7 @@ services:
- "com.netflix.metacat.oss.polaris.crdb-init"
storage-barrier:
image: martin/wait:latest
platform: linux/x86_64
depends_on:
- hive-metastore-db
- postgresql
Expand All @@ -158,6 +164,7 @@ services:
- "com.netflix.metacat.oss.test"
service-barrier:
image: martin/wait:latest
platform: linux/x86_64
depends_on:
- hive-metastore
environment:
Expand All @@ -166,6 +173,7 @@ services:
- "com.netflix.metacat.oss.test"
metacat-barrier:
image: martin/wait:latest
platform: linux/x86_64
depends_on:
- metacat
environment:
Expand Down

0 comments on commit 0240c09

Please sign in to comment.