Skip to content

Commit 63a741f

Browse files
authored
Setup multi-ecosystem Dependabot group (#102)
1 parent 35822bd commit 63a741f

4 files changed

Lines changed: 55 additions & 5 deletions

File tree

.github/dependabot.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,45 @@
11
version: 2
2+
3+
multi-ecosystem-groups:
4+
build:
5+
schedule:
6+
interval: "monthly"
7+
28
updates:
9+
- package-ecosystem: "gradle"
10+
directory: "./" # Hack to allow multiple definitions of Gradle
11+
patterns:
12+
- "gradle-wrapper"
13+
- "com.bakdata.release"
14+
- "com.bakdata.sonar"
15+
- "com.bakdata.sonatype"
16+
- "com.bakdata.jib"
17+
- "com.bakdata.avro"
18+
- "com.bakdata.mockito"
19+
# freefair plugins follow Gradle's versioning
20+
- "io.freefair*"
21+
cooldown:
22+
default-days: 7
23+
exclude:
24+
- "com.bakdata*"
25+
multi-ecosystem-group: "build"
326
- package-ecosystem: "gradle"
427
directory: "/"
528
schedule:
629
interval: "monthly"
30+
cooldown:
31+
default-days: 7
32+
exclude:
33+
- "com.bakdata*"
34+
ignore: # Should match the patterns that are selected for "build" multi-ecosystem Gradle updates
35+
- dependency-name: "gradle-wrapper"
36+
- dependency-name: "com.bakdata.release"
37+
- dependency-name: "com.bakdata.sonar"
38+
- dependency-name: "com.bakdata.sonatype"
39+
- dependency-name: "com.bakdata.jib"
40+
- dependency-name: "com.bakdata.avro"
41+
- dependency-name: "com.bakdata.mockito"
42+
- dependency-name: "io.freefair*"
743
groups:
844
test-dependencies:
945
patterns:
@@ -22,10 +58,25 @@ updates:
2258
patterns:
2359
- "io.freefair*"
2460

61+
- package-ecosystem: "github-actions"
62+
directory: "./" # Hack to allow multiple definitions of GitHub Actions
63+
patterns:
64+
- "bakdata/ci-templates*"
65+
cooldown:
66+
default-days: 7
67+
exclude:
68+
- "bakdata/ci-templates*"
69+
multi-ecosystem-group: "build"
2570
- package-ecosystem: "github-actions"
2671
directory: "/"
2772
schedule:
2873
interval: "monthly"
74+
cooldown:
75+
default-days: 7
76+
exclude:
77+
- "bakdata/ci-templates*"
78+
ignore: # Should match the patterns that are selected for "build" multi-ecosystem GitHub Actions updates
79+
- dependency-name: "bakdata/ci-templates*"
2980
groups:
3081
ci-templates:
3182
patterns:

.github/workflows/build-and-publish.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ on:
66
branches:
77
- master
88
pull_request:
9+
merge_group:
910

1011
jobs:
1112
build-and-publish:
1213
name: Java Gradle
13-
uses: bakdata/ci-templates/.github/workflows/java-gradle-plugin.yaml@1.75.0
14-
with:
15-
java-version: 21
14+
uses: bakdata/ci-templates/.github/workflows/java-gradle-plugin.yaml@1.81.2
1615
secrets:
1716
sonar-token: ${{ secrets.SONARCLOUD_TOKEN }}
1817
sonar-organization: ${{ secrets.SONARCLOUD_ORGANIZATION }}

.github/workflows/release.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ on:
1616
jobs:
1717
java-gradle-release:
1818
name: Java Gradle
19-
uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.75.0
19+
uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.81.2
2020
with:
21-
java-version: 21
2221
release-type: "${{ inputs.release-type }}"
2322

2423
secrets:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[![Build and Publish](https://github.com/bakdata/gradle-plugins/actions/workflows/build-and-publish.yaml/badge.svg)](https://github.com/bakdata/gradle-plugins/actions/workflows/build-and-publish.yaml)
22
[![Sonarcloud status](https://sonarcloud.io/api/project_badges/measure?project=com.bakdata.gradle%3Agradle-plugins&metric=alert_status)](https://sonarcloud.io/dashboard?id=bakdata-com.bakdata.gradle%3Agradle-plugins)
33
[![Code coverage](https://sonarcloud.io/api/project_badges/measure?project=com.bakdata.gradle%3Agradle-plugins&metric=coverage)](https://sonarcloud.io/dashboard?id=bakdata-com.bakdata.gradle%3Agradle-plugins)
4+
![Gradle Plugin Portal Version](https://img.shields.io/gradle-plugin-portal/v/com.bakdata.sonatype)
45

56
bakdata gradle plugins
67
======================

0 commit comments

Comments
 (0)