Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Merge develop into main #453

Merged
merged 40 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e13a8a7
build(deps): Bump actions/cache from 3 to 4
dependabot[bot] Jan 18, 2024
d8718a0
build(deps): Bump powsybl.version from 6.1.1 to 6.2.0
dependabot[bot] Jan 29, 2024
69363be
build(deps): Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Feb 1, 2024
54f1731
Merge pull request #408 from com-pas/dependabot/github_actions/action…
Stef3st Feb 5, 2024
8f43c0f
Merge branch 'develop' into dependabot/maven/powsybl.version-6.2.0
Stef3st Feb 5, 2024
8bd4b45
Merge pull request #412 from com-pas/dependabot/maven/powsybl.version…
Stef3st Feb 5, 2024
3975ca1
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
Stef3st Feb 5, 2024
9fc2da4
Merge pull request #413 from com-pas/dependabot/docker/app/src/main/d…
Stef3st Feb 5, 2024
7da2c27
build(deps): Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Feb 20, 2024
6c2eae1
build(deps): Bump powsybl.version from 6.2.0 to 6.2.2
dependabot[bot] Feb 23, 2024
700f7ec
Merge pull request #423 from com-pas/dependabot/maven/powsybl.version…
juancho0202 Feb 26, 2024
f39b98d
build(deps): Bump log4j2.version from 2.22.1 to 2.23.0
dependabot[bot] Feb 26, 2024
28303ba
Merge pull request #421 from com-pas/dependabot/maven/log4j2.version-…
juancho0202 Feb 26, 2024
9835d38
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
juancho0202 Feb 26, 2024
9b912c8
Merge pull request #420 from com-pas/dependabot/docker/app/src/main/d…
juancho0202 Feb 26, 2024
9de8fc5
chore(305): use built-in Maven cache mechanism of setup-java GitHub
apupier Mar 5, 2024
b57e3db
Merge pull request #306 from apupier/305-mavenCaching
juancho0202 Mar 6, 2024
40d94fd
build(deps): Bump fsfe/reuse-action from 2 to 3
dependabot[bot] Mar 6, 2024
ff4fad3
build(deps): Bump powsybl.version from 6.2.2 to 6.2.3
dependabot[bot] Mar 6, 2024
251e47d
Merge pull request #424 from com-pas/dependabot/github_actions/fsfe/r…
Stef3st Mar 10, 2024
58afea8
Merge branch 'develop' into dependabot/maven/powsybl.version-6.2.3
Stef3st Mar 10, 2024
87b84ec
Merge pull request #426 from com-pas/dependabot/maven/powsybl.version…
Stef3st Mar 10, 2024
105596a
build(deps): Bump log4j2.version from 2.23.0 to 2.23.1
dependabot[bot] Mar 11, 2024
3197781
build(deps): Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Apr 3, 2024
4a0c582
Merge pull request #428 from com-pas/dependabot/maven/log4j2.version-…
Stef3st Apr 5, 2024
7512660
build(deps): Bump org.apache.maven.plugins:maven-compiler-plugin
dependabot[bot] Apr 5, 2024
93e1546
Merge pull request #429 from com-pas/dependabot/maven/org.apache.mave…
Stef3st Apr 5, 2024
2100cde
build(deps): Bump powsybl.version from 6.2.3 to 6.3.0
dependabot[bot] Apr 5, 2024
17253f1
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
Stef3st Apr 5, 2024
034e4b4
Merge pull request #432 from com-pas/dependabot/docker/app/src/main/d…
Stef3st Apr 5, 2024
c42bbcd
Merge branch 'develop' into dependabot/maven/powsybl.version-6.3.0
Stef3st Apr 5, 2024
d1d05d9
Merge pull request #434 from com-pas/dependabot/maven/powsybl.version…
Stef3st Apr 5, 2024
590f411
chore: Remove automate projects workflow
clepski Jan 20, 2025
95c550b
Merge pull request #451 from com-pas/chore/remove-automate-projects-w…
clepski Jan 21, 2025
4ef6e3d
fix: Fix release please action
clepski Feb 11, 2025
efdefaa
ci: Add release please config
clepski Feb 11, 2025
09ebee8
ci: Add release please manifest
clepski Feb 11, 2025
a449d3f
ci: Adjust release please action
clepski Feb 11, 2025
090af5b
chore(deps): Bump ubi docker image to 8.10-1154
clepski Feb 11, 2025
f8728b3
Merge pull request #452 from com-pas/ci/fix-release-please
clepski Feb 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .github/workflows/automate-projects.yml

This file was deleted.

9 changes: 2 additions & 7 deletions .github/workflows/build-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,10 @@ jobs:
uses: actions/checkout@v4

- name: Cache Docker Register
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Set up Docker Buildx
id: buildx
Expand All @@ -43,6 +37,7 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'

- name: Create custom Maven Settings.xml
uses: whelk-io/maven-settings-xml-action@v21
Expand Down
33 changes: 7 additions & 26 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

permissions:
contents: write
packages: write
pull-requests: write

name: release-please
Expand All @@ -19,40 +20,25 @@ jobs:
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: maven
package-name: compas-cim-mapping
target-branch: ${{ github.ref_name }}
- if: ${{ steps.release.outputs.release_created }}
name: Checkout
target-branch: main
- name: Checkout
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v4

- name: Cache Docker Register
if: ${{ steps.release.outputs.release_created }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
- name: Cache Maven packages
if: ${{ steps.release.outputs.release_created }}
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Extract tag name
if: ${{ steps.release.outputs.release_created }}
id: extract_tagname
shell: bash
# Extract the tag name from the git reference, value of GITHUB_REF will be something like refs/tags/<tag_name>.
run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})"

- name: Set up JDK 17
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'
- name: Set up Docker Buildx
if: ${{ steps.release.outputs.release_created }}
id: buildx
Expand All @@ -66,15 +52,10 @@ jobs:

- name: Create custom Maven Settings.xml
if: ${{ steps.release.outputs.release_created }}
uses: whelk-io/maven-settings-xml-action@v21
uses: whelk-io/maven-settings-xml-action@v22
with:
output_file: custom_maven_settings.xml
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
- name: Set version with Maven
if: ${{ steps.release.outputs.release_created }}
run: ./mvnw -B versions:set -DprocessAllModules=true -DnewVersion=${{ steps.extract_tagname.outputs.tagname }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy with Maven to GitHub Packages and Docker Hub
if: ${{ steps.release.outputs.release_created }}
run: ./mvnw -B -s custom_maven_settings.xml -Pnative-image,release clean deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v2
uses: fsfe/reuse-action@v3
9 changes: 2 additions & 7 deletions .github/workflows/sonarcloud-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,18 @@ jobs:
git checkout ${{ github.event.workflow_run.head_branch }}
git clean -ffdx && git reset --hard HEAD
- name: Cache SonarCloud packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'

- name: Set Common Sonar Variables
id: sonar_env
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/sonarcloud-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,18 @@ jobs:
fetch-depth: 0

- name: Cache SonarCloud packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'

- name: Create custom Maven Settings.xml
uses: whelk-io/maven-settings-xml-action@v21
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.10.4"
}
3 changes: 3 additions & 0 deletions .release-please-manifest.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Alliander N.V.

SPDX-License-Identifier: Apache-2.0
2 changes: 1 addition & 1 deletion app/src/main/docker/Dockerfile.jvm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# docker run -i --rm -p 8080:8080 -p 5005:5005 -e JAVA_ENABLE_DEBUG="true" quarkus/app-jvm
#
###
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9-1108
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-1154

ARG JAVA_PACKAGE=java-17-openjdk-headless
ARG RUN_JAVA_VERSION=1.3.8
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/docker/Dockerfile.native
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# docker run -i --rm -p 8080:8080 quarkus/app
#
###
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9-1108
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-1154
WORKDIR /work/
RUN chown 1001 /work \
&& chmod "g+rwX" /work \
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ SPDX-License-Identifier: Apache-2.0
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<compiler-plugin.version>3.12.1</compiler-plugin.version>
<compiler-plugin.version>3.13.0</compiler-plugin.version>
<surefire-plugin.version>3.2.5</surefire-plugin.version>
<sonarqube-plugin.version>3.2.0</sonarqube-plugin.version>

<compas.core.version>0.11.0</compas.core.version>

<quarkus.platform.version>2.16.6.Final</quarkus.platform.version>
<microprofile-openapi-api.version>3.1.1</microprofile-openapi-api.version>
<powsybl.version>6.1.1</powsybl.version>
<log4j2.version>2.22.1</log4j2.version>
<powsybl.version>6.3.0</powsybl.version>
<log4j2.version>2.23.1</log4j2.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
<openpojo.version>0.9.1</openpojo.version>
</properties>
Expand Down
12 changes: 12 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "2dc26242b596d099a88f61063a063c710db0a8de",
"include-component-in-tag": false,
"packages": {
".": {
"release-type": "maven",
"package-name": "compas-cim-mapping",
"initial-version": "0.10.4"
}
}
}
3 changes: 3 additions & 0 deletions release-please-config.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Alliander N.V.

SPDX-License-Identifier: Apache-2.0
Loading