From bd45ce7151f9996dc018857d0bf323a93c80ac25 Mon Sep 17 00:00:00 2001 From: jandroav Date: Mon, 4 Mar 2024 14:38:58 +0100 Subject: [PATCH 1/7] chore(pro-extension-test.yml): update descriptions to use double quotes for consistency chore(pro-extension-test.yml): update MAVEN_VERSION value to use double quotes chore(pro-extension-test.yml): update distribution and cache values to use double quotes chore(pro-extension-test.yml): update if conditions to use double quotes chore(pro-extension-test.yml): update SLACK_MESSAGE and SLACK_TITLE to use double quotes chore(pro-extension-test.yml): update SLACK_ICON_EMOJI and SLACK_FOOTER to use double quotes feat(pro-extension-test.yml): add support for running tests with liquibase master-SNAPSHOT version when nightly flag is set --- .github/workflows/pro-extension-test.yml | 65 +++++++++++++----------- 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/.github/workflows/pro-extension-test.yml b/.github/workflows/pro-extension-test.yml index 31d2cff9..8e399b97 100644 --- a/.github/workflows/pro-extension-test.yml +++ b/.github/workflows/pro-extension-test.yml @@ -4,42 +4,42 @@ on: workflow_call: inputs: java: - description: 'Java version to test' + description: "Java version to test" required: false - default: '[11, 17, 21]' + default: "[11, 17, 21]" type: string os: - description: 'Operating system to test' + description: "Operating system to test" required: false default: '["ubuntu-latest", "windows-latest"]' type: string nightly: - description: 'Specifies nightly builds against liquibase master-SNAPSHOT' + description: "Specifies nightly builds against liquibase master-SNAPSHOT" required: false default: false type: boolean extraCommand: - description: 'Specify it if you want to run an extra command before attaching the artifact' + description: "Specify it if you want to run an extra command before attaching the artifact" required: false - default: '' + default: "" type: string extraMavenArgs: - description: 'Specify it if you want to run an extra maven argument' + description: "Specify it if you want to run an extra maven argument" required: false - default: '' + default: "" type: string secrets: SONAR_TOKEN: - description: 'SONAR_TOKEN from the caller workflow' + description: "SONAR_TOKEN from the caller workflow" required: true PRO_LICENSE_KEY: - description: 'PRO_LICENSE_KEY from the caller workflow' + description: "PRO_LICENSE_KEY from the caller workflow" required: true GHA_AWS_KEY_ID: - description: 'GHA_AWS_KEY_ID from the caller workflow' + description: "GHA_AWS_KEY_ID from the caller workflow" required: true GHA_AWS_KEY: - description: 'GHA_AWS_KEY from the caller workflow' + description: "GHA_AWS_KEY from the caller workflow" required: true env: @@ -48,7 +48,7 @@ env: AWS_ACCESS_KEY_ID: ${{ secrets.GHA_AWS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.GHA_AWS_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - MAVEN_VERSION: '3.9.5' + MAVEN_VERSION: "3.9.5" jobs: build: @@ -61,8 +61,8 @@ jobs: uses: actions/setup-java@v4 with: java-version: 17 - distribution: 'temurin' - cache: 'maven' + distribution: "temurin" + cache: "maven" - name: Set up Maven uses: stCarolas/setup-maven@v4.5 @@ -118,7 +118,7 @@ jobs: ${{ inputs.extraCommand }} - name: Build and Package latest liquibase version - if: ${{ inputs.nightly }} + if: ${{ inputs.nightly }} run: mvn -B dependency:go-offline clean package -DskipTests=true -Dliquibase.version=master-SNAPSHOT - name: Notify Slack on Build Failure @@ -126,16 +126,16 @@ jobs: uses: rtCamp/action-slack-notify@v2 env: SLACK_COLOR: ${{ job.status }} - SLACK_MESSAGE: 'View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} <@U042HRTL4DT>' - SLACK_TITLE: '❌ ${{ github.repository }} ❌ Build failed on branch ${{ github.ref }} for commit ${{ github.sha }} in repository ${{github.repository}}' + SLACK_MESSAGE: "View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} <@U042HRTL4DT>" + SLACK_TITLE: "❌ ${{ github.repository }} ❌ Build failed on branch ${{ github.ref }} for commit ${{ github.sha }} in repository ${{github.repository}}" SLACK_USERNAME: liquibot SLACK_WEBHOOK: ${{ secrets.NIGHTLY_BUILDS_SLACK_WEBHOOK }} - SLACK_ICON_EMOJI: ':robot_face:' - SLACK_FOOTER: '${{ github.repository }}' + SLACK_ICON_EMOJI: ":robot_face:" + SLACK_FOOTER: "${{ github.repository }}" SLACK_LINK_NAMES: true - name: Build and Package - if: ${{ !inputs.nightly }} + if: ${{ !inputs.nightly }} run: mvn -B dependency:go-offline clean package -DskipTests=true - name: Get Artifact ID @@ -174,8 +174,8 @@ jobs: uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} - distribution: 'temurin' - cache: 'maven' + distribution: "temurin" + cache: "maven" - name: Set up Maven uses: stCarolas/setup-maven@v4.5 @@ -224,7 +224,7 @@ jobs: "password": "${{ secrets.LIQUIBOT_PAT }}" } ] - + - uses: actions/download-artifact@v3 with: name: ${{needs.build.outputs.artifact_id}}-artifacts @@ -236,19 +236,24 @@ jobs: ${{ inputs.extraCommand }} - name: Run Tests + if: ${{ !inputs.nightly }} run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} + - name: Run Tests + if: ${{ inputs.nightly }} + run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} -Dliquibase.version=master-SNAPSHOT + - name: Notify Slack on Build Failure if: ${{ failure() && inputs.nightly }} uses: rtCamp/action-slack-notify@v2 env: SLACK_COLOR: ${{ job.status }} - SLACK_MESSAGE: 'View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} <@U042HRTL4DT>' - SLACK_TITLE: '❌ ${{ github.repository }} ❌ Tests failed on branch ${{ github.ref }} for commit ${{ github.sha }} in repository ${{github.repository}}' + SLACK_MESSAGE: "View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} <@U042HRTL4DT>" + SLACK_TITLE: "❌ ${{ github.repository }} ❌ Tests failed on branch ${{ github.ref }} for commit ${{ github.sha }} in repository ${{github.repository}}" SLACK_USERNAME: liquibot SLACK_WEBHOOK: ${{ secrets.NIGHTLY_BUILDS_SLACK_WEBHOOK }} - SLACK_ICON_EMOJI: ':robot_face:' - SLACK_FOOTER: '${{ github.repository }}' + SLACK_ICON_EMOJI: ":robot_face:" + SLACK_FOOTER: "${{ github.repository }}" SLACK_LINK_NAMES: true - name: Archive Test Results - ${{ matrix.os }} @@ -261,8 +266,8 @@ jobs: **/target/site/jacoco/jacoco.xml sonar-pr: - if: ${{ !inputs.nightly }} - needs: [ unit-test ] + if: ${{ !inputs.nightly }} + needs: [unit-test] uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.6.3 secrets: inherit with: From 54afd73c81bec7d1633e090e372fe8c5e654e078 Mon Sep 17 00:00:00 2001 From: jandroav Date: Mon, 4 Mar 2024 14:39:27 +0100 Subject: [PATCH 2/7] chore(os-extension-test.yml): update descriptions in workflow inputs to use double quotes for consistency chore(os-extension-test.yml): update Maven version environment variable to use double quotes chore(os-extension-test.yml): update setup-java and setup-maven actions to use double quotes for distribution and cache chore(os-extension-test.yml): update Slack notification messages to use double quotes for consistency chore(os-extension-test.yml): update setup-java and setup-maven actions in matrix to use double quotes for distribution and cache --- .github/workflows/os-extension-test.yml | 63 +++++++++++++------------ 1 file changed, 34 insertions(+), 29 deletions(-) diff --git a/.github/workflows/os-extension-test.yml b/.github/workflows/os-extension-test.yml index 0bc0f8cf..720b6989 100644 --- a/.github/workflows/os-extension-test.yml +++ b/.github/workflows/os-extension-test.yml @@ -4,33 +4,33 @@ on: workflow_call: inputs: java: - description: 'Java version to test' + description: "Java version to test" required: false - default: '[11, 17, 21]' + default: "[11, 17, 21]" type: string os: - description: 'Operating system to test' + description: "Operating system to test" required: false default: '["ubuntu-latest", "windows-latest"]' type: string nightly: - description: 'Specifies nightly builds against liquibase master-SNAPSHOT' + description: "Specifies nightly builds against liquibase master-SNAPSHOT" required: false default: false type: boolean extraCommand: - description: 'Specify it if you want to run an extra command before attaching the artifact' + description: "Specify it if you want to run an extra command before attaching the artifact" required: false - default: '' + default: "" type: string extraMavenArgs: - description: 'Specify it if you want to run an extra maven argument' + description: "Specify it if you want to run an extra maven argument" required: false - default: '' + default: "" type: string env: - MAVEN_VERSION: '3.9.5' + MAVEN_VERSION: "3.9.5" jobs: build: @@ -43,8 +43,8 @@ jobs: uses: actions/setup-java@v4 with: java-version: 17 - distribution: 'temurin' - cache: 'maven' + distribution: "temurin" + cache: "maven" - name: Set up Maven uses: stCarolas/setup-maven@v4.5 @@ -93,32 +93,32 @@ jobs: "password": "${{ secrets.LIQUIBOT_PAT }}" } ] - + - name: Run extra command if: inputs.extraCommand != '' run: | ${{ inputs.extraCommand }} - name: Build and Package latest liquibase version - if: ${{ inputs.nightly }} + if: ${{ inputs.nightly }} run: mvn -B dependency:go-offline clean package -DskipTests=true -Dliquibase.version=master-SNAPSHOT - name: Notify Slack on Build Failure if: ${{ failure() && inputs.nightly }} - + uses: rtCamp/action-slack-notify@v2 env: SLACK_COLOR: ${{ job.status }} - SLACK_MESSAGE: 'View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} <@U042HRTL4DT>' - SLACK_TITLE: '❌ ${{ github.repository }} ❌ Build failed on branch ${{ github.ref }} for commit ${{ github.sha }} in repository ${{github.repository}}' + SLACK_MESSAGE: "View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} <@U042HRTL4DT>" + SLACK_TITLE: "❌ ${{ github.repository }} ❌ Build failed on branch ${{ github.ref }} for commit ${{ github.sha }} in repository ${{github.repository}}" SLACK_USERNAME: liquibot SLACK_WEBHOOK: ${{ secrets.NIGHTLY_BUILDS_SLACK_WEBHOOK }} - SLACK_ICON_EMOJI: ':robot_face:' - SLACK_FOOTER: '${{ github.repository }}' + SLACK_ICON_EMOJI: ":robot_face:" + SLACK_FOOTER: "${{ github.repository }}" SLACK_LINK_NAMES: true - name: Build and Package - if: ${{ !inputs.nightly }} + if: ${{ !inputs.nightly }} run: mvn -B dependency:go-offline clean package -DskipTests=true - name: Get Artifact ID @@ -157,9 +157,9 @@ jobs: uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} - distribution: 'temurin' - cache: 'maven' - + distribution: "temurin" + cache: "maven" + - name: Set up Maven uses: stCarolas/setup-maven@v4.5 with: @@ -176,19 +176,24 @@ jobs: ${{ inputs.extraCommand }} - name: Run Tests + if: ${{ !inputs.nightly }} run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} + - name: Run Tests + if: ${{ inputs.nightly }} + run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} -Dliquibase.version=master-SNAPSHOT + - name: Notify Slack on Build Failure if: ${{ failure() && inputs.nightly }} uses: rtCamp/action-slack-notify@v2 env: SLACK_COLOR: ${{ job.status }} - SLACK_MESSAGE: 'View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} <@U042HRTL4DT>' - SLACK_TITLE: '❌ ${{ github.repository }} ❌ Tests failed on branch ${{ github.ref }} for commit ${{ github.sha }} in repository ${{github.repository}}' + SLACK_MESSAGE: "View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} <@U042HRTL4DT>" + SLACK_TITLE: "❌ ${{ github.repository }} ❌ Tests failed on branch ${{ github.ref }} for commit ${{ github.sha }} in repository ${{github.repository}}" SLACK_USERNAME: liquibot SLACK_WEBHOOK: ${{ secrets.NIGHTLY_BUILDS_SLACK_WEBHOOK }} - SLACK_ICON_EMOJI: ':robot_face:' - SLACK_FOOTER: '${{ github.repository }}' + SLACK_ICON_EMOJI: ":robot_face:" + SLACK_FOOTER: "${{ github.repository }}" SLACK_LINK_NAMES: true - name: Archive Test Results - ${{ matrix.os }} @@ -201,9 +206,9 @@ jobs: **/target/site/jacoco/jacoco.xml sonar-pr: - if: ${{ !inputs.nightly }} - needs: [ unit-test ] + if: ${{ !inputs.nightly }} + needs: [unit-test] uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.6.3 secrets: inherit with: - extraCommand: ${{ inputs.extraCommand }} + extraCommand: ${{ inputs.extraCommand }} From 37c3f916001b8f2e190373f87325efd88c6a070a Mon Sep 17 00:00:00 2001 From: jandroav Date: Mon, 4 Mar 2024 14:52:53 +0100 Subject: [PATCH 3/7] chore(os-extension-test.yml): update liquibase version parameter to be enclosed in quotes for consistency and to prevent potential issues with special characters. --- .github/workflows/os-extension-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/os-extension-test.yml b/.github/workflows/os-extension-test.yml index 720b6989..78cc15f4 100644 --- a/.github/workflows/os-extension-test.yml +++ b/.github/workflows/os-extension-test.yml @@ -101,7 +101,7 @@ jobs: - name: Build and Package latest liquibase version if: ${{ inputs.nightly }} - run: mvn -B dependency:go-offline clean package -DskipTests=true -Dliquibase.version=master-SNAPSHOT + run: mvn -B dependency:go-offline clean package -DskipTests=true "-Dliquibase.version=master-SNAPSHOT" - name: Notify Slack on Build Failure if: ${{ failure() && inputs.nightly }} @@ -181,7 +181,7 @@ jobs: - name: Run Tests if: ${{ inputs.nightly }} - run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} -Dliquibase.version=master-SNAPSHOT + run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} "-Dliquibase.version=master-SNAPSHOT" - name: Notify Slack on Build Failure if: ${{ failure() && inputs.nightly }} From 482f3d42023aab86b34f801600377c8a52b47ede Mon Sep 17 00:00:00 2001 From: jandroav Date: Mon, 4 Mar 2024 14:58:57 +0100 Subject: [PATCH 4/7] chore(pro-extension-test.yml): wrap liquibase version argument in quotes to ensure proper parsing and prevent issues with special characters --- .github/workflows/pro-extension-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pro-extension-test.yml b/.github/workflows/pro-extension-test.yml index 8e399b97..7413f7c0 100644 --- a/.github/workflows/pro-extension-test.yml +++ b/.github/workflows/pro-extension-test.yml @@ -119,7 +119,7 @@ jobs: - name: Build and Package latest liquibase version if: ${{ inputs.nightly }} - run: mvn -B dependency:go-offline clean package -DskipTests=true -Dliquibase.version=master-SNAPSHOT + run: mvn -B dependency:go-offline clean package -DskipTests=true "-Dliquibase.version=master-SNAPSHOT" - name: Notify Slack on Build Failure if: ${{ failure() && inputs.nightly }} @@ -241,7 +241,7 @@ jobs: - name: Run Tests if: ${{ inputs.nightly }} - run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} -Dliquibase.version=master-SNAPSHOT + run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} "-Dliquibase.version=master-SNAPSHOT" - name: Notify Slack on Build Failure if: ${{ failure() && inputs.nightly }} From 83a77f6afb14cfdb75133d4d270f3fe03be5cdc2 Mon Sep 17 00:00:00 2001 From: jandroav Date: Tue, 5 Mar 2024 11:16:13 +0100 Subject: [PATCH 5/7] chore(os-extension-test.yml): add maven settings for Liquibase repositories to enable access to Liquibase and Liquibase Pro artifacts --- .github/workflows/os-extension-test.yml | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.github/workflows/os-extension-test.yml b/.github/workflows/os-extension-test.yml index 78cc15f4..a9787692 100644 --- a/.github/workflows/os-extension-test.yml +++ b/.github/workflows/os-extension-test.yml @@ -165,6 +165,49 @@ jobs: with: maven-version: ${{ env.MAVEN_VERSION }} + # look for dependencies in maven + - name: maven-settings-xml-action + uses: whelk-io/maven-settings-xml-action@v21 + with: + repositories: | + [ + { + "id": "liquibase", + "url": "https://maven.pkg.github.com/liquibase/liquibase", + "releases": { + "enabled": "true" + }, + "snapshots": { + "enabled": "true", + "updatePolicy": "always" + } + }, + { + "id": "liquibase-pro", + "url": "https://maven.pkg.github.com/liquibase/liquibase-pro", + "releases": { + "enabled": "true" + }, + "snapshots": { + "enabled": "true", + "updatePolicy": "always" + } + } + ] + servers: | + [ + { + "id": "liquibase-pro", + "username": "liquibot", + "password": "${{ secrets.LIQUIBOT_PAT }}" + }, + { + "id": "liquibase", + "username": "liquibot", + "password": "${{ secrets.LIQUIBOT_PAT }}" + } + ] + - uses: actions/download-artifact@v3 with: name: ${{needs.build.outputs.artifact_id}}-artifacts From 52ac6ebfa63f922e3986acb98228b50141322392 Mon Sep 17 00:00:00 2001 From: jandroav Date: Wed, 6 Mar 2024 10:45:25 +0100 Subject: [PATCH 6/7] chore(package.yml): add new job 'upload_node_package' to trigger node package upload process using liquibase/node-liquibase action with version parameter. --- .github/workflows/package.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index bb9e75ae..2ca12bf8 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -146,4 +146,10 @@ jobs: secrets: inherit with: version: ${{ inputs.version }} + + upload_node_package: + uses: liquibase/node-liquibase/.github/workflows/generate.yml@master + secrets: inherit + with: + version: ${{ inputs.version }} \ No newline at end of file From d6a0ff873e27ea0b093451eeae9c0eb634cdbf97 Mon Sep 17 00:00:00 2001 From: jandroav Date: Wed, 6 Mar 2024 10:46:29 +0100 Subject: [PATCH 7/7] chore: update liquibase/build-logic workflows to version v0.6.4 for consistency --- .github/workflows/create-release.yml | 2 +- .../workflows/extension-attach-artifact-release.yml | 8 ++++---- .github/workflows/extension-release-prepare.yml | 2 +- .github/workflows/extension-release-published.yml | 2 +- .github/workflows/os-extension-test.yml | 2 +- .github/workflows/package.yml | 10 +++++----- .github/workflows/pom-release-published.yml | 2 +- .github/workflows/pro-extension-test.yml | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 4592791f..3a28a0df 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.6.3 + uses: liquibase/build-logic/.github/workflows/sonar-push.yml@v0.6.4 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 34414c36..43d8061f 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.6.3/.github/get_draft_release.sh - curl -o $PWD/.github/sign_artifact.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.3/.github/sign_artifact.sh - curl -o $PWD/.github/upload_asset.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.3/.github/upload_asset.sh + curl -o $PWD/.github/get_draft_release.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.4/.github/get_draft_release.sh + curl -o $PWD/.github/sign_artifact.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.4/.github/sign_artifact.sh + curl -o $PWD/.github/upload_asset.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.4/.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.6.3/.github/upload_zip.sh + curl -o $PWD/.github/upload_zip.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.4/.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 4e31acf2..24042fed 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.6.3 + uses: liquibase/build-logic/.github/workflows/extension-release-rollback.yml@v0.6.4 secrets: inherit with: extraCommand: ${{ inputs.extraCommand }} diff --git a/.github/workflows/extension-release-published.yml b/.github/workflows/extension-release-published.yml index 3ddbedb5..ee1eabda 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.6.3 + uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.6.4 secrets: inherit with: extraCommand: ${{ inputs.extraCommand }} diff --git a/.github/workflows/os-extension-test.yml b/.github/workflows/os-extension-test.yml index a9787692..d3e32ce4 100644 --- a/.github/workflows/os-extension-test.yml +++ b/.github/workflows/os-extension-test.yml @@ -251,7 +251,7 @@ jobs: sonar-pr: if: ${{ !inputs.nightly }} needs: [unit-test] - uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.6.3 + uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.6.4 secrets: inherit with: extraCommand: ${{ inputs.extraCommand }} diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 2ca12bf8..c768a53e 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -60,11 +60,11 @@ jobs: # Under the src folder is where specific packages files live. The GitHub action inputs will modify the universal package-deb-pom.xml to tell the process which assets to use during the packaging step mkdir -p $PWD/.github/src/${{ inputs.artifactId }}/deb/control mkdir -p $PWD/.github/src/${{ inputs.artifactId }}/main/archive - curl -o $PWD/.github/src/${{ inputs.artifactId }}/deb/control/control https://raw.githubusercontent.com/liquibase/build-logic/v0.6.3/src/${{ inputs.artifactId }}/deb/control/control - curl -o $PWD/.github/src/${{ inputs.artifactId }}/deb/control/postinst https://raw.githubusercontent.com/liquibase/build-logic/v0.6.3/src/${{ inputs.artifactId }}/deb/control/postinst - curl -o $PWD/.github/src/${{ inputs.artifactId }}/main/archive/${{ inputs.artifactId }}-env.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.3/src/${{ inputs.artifactId }}/main/archive/${{ inputs.artifactId }}-env.sh - curl -o $PWD/.github/package-deb-pom.xml https://raw.githubusercontent.com/liquibase/build-logic/v0.6.3/.github/package-deb-pom.xml - curl -o $PWD/.github/sign_artifact.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.3/.github/sign_artifact.sh + curl -o $PWD/.github/src/${{ inputs.artifactId }}/deb/control/control https://raw.githubusercontent.com/liquibase/build-logic/v0.6.4/src/${{ inputs.artifactId }}/deb/control/control + curl -o $PWD/.github/src/${{ inputs.artifactId }}/deb/control/postinst https://raw.githubusercontent.com/liquibase/build-logic/v0.6.4/src/${{ inputs.artifactId }}/deb/control/postinst + curl -o $PWD/.github/src/${{ inputs.artifactId }}/main/archive/${{ inputs.artifactId }}-env.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.4/src/${{ inputs.artifactId }}/main/archive/${{ inputs.artifactId }}-env.sh + curl -o $PWD/.github/package-deb-pom.xml https://raw.githubusercontent.com/liquibase/build-logic/v0.6.4/.github/package-deb-pom.xml + curl -o $PWD/.github/sign_artifact.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.6.4/.github/sign_artifact.sh chmod +x $PWD/.github/sign_artifact.sh - name: Import GPG key diff --git a/.github/workflows/pom-release-published.yml b/.github/workflows/pom-release-published.yml index a4994c52..c41d4325 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.6.3 + uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.6.4 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 7413f7c0..7fc6d665 100644 --- a/.github/workflows/pro-extension-test.yml +++ b/.github/workflows/pro-extension-test.yml @@ -268,7 +268,7 @@ jobs: sonar-pr: if: ${{ !inputs.nightly }} needs: [unit-test] - uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.6.3 + uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.6.4 secrets: inherit with: extraCommand: ${{ inputs.extraCommand }}