Skip to content

Commit b69a166

Browse files
authored
Merge branch 'develop' into dependabot/maven/org.apache.maven.plugins-maven-source-plugin-3.3.1
2 parents 8e787fb + f8728b3 commit b69a166

8 files changed

+28
-48
lines changed

.github/workflows/automate-projects.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/release-please.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
permissions:
1010
contents: write
11+
packages: write
1112
pull-requests: write
1213

1314
name: release-please
@@ -19,11 +20,9 @@ jobs:
1920
- uses: google-github-actions/release-please-action@v4
2021
id: release
2122
with:
22-
release-type: maven
23-
package-name: compas-cim-mapping
24-
target-branch: ${{ github.ref_name }}
25-
- if: ${{ steps.release.outputs.release_created }}
26-
name: Checkout
23+
target-branch: main
24+
- name: Checkout
25+
if: ${{ steps.release.outputs.release_created }}
2726
uses: actions/checkout@v4
2827

2928
- name: Cache Docker Register
@@ -33,13 +32,6 @@ jobs:
3332
path: /tmp/.buildx-cache
3433
key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
3534

36-
- name: Extract tag name
37-
if: ${{ steps.release.outputs.release_created }}
38-
id: extract_tagname
39-
shell: bash
40-
# Extract the tag name from the git reference, value of GITHUB_REF will be something like refs/tags/<tag_name>.
41-
run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})"
42-
4335
- name: Set up JDK 17
4436
if: ${{ steps.release.outputs.release_created }}
4537
uses: actions/setup-java@v4
@@ -60,15 +52,10 @@ jobs:
6052

6153
- name: Create custom Maven Settings.xml
6254
if: ${{ steps.release.outputs.release_created }}
63-
uses: whelk-io/maven-settings-xml-action@v21
55+
uses: whelk-io/maven-settings-xml-action@v22
6456
with:
6557
output_file: custom_maven_settings.xml
6658
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
67-
- name: Set version with Maven
68-
if: ${{ steps.release.outputs.release_created }}
69-
run: ./mvnw -B versions:set -DprocessAllModules=true -DnewVersion=${{ steps.extract_tagname.outputs.tagname }}
70-
env:
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7259
- name: Deploy with Maven to GitHub Packages and Docker Hub
7360
if: ${{ steps.release.outputs.release_created }}
7461
run: ./mvnw -B -s custom_maven_settings.xml -Pnative-image,release clean deploy

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.10.4"
3+
}

.release-please-manifest.json.license

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2024 Alliander N.V.
2+
3+
SPDX-License-Identifier: Apache-2.0

app/src/main/docker/Dockerfile.jvm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# docker run -i --rm -p 8080:8080 -p 5005:5005 -e JAVA_ENABLE_DEBUG="true" quarkus/app-jvm
2222
#
2323
###
24-
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9-1161
24+
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-1154
2525

2626
ARG JAVA_PACKAGE=java-17-openjdk-headless
2727
ARG RUN_JAVA_VERSION=1.3.8

app/src/main/docker/Dockerfile.native

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# docker run -i --rm -p 8080:8080 quarkus/app
1515
#
1616
###
17-
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9-1161
17+
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-1154
1818
WORKDIR /work/
1919
RUN chown 1001 /work \
2020
&& chmod "g+rwX" /work \

release-please-config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"bootstrap-sha": "2dc26242b596d099a88f61063a063c710db0a8de",
4+
"include-component-in-tag": false,
5+
"packages": {
6+
".": {
7+
"release-type": "maven",
8+
"package-name": "compas-cim-mapping",
9+
"initial-version": "0.10.4"
10+
}
11+
}
12+
}

release-please-config.json.license

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2024 Alliander N.V.
2+
3+
SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)