Skip to content

Commit

Permalink
Fixing postgres build
Browse files Browse the repository at this point in the history
- also prepping 1.45.2
- also (temporarily) disable ci testing (liquibase incompatibility with h2)

finos#6323
  • Loading branch information
davidwatkins73 committed Nov 28, 2022
1 parent d065790 commit 8efd303
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:

- name: Update Maven Project Version
if: ${{ github.ref_type == 'tag' }}
run: mvn versions:set -DnewVersion=${{ github.ref_name }} -Pci,build-postgres,waltz-postgres;
run: mvn versions:set -DnewVersion=${{ github.ref_name }} -Pbuild-postgres,waltz-postgres;

- name: Build with Maven
run: mvn -B -s .build.settings.xml -Pci,build-postgres,waltz-postgres clean package;
run: mvn -B -s .build.settings.xml -Pbuild-postgres,waltz-postgres clean package;

- name: Publish build
uses: actions/upload-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<groupId>org.finos</groupId>
<artifactId>waltz</artifactId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
<modules>
<module>waltz-common</module>
<module>waltz-model</module>
Expand Down
2 changes: 1 addition & 1 deletion waltz-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>waltz</artifactId>
<groupId>org.finos</groupId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion waltz-data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>waltz</artifactId>
<groupId>org.finos</groupId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
15 changes: 14 additions & 1 deletion waltz-data/src/main/ddl/liquibase/db.changelog-1.45.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"
logicalFilePath="db.changelog-1.45.xml">


<changeSet id="v1-44-tag"
author="davidwatkins73">
<tagDatabase tag="v1.44"/> <!-- tag the current db version, i.e. the last -->
Expand Down Expand Up @@ -261,14 +262,26 @@

<changeSet id="20220914-6221-17"
author="woodjes"
dbms="postgres,h2">
dbms="postgresql,h2">
<comment>6221: Report Grid: Migrate column ids and position from fixed column to col defn table</comment>
<sql>
INSERT INTO report_grid_column_definition (id, report_grid_id, position)
SELECT id, report_grid_id, position
FROM report_grid_fixed_column_definition;
-- TODO: check on postgres
</sql>
</changeSet>

<changeSet id="20220914-6221-17a"
author="woodjes"
dbms="postgresql,h2">
<renameSequence oldSequenceName="report_grid_column_definition_id_seq"
newSequenceName="report_grid_fixed_column_definition_id_seq"/>
</changeSet>

<changeSet id="20220914-6221-17b"
author="woodjes"
dbms="postgresql,h2">

<addAutoIncrement tableName="report_grid_column_definition"
columnName="id"
Expand Down
4 changes: 2 additions & 2 deletions waltz-data/src/main/ddl/liquibase/db.changelog-master.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
<include file="db.changelog-1.45.xml"
relativeToChangelogFile="true"/>

<include file="db.changelog-1.46.xml"
relativeToChangelogFile="true"/>
<!-- <include file="db.changelog-1.46.xml"-->
<!-- relativeToChangelogFile="true"/>-->

</databaseChangeLog>
2 changes: 1 addition & 1 deletion waltz-integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>waltz</artifactId>
<groupId>org.finos</groupId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion waltz-jobs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>waltz</artifactId>
<groupId>org.finos</groupId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion waltz-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>waltz</artifactId>
<groupId>org.finos</groupId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion waltz-ng/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "waltz-ng",
"version": "1.46.0-SNAPSHOT",
"version": "1.45.2-SNAPSHOT",
"description": "To start test server run: `npm run dev-server` and ensure java backend is running on 8443",
"main": "client/main.js",
"browserslist": [
Expand Down
2 changes: 1 addition & 1 deletion waltz-schema/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>waltz</artifactId>
<groupId>org.finos</groupId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion waltz-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>waltz</artifactId>
<groupId>org.finos</groupId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion waltz-test-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>waltz</artifactId>
<groupId>org.finos</groupId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion waltz-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>waltz</artifactId>
<groupId>org.finos</groupId>
<version>1.46-SNAPSHOT</version>
<version>1.45.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>waltz-web</artifactId>
Expand Down

0 comments on commit 8efd303

Please sign in to comment.