Skip to content

Merge Develop into Main #200

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

Open
wants to merge 57 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
8d3e97c
Bump log4j2.version from 2.19.0 to 2.20.0
dependabot[bot] Feb 21, 2023
6ff4452
Updated GH Action timeout to 30 minutes
pascalwilbrink Feb 28, 2023
c48eb65
Bumped the `meminitial` and the `maxmem` to fix the OOM exception?
pascalwilbrink Mar 20, 2023
7534c30
Merge pull request #183 from com-pas/increased_timeout_of_github_actions
pascalwilbrink Mar 20, 2023
2c9af9f
Merge branch 'develop' into dependabot/maven/log4j2.version-2.20.0
pascalwilbrink Mar 20, 2023
2afcb89
Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Mar 20, 2023
7f61dfc
Merge pull request #179 from com-pas/dependabot/maven/log4j2.version-…
pascalwilbrink Mar 20, 2023
ba856fe
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
pascalwilbrink Mar 20, 2023
3626d00
Bump maven-compiler-plugin from 3.10.1 to 3.11.0
dependabot[bot] Mar 20, 2023
943f830
Bump quarkus.platform.version from 2.16.3.Final to 2.16.4.Final
dependabot[bot] Mar 20, 2023
957d812
Merge pull request #180 from com-pas/dependabot/docker/app/src/main/d…
pascalwilbrink Mar 20, 2023
5c4c15c
Merge branch 'develop' into dependabot/maven/org.apache.maven.plugins…
pascalwilbrink Mar 20, 2023
7bba8a5
Merge pull request #181 from com-pas/dependabot/maven/org.apache.mave…
pascalwilbrink Mar 20, 2023
e13dab4
Merge branch 'develop' into dependabot/maven/quarkus.platform.version…
pascalwilbrink Mar 20, 2023
6a34aea
Bump surefire-plugin.version from 3.0.0-M9 to 3.0.0
dependabot[bot] Mar 20, 2023
11f9562
Merge pull request #184 from com-pas/dependabot/maven/quarkus.platfor…
pascalwilbrink Mar 20, 2023
5d5dfb8
Merge branch 'develop' into dependabot/maven/surefire-plugin.version-…
pascalwilbrink Mar 20, 2023
6f4fd44
Bump tycho-eclipserun-plugin from 3.0.2 to 3.0.4
dependabot[bot] Mar 20, 2023
386b28a
Merge pull request #186 from com-pas/dependabot/maven/org.eclipse.tyc…
pascalwilbrink Mar 20, 2023
3b9ea85
Merge branch 'develop' into dependabot/maven/surefire-plugin.version-…
pascalwilbrink Mar 20, 2023
e414509
Merge pull request #185 from com-pas/dependabot/maven/surefire-plugin…
pascalwilbrink Mar 20, 2023
2241c9a
Bump fr.centralesupelec.edf.riseclipse.main from 1.2.6 to 1.2.7
dependabot[bot] Mar 22, 2023
93fc9c4
Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Mar 23, 2023
fd537e4
Merge pull request #189 from com-pas/dependabot/maven/io.github.risec…
pascalwilbrink Mar 23, 2023
e344088
Bump fr.centralesupelec.edf.riseclipse.iec61850.scl from 1.2.5 to 1.2.6
dependabot[bot] Mar 23, 2023
41c35b6
Bump quarkus.platform.version from 2.16.4.Final to 2.16.5.Final
dependabot[bot] Mar 23, 2023
c4ca3c7
Merge pull request #190 from com-pas/dependabot/maven/io.github.risec…
pascalwilbrink Mar 23, 2023
e81dca1
Merge branch 'develop' into dependabot/maven/quarkus.platform.version…
pascalwilbrink Mar 23, 2023
3542432
Merge pull request #191 from com-pas/dependabot/maven/quarkus.platfor…
pascalwilbrink Mar 23, 2023
0183208
Merge branch 'develop' into dependabot/docker/app/src/main/docker/ubi…
pascalwilbrink Mar 23, 2023
7b12b8d
Merge pull request #192 from com-pas/dependabot/docker/app/src/main/d…
pascalwilbrink Mar 23, 2023
1c376cd
Bump maven-resources-plugin from 3.3.0 to 3.3.1
dependabot[bot] Mar 24, 2023
c4e3b99
Merge pull request #193 from com-pas/dependabot/maven/org.apache.mave…
pascalwilbrink Mar 28, 2023
b1b0693
Bump jacoco-maven-plugin from 0.8.8 to 0.8.9
dependabot[bot] Apr 3, 2023
ca30e62
Merge pull request #194 from com-pas/dependabot/maven/org.jacoco-jaco…
pascalwilbrink Apr 5, 2023
75b2292
Bump ubi8/ubi-minimal in /app/src/main/docker
dependabot[bot] Apr 5, 2023
e5c5e12
Merge pull request #196 from com-pas/dependabot/docker/app/src/main/d…
pascalwilbrink Apr 24, 2023
f01b331
refactor: split SC worflow into build & analysis
juancho0202 Jun 7, 2023
0d5cb03
Merge pull request #207 from com-pas/scan_external_prs
juancho0202 Jun 28, 2023
0d3c09f
chore: Remove apache license
clepski Jan 21, 2025
c7cac0d
chore: Remove apache license
clepski Jan 21, 2025
58cd1ac
chore: Remove apache license
clepski Jan 21, 2025
57ade9e
chore: Remove apache license
clepski Jan 21, 2025
54dd144
chore: Format license
clepski Jan 22, 2025
324f909
chore: Format license
clepski Jan 22, 2025
a504ba6
chore: Format license
clepski Jan 22, 2025
e967195
chore: Format license
clepski Jan 22, 2025
e43a9e4
chore: Fix license name
clepski Jan 22, 2025
b9f26f5
chore: Add eclipse public license to readme
clepski Jan 22, 2025
d4e72d1
chore: Fix epl license identifier
clepski Jan 22, 2025
f60846b
chore: Fix epl license identifier
clepski Jan 22, 2025
b9cf161
chore: Fix epl license identifier
clepski Jan 22, 2025
7fabc00
chore: Fix epl license identifier
clepski Jan 22, 2025
69d2ab1
chore: Add LICENSE-EPL
clepski Jan 22, 2025
66d9f19
chore: Move epl license
clepski Jan 22, 2025
07f7513
chore: Fix epl file name
clepski Jan 22, 2025
dec7a25
Merge pull request #230 from com-pas/chore/228-remove-apache-license-…
clepski Feb 6, 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
2 changes: 1 addition & 1 deletion .github/workflows/build-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 30

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
push_to_registry:
name: Build and publish
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 30

steps:
- name: Checkout
Expand Down
172 changes: 98 additions & 74 deletions .github/workflows/sonarcloud-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,83 +4,107 @@

name: SonarCloud Analysis

on:
push:
branches:
- '**'
pull_request:
branches:
- 'main'
- 'develop'
pull_request_target:
branches:
- 'main'
- 'develop'
on:
workflow_run:
workflows: [SonarCloud Build]
types: [completed]

jobs:
build:
name: SonarCloud
sonar-check:
runs-on: ubuntu-latest
timeout-minutes: 15

if: ${{ (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }}
if: github.event.workflow_run.conclusion == 'success'
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'true'

- name: Cache SonarCloud packages
uses: actions/cache@v3
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: echo event
run: cat $GITHUB_EVENT_PATH
- name: Download PR number artifact
if: github.event.workflow_run.event == 'pull_request'
uses: dawidd6/action-download-artifact@v2
with:
workflow: SonarCloud Build
run_id: ${{ github.event.workflow_run.id }}
name: PR_NUMBER
- name: Read PR_NUMBER.txt
if: github.event.workflow_run.event == 'pull_request'
id: pr_number
uses: juliangruber/read-file-action@v1
with:
path: ./PR_NUMBER.txt
- name: Request GitHub API for PR data
if: github.event.workflow_run.event == 'pull_request'
uses: octokit/request-action@v2.x
id: get_pr_data
with:
route: GET /repos/{full_name}/pulls/{number}
number: ${{ steps.pr_number.outputs.content }}
full_name: ${{ github.event.repository.full_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
with:
repository: ${{ github.event.workflow_run.head_repository.full_name }}
ref: ${{ github.event.workflow_run.head_branch }}
fetch-depth: 0
submodules: 'true'
- name: Checkout base branch
if: github.event.workflow_run.event == 'pull_request'
run: |
git remote add upstream ${{ github.event.repository.clone_url }}
git fetch upstream
git checkout -B ${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} upstream/${{ fromJson(steps.get_pr_data.outputs.data).base.ref }}
git checkout ${{ github.event.workflow_run.head_branch }}
git clean -ffdx && git reset --hard HEAD
- name: Cache SonarCloud packages
uses: actions/cache@v3
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@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'

- name: Set Common Sonar Variables
id: sonar_env
run: |
echo "##[set-output name=sonar_opts;]$(echo -Dsonar.host.url=https://sonarcloud.io \
-Dsonar.projectKey=com-pas_compas-scl-validator \
-Dsonar.organization=com-pas )"
- name: Create custom Maven Settings.xml
uses: whelk-io/maven-settings-xml-action@v21
with:
output_file: custom_maven_settings.xml
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
- name: Build and analyze (Pull Request)
if: ${{ github.event_name == 'pull_request' || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
./mvnw -B -s custom_maven_settings.xml -Psonar \
${{ steps.sonar_env.outputs.sonar_opts }} \
-Dsonar.pullrequest.branch=${{ github.ref_name }} \
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }} \
-Dsonar.pullrequest.base=${{ github.base_ref }} \
-Dsonar.scm.revision=${{ github.event.pull_request.head.sha }} \
clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
- name: Build and analyze (Push)
if: ${{ github.event_name == 'push' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
./mvnw -B -s custom_maven_settings.xml -Psonar \
${{ steps.sonar_env.outputs.sonar_opts }} \
-Dsonar.branch.name=${{ github.ref_name }} \
clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
- name: Set Common Sonar Variables
id: sonar_env
run: |
echo "##[set-output name=sonar_opts;]$(echo -Dsonar.host.url=https://sonarcloud.io \
-Dsonar.projectKey=com-pas_compas-scl-validator \
-Dsonar.organization=com-pas )"
- name: Create custom Maven Settings.xml
uses: whelk-io/maven-settings-xml-action@v21
with:
output_file: custom_maven_settings.xml
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
- name: Build and analyze (Pull Request)
if: ${{ github.event.workflow_run.event == 'pull_request' || (github.event.workflow_run.actor == 'dependabot[bot]' && github.event.workflow_run.event == 'pull_request_target') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
./mvnw -B -s custom_maven_settings.xml -Psonar \
${{ steps.sonar_env.outputs.sonar_opts }} \
-Dsonar.pullrequest.branch=${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} \
-Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }} \
-Dsonar.pullrequest.base=${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} \
-Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \
clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
- name: Build and analyze (Push)
if: ${{ github.event.workflow_run.event == 'push' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
./mvnw -B -s custom_maven_settings.xml -Psonar \
${{ steps.sonar_env.outputs.sonar_opts }} \
-Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \
-Dsonar.branch.name=${{ github.event.workflow_run.head_branch }} \
clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
78 changes: 78 additions & 0 deletions .github/workflows/sonarcloud-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# SPDX-FileCopyrightText: 2022 Alliander N.V.
#
# SPDX-License-Identifier: Apache-2.0

name: SonarCloud Build

on:
push:
branches:
- '**'
pull_request:
branches:
- 'main'
- 'develop'
pull_request_target:
branches:
- 'main'
- 'develop'

jobs:
precheck-build:
name: Pre Check Build
runs-on: ubuntu-latest
timeout-minutes: 30

if: ${{ (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'true'

- name: Cache SonarCloud packages
uses: actions/cache@v3
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@v3
with:
distribution: 'zulu'
java-version: '17'

- name: Create custom Maven Settings.xml
uses: whelk-io/maven-settings-xml-action@v21
with:
output_file: custom_maven_settings.xml
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
- name: Build and analyze (Pull Request)
if: ${{ github.event_name == 'pull_request' || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./mvnw -B -s custom_maven_settings.xml clean verify
- name: Build and analyze (Push)
if: ${{ github.event_name == 'push' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./mvnw -B -s custom_maven_settings.xml clean verify
- name: Save PR number to file
if: github.event_name == 'pull_request'
run: echo ${{ github.event.number }} > PR_NUMBER.txt
- name: Archive PR number
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v3
with:
name: PR_NUMBER
path: PR_NUMBER.txt
Loading
Loading