From 9b72a91fee2805225ecdfbc7ec5b7f31fde831da Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Date: Thu, 19 Oct 2023 14:05:12 +0200 Subject: [PATCH] DAT-16080 DevOps :: Extension Nightly Builds Failing (#182) * chore(pom.xml): remove redundant finalName element from pom.xml build configuration * chore(dependabot): add Dependabot configuration file to enable automated dependency updates for Maven and GitHub Actions workflows on a daily basis * chore(workflows): update liquibase build-logic workflows to version v0.5.1 for consistency and potential bug fixes --- .github/dependabot copy.yml | 11 +++++++++++ .github/workflows/attach-artifact-release.yml | 2 +- .github/workflows/build-nightly.yml | 14 ++++++++++++++ .github/workflows/create-release.yml | 2 +- .github/workflows/release-published.yml | 2 +- .github/workflows/test.yml | 4 ++-- 6 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 .github/dependabot copy.yml create mode 100644 .github/workflows/build-nightly.yml diff --git a/.github/dependabot copy.yml b/.github/dependabot copy.yml new file mode 100644 index 0000000..5171eac --- /dev/null +++ b/.github/dependabot copy.yml @@ -0,0 +1,11 @@ +version: 2 +updates: +- package-ecosystem: maven + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 +- package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: daily diff --git a/.github/workflows/attach-artifact-release.yml b/.github/workflows/attach-artifact-release.yml index 8bbe390..36be655 100644 --- a/.github/workflows/attach-artifact-release.yml +++ b/.github/workflows/attach-artifact-release.yml @@ -7,6 +7,6 @@ on: jobs: attach-artifact-to-release: - uses: liquibase/build-logic/.github/workflows/extension-attach-artifact-release.yml@v0.5.0 + uses: liquibase/build-logic/.github/workflows/extension-attach-artifact-release.yml@v0.5.1 secrets: inherit diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml new file mode 100644 index 0000000..a331e3e --- /dev/null +++ b/.github/workflows/build-nightly.yml @@ -0,0 +1,14 @@ +# This workflow will build the extension against the latest Liquibase artifact +name: "Nightly build" + +on: + workflow_dispatch: + schedule: + - cron: '0 7 * * 1-5' + +jobs: + nightly-build: + uses: liquibase/build-logic/.github/workflows/pro-extension-test.yml@v0.5.1 + with: + nightly: true + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 2978877..e275cba 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -7,6 +7,6 @@ on: jobs: create-release: - uses: liquibase/build-logic/.github/workflows/create-release.yml@v0.5.0 + uses: liquibase/build-logic/.github/workflows/create-release.yml@v0.5.1 secrets: inherit diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index 3e30f9b..0a2060d 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -7,5 +7,5 @@ on: jobs: release: - uses: liquibase/build-logic/.github/workflows/extension-release-published.yml@v0.5.0 + uses: liquibase/build-logic/.github/workflows/extension-release-published.yml@v0.5.1 secrets: inherit diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0bd6a46..56eda7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -88,12 +88,12 @@ jobs: sonar-pr: needs: [ unit-test ] - uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.5.0 + uses: liquibase/build-logic/.github/workflows/sonar-pull-request.yml@v0.5.1 secrets: inherit dependabot: needs: unit-test - uses: liquibase/build-logic/.github/workflows/dependabot-automerge.yml@v0.5.0 + uses: liquibase/build-logic/.github/workflows/dependabot-automerge.yml@v0.5.1 secrets: inherit # prepare-database: