diff --git a/.circleci/config.yml b/.circleci/config.yml index 319fcce..6028870 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 jobs: build: docker: - - image: maven:3-eclipse-temurin-21 + - image: eclipse-temurin:21-alpine environment: MAVEN_OPTS: -Xmx3200m diff --git a/.github/dependabot.yml b/.github/dependabot.yml index dce0df9..283af2d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,11 +1,24 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - version: 2 updates: - package-ecosystem: "maven" directory: "/" schedule: interval: "daily" + groups: + postgresql: + patterns: + - "*postgresql*" + maven: + patterns: + - "*maven*" + kotlin: + patterns: + - "*kotlin*" + jackson: + patterns: + - "jackson*" + - "*jackson*" + camel: + patterns: + - "camel*" + - "*camel*" diff --git a/.github/workflows/camel-test-drives-merge.yml b/.github/workflows/camel-test-drives-merge.yml index 4b36591..5c01258 100644 --- a/.github/workflows/camel-test-drives-merge.yml +++ b/.github/workflows/camel-test-drives-merge.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v1.1.1 + uses: dependabot/fetch-metadata@v2 with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Enable auto-merge for Dependabot PRs diff --git a/.github/workflows/camel-test-drives-plugins-update.yml b/.github/workflows/camel-test-drives-plugins-update.yml new file mode 100644 index 0000000..c9bd230 --- /dev/null +++ b/.github/workflows/camel-test-drives-plugins-update.yml @@ -0,0 +1,33 @@ +name: Updates plugins + +on: + schedule: + - cron: '0 0 * * 0' + workflow_dispatch: + +jobs: + update-plugins: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Run dependency update script + run: make deps-plugins-update + + - name: Create pull request + uses: peter-evans/create-pull-request@v6 + with: + commit-message: Update plugins dependencies + branch: update-plugins + title: 'Update plugins' + body: | + This pull request updates the following dependencies: + - Current plugins updates + labels: dependencies diff --git a/.github/workflows/camel-test-drives-pull-request.yml b/.github/workflows/camel-test-drives-pull-request.yml index 5cf9058..a1f87ed 100644 --- a/.github/workflows/camel-test-drives-pull-request.yml +++ b/.github/workflows/camel-test-drives-pull-request.yml @@ -8,12 +8,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '21' - distribution: 'temurin' + distribution: 'adopt' - name: Build and Test run: mvn clean install jacoco:prepare-agent package jacoco:report diff --git a/.github/workflows/camel-test-drives.yml b/.github/workflows/camel-test-drives.yml index 33b5235..71fd8d1 100644 --- a/.github/workflows/camel-test-drives.yml +++ b/.github/workflows/camel-test-drives.yml @@ -8,12 +8,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '21' - distribution: 'temurin' + distribution: 'adopt' - name: Build and Test run: mvn clean install jacoco:prepare-agent package jacoco:report diff --git a/Makefile b/Makefile index 823c9ad..865641c 100644 --- a/Makefile +++ b/Makefile @@ -3,3 +3,8 @@ build: mvn clean install local-pipeline: build mvn integration-test +deps-plugins-update: + curl -sL https://raw.githubusercontent.com/jesperancinha/project-signer/master/pluginUpdatesOne.sh | bash +deps-java-update: + curl -sL https://raw.githubusercontent.com/jesperancinha/project-signer/master/javaUpdatesOne.sh | bash +deps-quick-update: deps-plugins-update deps-java-update