From a7b3700467752a9b0e77bf4ab9de74be9ed80735 Mon Sep 17 00:00:00 2001 From: Anthony Sena Date: Tue, 17 Sep 2024 16:57:41 -0400 Subject: [PATCH] Download and configure JDBC driver --- .github/workflows/publish_results_model.yaml | 4 ++++ extras/rdms/schemaspy-config.properties | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_results_model.yaml b/.github/workflows/publish_results_model.yaml index f738338e..2baa8adf 100644 --- a/.github/workflows/publish_results_model.yaml +++ b/.github/workflows/publish_results_model.yaml @@ -41,6 +41,10 @@ jobs: sudo apt-get install default-jdk -y sudo apt-get install postgresql-client -y + - name: Download PostgreSQL JDBC Driver + run: | + wget https://jdbc.postgresql.org/download/postgresql-42.2.24.jar -O $HOME/postgresql-jdbc.jar + - name: Execute SchemaSpy run: | java -jar extras/rdms/schemaspy-6.2.4.jar -vizjs -configFile extras/rdms/schemaspy-config.properties -meta extras/rdms/schema_meta.xml -debug diff --git a/extras/rdms/schemaspy-config.properties b/extras/rdms/schemaspy-config.properties index cda29821..5a256a84 100644 --- a/extras/rdms/schemaspy-config.properties +++ b/extras/rdms/schemaspy-config.properties @@ -1,6 +1,6 @@ schemaspy.t=pgsql -schemaspy.dp=postgresql-42.6.0.jar +schemaspy.dp=$HOME/postgresql-jdbc.jar schemaspy.host=127.0.0.1 schemaspy.port=5432