Skip to content

Commit

Permalink
Merge branch 'finos:master' into m2m2r_milestoning_support
Browse files Browse the repository at this point in the history
  • Loading branch information
PrateekGarg-gs authored Sep 14, 2023
2 parents de461df + 2138938 commit 4d1c1ce
Show file tree
Hide file tree
Showing 1,410 changed files with 48,751 additions and 11,524 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
if: github.ref != 'refs/heads/master'
run: |
mvn -B -e -DXss4m -DXX:MaxRAMPercentage=90.0 -DskipTests=true install
mvn -B -e -DXss4m -DXX:MaxRAMPercentage=10.0 surefire:test -DargLine="-XX:MaxRAMPercentage=70.0"
mvn -B -e -DXss4m -DXX:MaxRAMPercentage=10.0 surefire:test -DargLine="-XX:MaxRAMPercentage=70.0" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate
- name: Build + Test + Maven Deploy + Sonar + Docker Snapshot
if: github.ref == 'refs/heads/master'
Expand All @@ -98,14 +98,14 @@ jobs:
# See https://github.com/finos/legend-engine/pull/924
run: |
mvn -B -e -DXss4m -DXX:MaxRAMPercentage=90.0 -DskipTests=true deploy -P docker-snapshot,sonar
mvn -B -e -DXss4m -DXX:MaxRAMPercentage=10.0 surefire:test -DargLine="-XX:MaxRAMPercentage=70.0"
mvn -B -e -DXss4m -DXX:MaxRAMPercentage=10.0 surefire:test -DargLine="-XX:MaxRAMPercentage=70.0" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-test-reports/surefire-reports-aggregate/*.xml
path: ${{ github.workspace }}/surefire-reports-aggregate/*.xml

- name: Upload CI Event
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database-athena-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Build
env:
MAVEN_OPTS: -Xmx4g
run: mvn clean install -DskipTests=true
run: mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-athena/legend-engine-xt-relationalStore-athena-execution-tests -am clean install -DskipTests=true
- name: Download Athena Driver Jar
run: |
wget --output-document=athenaDriver.jar http://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC-2.0.34.1000/AthenaJDBC42-2.0.34.1000.jar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Build
env:
MAVEN_OPTS: -Xmx4g
run: mvn clean install -DskipTests=true
run: mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-athena/legend-engine-xt-relationalStore-athena-execution-tests -am clean install -DskipTests=true
- name: Download Athena Driver Jar
run: |
wget --output-document=athenaDriver.jar https://downloads.athena.us-east-1.amazonaws.com/drivers/JDBC/SimbaAthenaJDBC-2.0.34.1000/AthenaJDBC42-2.0.34.1000.jar
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-athena/legend-engine-xt-relationalStore-athena-execution-tests/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database-bigquery-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Build
env:
MAVEN_OPTS: -Xmx4g
run: mvn clean install -DskipTests=true
run: mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-bigquery/legend-engine-xt-relationalStore-bigquery-execution-tests -am clean install -DskipTests=true
- name: Run Connection Protocol Integration Tests
env:
MAVEN_OPTS: -Xmx4g
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Build
env:
MAVEN_OPTS: -Xmx4g
run: mvn clean install -DskipTests=true
run: mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-bigquery/legend-engine-xt-relationalStore-bigquery-execution-tests -am clean install -DskipTests=true
- name: Run Sql Generation Tests
env:
MAVEN_OPTS: -Xmx4g
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-bigquery/legend-engine-xt-relationalStore-bigquery-execution-tests/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/database-databricks-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
- name: Build
env:
MAVEN_OPTS: -Xmx4g
run: mvn clean install -DskipTests=true
run: mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-databricks/legend-engine-xt-relationalStore-databricks-execution-tests -am clean install -DskipTests=true
- name: Run Connection Protocol Integration Tests
env:
MAVEN_OPTS: -Xmx4g
run: mvn -P run-databricks-integration -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests -Dtest="ExternalIntegration*Databricks*" test
run: mvn -P run-databricks-integration -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-databricks/legend-engine-xt-relationalStore-databricks-execution-tests -Dtest="ExternalIntegration*Databricks*" test
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ jobs:
env:
MAVEN_OPTS: -Xmx4g
run: |
mvn clean install -DskipTests=true
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-databricks/legend-engine-xt-relationalStore-databricks-execution-tests -am clean install -DskipTests=true
- name: Run Sql Generation Tests
env:
MAVEN_OPTS: -Xmx4g
run: |
set -o pipefail
echo "| Test Representing Db Feature | Support Status |" >> $GITHUB_STEP_SUMMARY
echo "| ---------------------------- | -------------- |" >> $GITHUB_STEP_SUMMARY
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-server -Dtest="Test_Relational_DbSpecific_Databricks_UsingPureClientTestSuite" test | tee >(grep -o "Tests run:[^T]*" | head -1 | tr -d '\n' >> sql_test_summary.txt) | tee >(echo "Ignored tests deviating from standard: $(grep -c deviating-from-standard)" >> sql_test_summary.txt) | tee >(grep -o "[|] [*][*].*" >> $GITHUB_STEP_SUMMARY)
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-databricks/legend-engine-xt-relationalStore-databricks-execution-tests -Dtest="Test_Relational_DbSpecific_Databricks_UsingPureClientTestSuite" test | tee >(grep -o "Tests run:[^T]*" | head -1 | tr -d '\n' >> sql_test_summary.txt) | tee >(echo "Ignored tests deviating from standard: $(grep -c deviating-from-standard)" >> sql_test_summary.txt) | tee >(grep -o "[|] [*][*].*" >> $GITHUB_STEP_SUMMARY)
- name: Write Summary
if: always()
run: |
Expand All @@ -91,7 +91,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-databricks/legend-engine-xt-relationalStore-databricks-execution-tests/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Build
env:
MAVEN_OPTS: -Xmx4g
run: mvn clean install -DskipTests=true
run: mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-server -am clean install -DskipTests=true
- name: SQL Generation Integration Tests
env:
MAVEN_OPTS: -Xmx4g
Expand All @@ -89,7 +89,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-server/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
env:
MAVEN_OPTS: -Xmx4g
run: |
mvn clean install -DskipTests=true
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-sqlserver/legend-engine-xt-relationalStore-sqlserver-execution-tests -am clean install -DskipTests=true
- name: Run Connection Protocol Integration Tests
env:
MAVEN_OPTS: -Xmx4g
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
env:
MAVEN_OPTS: -Xmx4g
run: |
mvn clean install -DskipTests=true
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-sqlserver/legend-engine-xt-relationalStore-sqlserver-execution-tests -am clean install -DskipTests=true
- name: Run Sql Generation Tests
env:
MAVEN_OPTS: -Xmx4g
Expand All @@ -90,7 +90,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-sqlserver/legend-engine-xt-relationalStore-sqlserver-execution-tests/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/database-postgresql-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@ jobs:
env:
MAVEN_OPTS: -Xmx4g
run: |
mvn clean install -DskipTests=true
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-postgres/legend-engine-xt-relationalStore-postgres-execution-tests -am clean install -DskipTests=true
- name : Run Connection Protocol Integration Tests
env:
MAVEN_OPTS: -Xmx4g
run :
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests -Dtest="ExternalIntegration*Postgres*" test
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-postgres/legend-engine-xt-relationalStore-postgres-execution-tests -Dtest="ExternalIntegration*Postgres*" test
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-postgres/legend-engine-xt-relationalStore-postgres-execution-tests/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ jobs:
env:
MAVEN_OPTS: -Xmx4g
run: |
mvn clean install -DskipTests=true
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-postgres/legend-engine-xt-relationalStore-postgres-execution-tests -am clean install -DskipTests=true
- name: Run Sql Generation Tests
env:
MAVEN_OPTS: -Xmx4g
run: |
set -o pipefail
echo "| Test Representing Db Feature | Support Status |" >> $GITHUB_STEP_SUMMARY
echo "| ---------------------------- | -------------- |" >> $GITHUB_STEP_SUMMARY
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-server -Dtest="Test_Relational_DbSpecific_Postgres_UsingPureClientTestSuite" test | tee >(grep -o "Tests run:[^T]*" | head -1 | tr -d '\n' >> sql_test_summary.txt) | tee >(echo "Ignored tests deviating from standard: $(grep -c deviating-from-standard)" >> sql_test_summary.txt) | tee >(grep -o "[|] [*][*].*" >> $GITHUB_STEP_SUMMARY)
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-postgres/legend-engine-xt-relationalStore-postgres-execution-tests -Dtest="Test_Relational_DbSpecific_Postgres_UsingPureClientTestSuite" test | tee >(grep -o "Tests run:[^T]*" | head -1 | tr -d '\n' >> sql_test_summary.txt) | tee >(echo "Ignored tests deviating from standard: $(grep -c deviating-from-standard)" >> sql_test_summary.txt) | tee >(grep -o "[|] [*][*].*" >> $GITHUB_STEP_SUMMARY)
- name: Write Summary
if: always()
run: |
Expand All @@ -90,7 +90,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-postgres/legend-engine-xt-relationalStore-postgres-execution-tests/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/database-redshift-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
- name: Build
env:
MAVEN_OPTS: -Xmx4g
run: mvn clean install -DskipTests=true
run: mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-redshift/legend-engine-xt-relationalStore-redshift-execution-tests -am clean install -DskipTests=true
- name: Connection Protocol Integration Tests
env:
MAVEN_OPTS: -Xmx4g
REDSHIFT_INTEGRATION_USER1_NAME: ${{ secrets.REDSHIFT_INTEGRATION_USER1_NAME }}
REDSHIFT_INTEGRATION_USER1_PASSWORD: ${{ secrets.REDSHIFT_INTEGRATION_USER1_PASSWORD }}
run: |
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests -Dtest="ExternalIntegration*Redshift*" test
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-redshift/legend-engine-xt-relationalStore-redshift-execution-tests -Dtest="ExternalIntegration*Redshift*" test
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Download deps and plugins
run: mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies
- name: Build
run: mvn clean install -DskipTests=true
run: mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-redshift/legend-engine-xt-relationalStore-redshift-execution-tests -am clean install -DskipTests=true
env:
MAVEN_OPTS: -Xmx4g
- name: SQL Generation Integration Tests
Expand All @@ -72,7 +72,7 @@ jobs:
set -o pipefail
echo "| Test Representing Db Feature | Support Status |" >> $GITHUB_STEP_SUMMARY
echo "| ---------------------------- | -------------- |" >> $GITHUB_STEP_SUMMARY
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-server -Dtest="Test_Relational_DbSpecific_Redshift_UsingPureClientTestSuite" test | tee >(grep -o "Tests run:[^T]*" | head -1 | tr -d '\n' >> sql_test_summary.txt) | tee >(echo "Ignored tests deviating from standard: $(grep -c deviating-from-standard)" >> sql_test_summary.txt) | tee >(grep -o "[|] [*][*].*" >> $GITHUB_STEP_SUMMARY)
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-redshift/legend-engine-xt-relationalStore-redshift-execution-tests -Dtest="Test_Relational_DbSpecific_Redshift_UsingPureClientTestSuite" test | tee >(grep -o "Tests run:[^T]*" | head -1 | tr -d '\n' >> sql_test_summary.txt) | tee >(echo "Ignored tests deviating from standard: $(grep -c deviating-from-standard)" >> sql_test_summary.txt) | tee >(grep -o "[|] [*][*].*" >> $GITHUB_STEP_SUMMARY)
- name: Write Summary
if: always()
run: |
Expand All @@ -90,7 +90,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-redshift/legend-engine-xt-relationalStore-redshift-execution-tests/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/database-singlestore-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
env:
MAVEN_OPTS: -Xmx4g
run: |
mvn clean install -DskipTests=true
mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution-tests -am clean install -DskipTests=true
- name : Run Connection Protocol Integration Tests
env:
MAVEN_OPTS: -Xmx4g
Expand All @@ -78,7 +78,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution-tests/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Build
env:
MAVEN_OPTS: -Xmx4g
run: mvn clean install -DskipTests=true
run: mvn -pl legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution-tests -am clean install -DskipTests=true
- name: SQL Generation Integration Tests
env:
MAVEN_OPTS: -Xmx4g
Expand All @@ -90,7 +90,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-test-reports/surefire-reports-aggregate/*.xml
path: legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution-tests/target/surefire-reports/*.xml
- name: Upload CI Event
if: always()
uses: actions/upload-artifact@v3
Expand Down
Loading

0 comments on commit 4d1c1ce

Please sign in to comment.