Skip to content

Commit

Permalink
Changed liquibase updates to only run for one project
Browse files Browse the repository at this point in the history
  • Loading branch information
ctevse committed Sep 21, 2023
1 parent fc559f0 commit 29d2d0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/crawler-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Run Liquibase Update
run: |
mvn liquibase:update
mvn liquibase:update --projects=crawler
- name: Test Crawler
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/patchfinder-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pne-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
<propertyFile>/nvip_data/mysql-database/newDB/liquibase.properties</propertyFile>
<!-- turn off prompt for non-local db since this does run in headless environments -->
<promptOnNonLocalDatabase>false</promptOnNonLocalDatabase>
<searchPath>${project.basedir}/..</searchPath>
</configuration>
<dependencies>
<dependency>
Expand Down

0 comments on commit 29d2d0a

Please sign in to comment.