diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 83cf1ffa..d98e50f8 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -11,7 +11,7 @@ on: jobs: sonar: - uses: liquibase/build-logic/.github/workflows/sonar-push.yml@v0.7.0 + uses: liquibase/build-logic/.github/workflows/sonar-push.yml@v0.7.3 secrets: inherit with: extraCommand: ${{ inputs.extraCommand }} diff --git a/.github/workflows/extension-attach-artifact-release.yml b/.github/workflows/extension-attach-artifact-release.yml index 8f32e067..e76b43a5 100644 --- a/.github/workflows/extension-attach-artifact-release.yml +++ b/.github/workflows/extension-attach-artifact-release.yml @@ -84,9 +84,9 @@ jobs: - name: Get Reusable Script Files run: | - curl -o $PWD/.github/get_draft_release.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.7.0/.github/get_draft_release.sh - curl -o $PWD/.github/sign_artifact.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.7.0/.github/sign_artifact.sh - curl -o $PWD/.github/upload_asset.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.7.0/.github/upload_asset.sh + curl -o $PWD/.github/get_draft_release.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.7.3/.github/get_draft_release.sh + curl -o $PWD/.github/sign_artifact.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.7.3/.github/sign_artifact.sh + curl -o $PWD/.github/upload_asset.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.7.3/.github/upload_asset.sh chmod +x $PWD/.github/get_draft_release.sh chmod +x $PWD/.github/sign_artifact.sh chmod +x $PWD/.github/upload_asset.sh @@ -175,7 +175,7 @@ jobs: - name: Get upload_zip.sh Script File if: inputs.zip == 'true' run: | - curl -o $PWD/.github/upload_zip.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.7.0/.github/upload_zip.sh + curl -o $PWD/.github/upload_zip.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.7.3/.github/upload_zip.sh chmod +x $PWD/.github/upload_zip.sh - name: Attach Zip File to Draft Release diff --git a/.github/workflows/extension-release-prepare.yml b/.github/workflows/extension-release-prepare.yml index fff6cdef..8a3141d6 100644 --- a/.github/workflows/extension-release-prepare.yml +++ b/.github/workflows/extension-release-prepare.yml @@ -107,7 +107,7 @@ jobs: release-rollback: needs: prepare-release if: ${{ always() && contains(needs.*.result, 'failure') }} - uses: liquibase/build-logic/.github/workflows/extension-release-rollback.yml@v0.7.0 + uses: liquibase/build-logic/.github/workflows/extension-release-rollback.yml@v0.7.3 secrets: inherit with: extraCommand: ${{ inputs.extraCommand }} diff --git a/.github/workflows/extension-release-published.yml b/.github/workflows/extension-release-published.yml index 5c451439..c8fad339 100644 --- a/.github/workflows/extension-release-published.yml +++ b/.github/workflows/extension-release-published.yml @@ -23,7 +23,7 @@ on: jobs: maven-release: - uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.7.0 + uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.7.3 secrets: inherit with: extraCommand: ${{ inputs.extraCommand }} diff --git a/.github/workflows/fossa_ai.yml b/.github/workflows/fossa_ai.yml index ac45c777..82733c47 100644 --- a/.github/workflows/fossa_ai.yml +++ b/.github/workflows/fossa_ai.yml @@ -35,7 +35,7 @@ jobs: - name: Get Fossa Configuration if: ${{ inputs.check_ai_generated_code }} run: | - curl -o $PWD/.github/.fossa.yml https://raw.githubusercontent.com/liquibase/build-logic/v0.7.1/.github/.fossa.yml + curl -o $PWD/.github/.fossa.yml https://raw.githubusercontent.com/liquibase/build-logic/v0.7.3/.github/.fossa.yml - name: Install FOSSA CLI run: | diff --git a/.github/workflows/os-extension-test.yml b/.github/workflows/os-extension-test.yml index 114f043c..5bb30d47 100644 --- a/.github/workflows/os-extension-test.yml +++ b/.github/workflows/os-extension-test.yml @@ -253,7 +253,7 @@ jobs: sonar-pr: if: ${{ !inputs.nightly }} needs: [unit-test] - uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.7.0 + uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.7.3 secrets: inherit with: extraCommand: ${{ inputs.extraCommand }} diff --git a/.github/workflows/pom-release-published.yml b/.github/workflows/pom-release-published.yml index cd1380b2..391c8c10 100644 --- a/.github/workflows/pom-release-published.yml +++ b/.github/workflows/pom-release-published.yml @@ -68,5 +68,5 @@ jobs: maven-release: needs: release - uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.7.0 + uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.7.3 secrets: inherit \ No newline at end of file diff --git a/.github/workflows/pro-extension-test.yml b/.github/workflows/pro-extension-test.yml index 56ea929f..2159a7c6 100644 --- a/.github/workflows/pro-extension-test.yml +++ b/.github/workflows/pro-extension-test.yml @@ -293,7 +293,7 @@ jobs: sonar-pr: if: ${{ !inputs.nightly }} needs: [unit-test] - uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.7.0 + uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.7.3 secrets: inherit with: extraCommand: ${{ inputs.extraCommand }} diff --git a/.github/workflows/sonar-test-scan.yml b/.github/workflows/sonar-test-scan.yml index f3f5bf6c..b2fe9b29 100644 --- a/.github/workflows/sonar-test-scan.yml +++ b/.github/workflows/sonar-test-scan.yml @@ -189,6 +189,20 @@ jobs: name: liquibase-integration-jacoco-test-results-firebird path: ${{ inputs.sonarRootPath }}/integration-tests/firebird + - name: Download snowflake integration tests report + if: contains(inputs.dbPlatforms, 'snowflake') + uses: actions/download-artifact@v3 + with: + name: liquibase-integration-jacoco-test-results-snowflake + path: ${{ inputs.sonarRootPath }}/integration-tests/snowflake + + - name: Download db2 integration tests report + if: contains(inputs.dbPlatforms, 'db2') + uses: actions/download-artifact@v3 + with: + name: liquibase-integration-jacoco-test-results-db2 + path: ${{ inputs.sonarRootPath }}/integration-tests/db2 + - name: Cache SonarCloud packages if: always() uses: actions/cache@v4 @@ -239,6 +253,12 @@ jobs: if [ -d "integration-tests/firebird" ]; then mv integration-tests/firebird/jacoco.exec target/jacoco-firebird-aggregate.exec fi + if [ -d "integration-tests/snowflake" ]; then + mv integration-tests/snowflake/jacoco.exec target/jacoco-snowflake-aggregate.exec + fi + if [ -d "integration-tests/db2" ]; then + mv integration-tests/db2/jacoco.exec target/jacoco-db2-aggregate.exec + fi wget -q https://github.com/jacoco/jacoco/releases/download/v0.8.10/jacoco-0.8.10.zip unzip -qq jacoco-0.8.10.zip diff --git a/README.md b/README.md index 22ec111a..59449869 100644 --- a/README.md +++ b/README.md @@ -451,4 +451,4 @@ Here the modules we want to generate and aggregate test reports must be specifie ### Releasing a new version of build-logic -When you want to release new version of `build-logic`, it is important to update all the occurrences of previous version eg: `v0.6.9` with the new version eg : `v0.7.0` in all the files. As, the code for the new version internally refers to the old version. +When you want to release new version of `build-logic`, it is important to update all the occurrences of previous version eg: `v0.6.9` with the new version eg : `v0.7.3` in all the files. As, the code for the new version internally refers to the old version.