-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from catenax-ng/release/0.3.2
Release version 0.3.2
- Loading branch information
Showing
94 changed files
with
1,048 additions
and
948 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
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 |
---|---|---|
|
@@ -77,7 +77,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
# Build | ||
- | ||
|
@@ -121,7 +121,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
# Build | ||
- | ||
|
@@ -188,7 +188,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
# Build | ||
- | ||
|
@@ -243,7 +243,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- name: Import GPG Key | ||
uses: crazy-max/ghaction-import-gpg@v1 | ||
|
@@ -257,6 +257,7 @@ jobs: | |
echo "Publishing Version $(grep -e "version" gradle.properties | cut -f2 -d"=") to Github Packages" | ||
./gradlew publishAllPublicationsToGitHubPackagesRepository | ||
env: | ||
REPO: ${{ github.repository }} | ||
GITHUB_PACKAGE_USERNAME: ${{ github.actor }} | ||
GITHUB_PACKAGE_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | ||
#REPO: ${{ github.repository }} | ||
REPO: "catenax-ng/product-edc" | ||
GITHUB_PACKAGE_USERNAME: ${{ secrets.TEMP_GHPKG_USER }} | ||
GITHUB_PACKAGE_PASSWORD: ${{ secrets.TEMP_GHPKG_PASSWORD }} |
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 |
---|---|---|
|
@@ -56,7 +56,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- | ||
name: Cache ContainerD Image Layers | ||
|
@@ -84,7 +84,7 @@ jobs: | |
- role: control-plane | ||
extraMounts: | ||
- hostPath: ${PWD} | ||
containerPath: /srv/product-edc | ||
containerPath: /srv/tractusx-edc | ||
- hostPath: ${MAVEN_REPOSITORY} | ||
containerPath: /srv/m2-repository | ||
- hostPath: /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs | ||
|
@@ -262,7 +262,7 @@ jobs: | |
{ | ||
"args": [ | ||
"-c", | ||
"cd /product-edc && ./gradlew edc-tests:cucumber:test -Dcucumber=true" | ||
"cd /tractusx-edc && ./gradlew edc-tests:cucumber:test -Dcucumber=true" | ||
], | ||
"command": [ | ||
"/bin/sh" | ||
|
@@ -301,8 +301,8 @@ jobs: | |
"name": "edc-tests-cucumber", | ||
"volumeMounts": [ | ||
{ | ||
"mountPath": "/product-edc", | ||
"name": "product-edc" | ||
"mountPath": "/tractusx-edc", | ||
"name": "tractusx-edc" | ||
}, | ||
{ | ||
"mountPath": "/root/.m2/repository", | ||
|
@@ -316,9 +316,9 @@ jobs: | |
"volumes": [ | ||
{ | ||
"hostPath": { | ||
"path": "/srv/product-edc" | ||
"path": "/srv/tractusx-edc" | ||
}, | ||
"name": "product-edc" | ||
"name": "tractusx-edc" | ||
}, | ||
{ | ||
"hostPath": { | ||
|
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- | ||
name: Bump version in gradle.properties | ||
|
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 |
---|---|---|
|
@@ -61,7 +61,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
|
||
- name: Import GPG Key | ||
|
@@ -75,9 +75,10 @@ jobs: | |
echo "Publishing Version $(grep -e "version" gradle.properties | cut -f2 -d"=") to Github Packages" | ||
./gradlew publishAllPublicationsToGithubPackagesRepository | ||
env: | ||
REPO: ${{ github.repository }} | ||
GITHUB_PACKAGE_USERNAME: ${{ github.actor }} | ||
GITHUB_PACKAGE_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | ||
#REPO: ${{ github.repository }} | ||
REPO: "catenax-ng/product-edc" | ||
GITHUB_PACKAGE_USERNAME: ${{ secrets.TEMP_GHPKG_USER }} | ||
GITHUB_PACKAGE_PASSWORD: ${{ secrets.TEMP_GHPKG_PASSWORD }} | ||
|
||
# Release: Helm Charts | ||
helm-release: | ||
|
@@ -181,7 +182,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- | ||
name: Merge main back into develop and set new snapshot version | ||
|
@@ -201,8 +202,7 @@ jobs: | |
SNAPSHOT_VERSION=$VERSION | ||
# Persist the "version" in the gradle.properties | ||
sed -i 's/version=.*/version=${{ github.event.inputs.version }}/g' gradle.properties | ||
sed -i "s/version=.*/version=$SNAPSHOT_VERSION/g" gradle.properties | ||
# Commit and push to origin develop | ||
git add gradle.properties | ||
|
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- | ||
name: Verify proper formatting | ||
|
@@ -63,7 +63,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
# Build | ||
- | ||
|
@@ -112,7 +112,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
# Build | ||
- | ||
|
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 |
---|---|---|
|
@@ -69,7 +69,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- | ||
name: Verify proper formatting | ||
|
@@ -80,6 +80,18 @@ jobs: | |
./gradlew checkstyleMain checkstyleTest | ||
echo "Running Checkstyle is currently a placeholder" | ||
markdown-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install mardkdownlint | ||
run: npm install -g markdownlint-cli2 | ||
|
||
- name: Run markdownlint | ||
run: | | ||
markdownlint-cli2-config .markdownlint.yaml "**/*.md" | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
needs: [verify-formatting] | ||
|
@@ -91,7 +103,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
|
||
- name: Run Unit tests | ||
|
@@ -108,7 +120,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
|
||
- name: Run Integration tests | ||
|
@@ -125,7 +137,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
|
||
- name: Run API tests | ||
|
@@ -142,7 +154,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
|
||
- name: Run E2E tests | ||
|
@@ -165,7 +177,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- | ||
name: Cache SonarCloud packages | ||
|
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,24 @@ | ||
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Apache License, Version 2.0 which is available at | ||
# https://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
|
||
"default": true | ||
# Do not restrict line length: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#MD013 | ||
"MD013": false | ||
# Allow same content on headlines on siblings: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#MD024 | ||
"MD024": | ||
"siblings_only": true |
Oops, something went wrong.