From 29d2d0a337ba9ae23bb451f004f16c80c126cebe Mon Sep 17 00:00:00 2001 From: Chris Enoch Date: Thu, 21 Sep 2023 15:24:02 +0000 Subject: [PATCH] Changed liquibase updates to only run for one project --- .github/workflows/crawler-workflow.yml | 2 +- .github/workflows/patchfinder-workflow.yml | 2 +- .github/workflows/pne-workflow.yml | 2 +- pom.xml | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/crawler-workflow.yml b/.github/workflows/crawler-workflow.yml index 5f1e8bf44..db9f70b0a 100644 --- a/.github/workflows/crawler-workflow.yml +++ b/.github/workflows/crawler-workflow.yml @@ -62,7 +62,7 @@ jobs: - name: Run Liquibase Update run: | - mvn liquibase:update + mvn liquibase:update --projects=crawler - name: Test Crawler run: | diff --git a/.github/workflows/patchfinder-workflow.yml b/.github/workflows/patchfinder-workflow.yml index 78da6ee87..5d05ddd4e 100644 --- a/.github/workflows/patchfinder-workflow.yml +++ b/.github/workflows/patchfinder-workflow.yml @@ -62,7 +62,7 @@ jobs: LIQUIBASE_COMMAND_PASSWORD: ${{ env.HIKARI_PASSWORD }} run: | mysql -e 'CREATE DATABASE nvip;' -u${{ env.HIKARI_USER }} -p${{ env.HIKARI_PASSWORD }} - mvn liquibase:update --no-transfer-progress + mvn liquibase:update --no-transfer-progress --projects=patchfinder - name: Test and Build PatchFinder with Maven run: | diff --git a/.github/workflows/pne-workflow.yml b/.github/workflows/pne-workflow.yml index b5b7fa4a1..1027abf35 100644 --- a/.github/workflows/pne-workflow.yml +++ b/.github/workflows/pne-workflow.yml @@ -74,7 +74,7 @@ jobs: LIQUIBASE_COMMAND_PASSWORD: ${{ env.HIKARI_PASSWORD }} run: | mysql -e 'CREATE DATABASE nvip;' -u${{ env.HIKARI_USER }} -p${{ env.HIKARI_PASSWORD }} - mvn liquibase:update --no-transfer-progress + mvn liquibase:update --no-transfer-progress --projects=productnameextractor - name: Test and Build Product Extractor with Maven run: | diff --git a/pom.xml b/pom.xml index 8bfb6a82f..801617770 100644 --- a/pom.xml +++ b/pom.xml @@ -63,6 +63,7 @@ /nvip_data/mysql-database/newDB/liquibase.properties false + ${project.basedir}/..