diff --git a/.github/workflows/py-tests-3_10.yml b/.github/workflows/py-tests-3_10.yml
index 8ba9d197fb5..22a630bd875 100644
--- a/.github/workflows/py-tests-3_10.yml
+++ b/.github/workflows/py-tests-3_10.yml
@@ -62,7 +62,7 @@ jobs:
- name: Start Server and Ingest Sample Data
env:
INGESTION_DEPENDENCY: "airflow-container,sample-data,elasticsearch"
- run: ./docker/run_local_docker.sh
+ run: ./docker/run_local_docker.sh no-ui
timeout-minutes: 30
- name: Run Python Tests & record coverage
diff --git a/.github/workflows/py-tests-3_7.yml b/.github/workflows/py-tests-3_7.yml
index b9441b90fae..6ad8d2f1d99 100644
--- a/.github/workflows/py-tests-3_7.yml
+++ b/.github/workflows/py-tests-3_7.yml
@@ -62,7 +62,7 @@ jobs:
- name: Start Server and Ingest Sample Data
env:
INGESTION_DEPENDENCY: "airflow-container,sample-data,elasticsearch"
- run: ./docker/run_local_docker.sh
+ run: ./docker/run_local_docker.sh no-ui
timeout-minutes: 30
- name: Run Python Tests
diff --git a/.github/workflows/py-tests-3_8.yml b/.github/workflows/py-tests-3_8.yml
index f28b8c732cc..a0728682626 100644
--- a/.github/workflows/py-tests-3_8.yml
+++ b/.github/workflows/py-tests-3_8.yml
@@ -62,7 +62,7 @@ jobs:
- name: Start Server and Ingest Sample Data
env:
INGESTION_DEPENDENCY: "airflow-container,sample-data,elasticsearch"
- run: ./docker/run_local_docker.sh
+ run: ./docker/run_local_docker.sh no-ui
timeout-minutes: 30
- name: Run Python Tests
diff --git a/.github/workflows/py-tests-3_9.yml b/.github/workflows/py-tests-3_9.yml
index 0a02c1d8416..cc20e8e3bcf 100644
--- a/.github/workflows/py-tests-3_9.yml
+++ b/.github/workflows/py-tests-3_9.yml
@@ -66,7 +66,7 @@ jobs:
- name: Start Server and Ingest Sample Data
env:
INGESTION_DEPENDENCY: "airflow-container,sample-data,elasticsearch"
- run: ./docker/run_local_docker.sh
+ run: ./docker/run_local_docker.sh no-ui
timeout-minutes: 30
- name: Run Python Tests & Record Coverage
diff --git a/docker/run_local_docker.sh b/docker/run_local_docker.sh
index 3d417c49750..d5b5f1c9132 100755
--- a/docker/run_local_docker.sh
+++ b/docker/run_local_docker.sh
@@ -11,9 +11,16 @@
# limitations under the License.
cd "$(dirname "${BASH_SOURCE[0]}")"
-echo "Maven Build - Skipping Tests"
-cd ../ && mvn -DskipTests clean package
-echo "Prepare Docker volume for the operators"
+
+if [[ $1 == "no-ui" ]]; then
+ echo "Maven Build - Skipping Tests and UI"
+ cd ../ && mvn -DskipTests -DonlyBackend clean package -pl !openmetadata-ui
+else
+ echo "Maven Build - Skipping Tests"
+ cd ../ && mvn -DskipTests clean package
+fi
+
+echo "Prepare Docker volume for the operators"@
cd docker/local-metadata
echo "Starting Local Docker Containers"
diff --git a/openmetadata-dist/pom.xml b/openmetadata-dist/pom.xml
index 81cfa0900aa..7de4209dd77 100644
--- a/openmetadata-dist/pom.xml
+++ b/openmetadata-dist/pom.xml
@@ -39,11 +39,6 @@
common
${project.version}
-
- org.open-metadata
- openmetadata-ui
- ${project.version}
-
@@ -95,6 +90,13 @@
+
+
+ org.open-metadata
+ openmetadata-ui
+ ${project.version}
+
+
rpm
@@ -170,6 +172,16 @@
+
+ only-backend
+
+
+ onlyBackend
+
+
+
+
+