-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mdas 335 eai komponente für statusabfrage und logging (#42)
- Loading branch information
1 parent
c8efaa6
commit 35f6c81
Showing
166 changed files
with
6,589 additions
and
2,176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Integration compliance check and build test | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- 'sprint' | ||
- 'main' | ||
paths: | ||
- 'mobidam-sst-management-integration/**' | ||
- '.github/workflows/**' | ||
pull_request: | ||
types: [ opened, reopened ] | ||
|
||
jobs: | ||
compliance: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Advance Security Policy as Code | ||
uses: advanced-security/policy-as-code@v2.4.1 | ||
with: | ||
policy: it-at-m/policy-as-code | ||
policy-path: default.yaml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
argvs: "--disable-dependabot --disable-secret-scanning --disable-code-scanning --display" | ||
|
||
build-maven: | ||
needs: compliance | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: "17" | ||
distribution: "temurin" | ||
cache: "maven" | ||
|
||
- name: Build with Maven | ||
run: mvn --update-snapshots -f mobidam-sst-management-integration/pom.xml verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Build integration release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: "Branch to release from ?" | ||
required: true | ||
default: "main" | ||
release-version: | ||
description: "Release version ?" | ||
required: true | ||
release-tag: | ||
description: "Release tag ?" | ||
required: true | ||
development-version: | ||
description: "Next Development version ?" | ||
required: true | ||
|
||
jobs: | ||
release: | ||
name: Create release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout to main branch # Releases are published on main branch | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.inputs.branch }} | ||
|
||
- name: Setup git user | ||
uses: fregante/setup-git-user@v2 | ||
|
||
- name: Set up JDK and OSSRH auth / GPG signing | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: "17" | ||
distribution: "temurin" | ||
cache: "maven" | ||
server-id: "central" | ||
server-username: CENTRAL_USERNAME | ||
server-password: CENTRAL_PASSWORD | ||
gpg-private-key: ${{ secrets.gpg_private_key }} | ||
gpg-passphrase: SIGN_KEY_PASS | ||
|
||
- name: Perform maven release | ||
run: > | ||
mvn --batch-mode --no-transfer-progress release:prepare release:perform | ||
-DreleaseVersion=${{ github.event.inputs.release-version }} | ||
-DdevelopmentVersion=${{ github.event.inputs.development-version }} | ||
-Dtag=${{ github.event.inputs.release-tag }} | ||
-Darguments="-DskipTests" | ||
env: | ||
SIGN_KEY_PASS: ${{ secrets.gpg_passphrase }} | ||
CENTRAL_USERNAME: ${{ secrets.sonatype_username }} | ||
CENTRAL_PASSWORD: ${{ secrets.sonatype_password }} | ||
|
||
- name: Create GitHub Release | ||
id: create_release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
tag_name: ${{ github.event.inputs.release-tag }} | ||
draft: false | ||
prerelease: false | ||
generate_release_notes: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
@REM | ||
@REM The MIT License | ||
@REM Copyright © 2023 Landeshauptstadt München | it@M | ||
@REM Copyright © 2023 Landeshauptstadt München | it@M | ||
@REM | ||
@REM Permission is hereby granted, free of charge, to any person obtaining a copy | ||
@REM of this software and associated documentation files (the "Software"), to deal | ||
@REM in the Software without restriction, including without limitation the rights | ||
@REM to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
@REM copies of the Software, and to permit persons to whom the Software is | ||
@REM furnished to do so, subject to the following conditions: | ||
@REM Permission is hereby granted, free of charge, to any person obtaining a copy | ||
@REM of this software and associated documentation files (the "Software"), to deal | ||
@REM in the Software without restriction, including without limitation the rights | ||
@REM to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
@REM copies of the Software, and to permit persons to whom the Software is | ||
@REM furnished to do so, subject to the following conditions: | ||
@REM | ||
@REM The above copyright notice and this permission notice shall be included in | ||
@REM all copies or substantial portions of the Software. | ||
@REM The above copyright notice and this permission notice shall be included in | ||
@REM all copies or substantial portions of the Software. | ||
@REM | ||
@REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
@REM IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
@REM FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
@REM AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
@REM LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
@REM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
@REM THE SOFTWARE. | ||
@REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
@REM IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
@REM FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
@REM AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
@REM LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
@REM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
@REM THE SOFTWARE. | ||
@REM | ||
|
||
mvn clean spring-boot:run -Dspring-boot.run.jvmArguments="-Dspring.profiles.active=local" |
Oops, something went wrong.