Skip to content

Commit da72bd0

Browse files
authored
Setup multi-ecosystem Dependabot group (#174)
1 parent e28f2e9 commit da72bd0

4 files changed

Lines changed: 53 additions & 6 deletions

File tree

.github/dependabot.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,43 @@
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.jib"
16+
- "com.bakdata.avro"
17+
- "com.bakdata.mockito"
18+
# freefair plugins follow Gradle's versioning
19+
- "io.freefair*"
20+
cooldown:
21+
default-days: 7
22+
exclude:
23+
- "com.bakdata*"
24+
multi-ecosystem-group: "build"
325
- package-ecosystem: "gradle"
426
directory: "/"
527
schedule:
628
interval: "monthly"
29+
cooldown:
30+
default-days: 7
31+
exclude:
32+
- "com.bakdata*"
33+
ignore: # Should match the patterns that are selected for "build" multi-ecosystem Gradle updates
34+
- dependency-name: "gradle-wrapper"
35+
- dependency-name: "com.bakdata.release"
36+
- dependency-name: "com.bakdata.sonar"
37+
- dependency-name: "com.bakdata.jib"
38+
- dependency-name: "com.bakdata.avro"
39+
- dependency-name: "com.bakdata.mockito"
40+
- dependency-name: "io.freefair*"
741
groups:
842
kafka-dependencies:
943
patterns:
@@ -37,10 +71,25 @@ updates:
3771
patterns:
3872
- "io.freefair*"
3973

74+
- package-ecosystem: "github-actions"
75+
directory: "./" # Hack to allow multiple definitions of GitHub Actions
76+
patterns:
77+
- "bakdata/ci-templates*"
78+
cooldown:
79+
default-days: 7
80+
exclude:
81+
- "bakdata/ci-templates*"
82+
multi-ecosystem-group: "build"
4083
- package-ecosystem: "github-actions"
4184
directory: "/"
4285
schedule:
4386
interval: "monthly"
87+
cooldown:
88+
default-days: 7
89+
exclude:
90+
- "bakdata/ci-templates*"
91+
ignore: # Should match the patterns that are selected for "build" multi-ecosystem GitHub Actions updates
92+
- dependency-name: "bakdata/ci-templates*"
4493
groups:
4594
ci-templates:
4695
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-library.yaml@1.75.0
14-
with:
15-
java-version: 17
14+
uses: bakdata/ci-templates/.github/workflows/java-gradle-library.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: 17
2221
release-type: "${{ inputs.release-type }}"
2322
secrets:
2423
github-email: "${{ secrets.GH_EMAIL }}"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://dev.azure.com/bakdata/public/_apis/build/status/bakdata.kafka-large-message-serde?branchName=master)](https://dev.azure.com/bakdata/public/_build/latest?definitionId=20&branchName=master)
1+
[![Build and Publish](https://github.com/bakdata/kafka-large-message-serde/actions/workflows/build-and-publish.yaml/badge.svg)](https://github.com/bakdata/kafka-large-message-serde/actions/workflows/build-and-publish.yaml)
22
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.bakdata.kafka%3Alarge-message&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.bakdata.kafka%3Alarge-message)
33
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.bakdata.kafka%3Alarge-message&metric=coverage)](https://sonarcloud.io/dashboard?id=com.bakdata.kafka%3Alarge-message)
44
[![Maven](https://img.shields.io/maven-central/v/com.bakdata.kafka/large-message-serde.svg)](https://search.maven.org/search?q=g:com.bakdata.kafka%20AND%20a:large-message-serde&core=gav)

0 commit comments

Comments
 (0)