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

Release version 0.3.3 #248

Merged
merged 123 commits into from
Apr 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
b67df83
Generate OpenApi Spec
Mar 21, 2023
5ea8fb4
feat(baseImage): replace alpine with temurin as base image for runnin…
wolf4ood Mar 27, 2023
84d58ee
Lint and refactor mostly all *.md files
florianrusch-zf Mar 15, 2023
36b25f3
Lint new changes from develop branch
florianrusch-zf Mar 21, 2023
d032db8
Replace appearance of product-edc with tractusx-edc
florianrusch-zf Mar 21, 2023
aa952ba
Fix README.md and Transfer Data.md
florianrusch-zf Mar 22, 2023
bc7a1aa
Fix Transfer Data.md
florianrusch-zf Mar 22, 2023
9edbfc6
Regenerate helm chart README.md files
florianrusch-zf Mar 23, 2023
f34c84f
Remove left over html tags from root REAMDE.md
florianrusch-zf Mar 23, 2023
f9c7682
Add empty line at EOF
florianrusch-zf Mar 23, 2023
58205ba
Update CODE_OF_CONDUCT.md
florianrusch-zf Mar 23, 2023
b2a0156
Retrigger ci
florianrusch-zf Mar 23, 2023
1640d14
Merge pull request #134 from florianrusch-zf/refactor/lint-markdown-f…
SebastianBezold Mar 28, 2023
2dbcaec
Release: fix version handling
paullatzelsperger Mar 27, 2023
4400500
Prepare release 0.3.1
web-flow Mar 27, 2023
aa789b2
Cherry-picked upstream commits (QGate stuff) in preparation for the 0…
stephanbcbauer Mar 1, 2023
d296201
fix: use snapshot version after publish workflow
paullatzelsperger Mar 28, 2023
b46b310
docs: add additional info for running business tests locally
wolf4ood Mar 24, 2023
b20ddaa
feat(CI): add Markdown linter
wolf4ood Mar 21, 2023
c2c936c
md lint fix
wolf4ood Mar 28, 2023
b358e78
pr remarks
wolf4ood Mar 28, 2023
4b15b47
Apply suggestions from code review
paullatzelsperger Mar 28, 2023
15ca06f
Update .github/workflows/verify.yaml
wolf4ood Mar 28, 2023
8f28b85
Merge pull request #149 from catenax-ng/feat/130_use_eclipse_temurin
SebastianBezold Mar 28, 2023
34967f7
Merge pull request #146 from catenax-ng/docs/business_tests_additiona…
SebastianBezold Mar 28, 2023
35da56a
Merge pull request #132 from catenax-ng/build/117_add_markdown_linter
SebastianBezold Mar 28, 2023
c6ea80d
Merge pull request #158 from catenax-ng/develop
SebastianBezold Mar 28, 2023
3552723
chore(md-linting): Fix markdown lint
wolf4ood Mar 28, 2023
bbe4780
fix: make AZKV clientsecret or certificate mutually exclusive
paullatzelsperger Mar 29, 2023
d77e627
revert pointless blanks
paullatzelsperger Mar 30, 2023
85a9711
Merge pull request #160 from catenax-ng/chore/fix_md_linter
SebastianBezold Mar 30, 2023
6707719
Merge pull request #137 from catenax-ng/docs/generate_openapi_spec
SebastianBezold Mar 30, 2023
27d776f
fix: use correct paths for GH Packages docker reg.
paullatzelsperger Mar 29, 2023
0cc6d68
Merge pull request #169 from paullatzelsperger/fix/168_helm_chart_azu…
SebastianBezold Mar 30, 2023
536eb08
Merge pull request #165 from paullatzelsperger/fix/use_correct_repo_p…
SebastianBezold Mar 30, 2023
0d367ce
fix: only dockerize if a dockerfile exists
paullatzelsperger Mar 30, 2023
5f6486f
Merge pull request #172 from paullatzelsperger/fix/dockerization
SebastianBezold Mar 30, 2023
e862db7
chore: use old repo URL for Maven publication
paullatzelsperger Mar 30, 2023
8be6f9f
Merge pull request #173 from paullatzelsperger/chore/use_old_repourl_…
SebastianBezold Mar 30, 2023
1d61edd
fix: use PAT to publish to CXNG product-edc repo
paullatzelsperger Mar 30, 2023
9b53144
Introduce new snapshot version 0.3.3-SNAPSHOT
web-flow Mar 30, 2023
9836746
PR Remarks
paullatzelsperger Mar 31, 2023
f21c158
Merge pull request #174 from catenax-ng/develop
SebastianBezold Mar 31, 2023
2e7eb83
fix: remove duplicated code fragment in CHANGELOG
paullatzelsperger Mar 31, 2023
70ba6bd
Merge pull request #175 from paullatzelsperger/chore/fix_duplicated_c…
SebastianBezold Mar 31, 2023
fff4aec
feat: removed backend service, replaced with JVM runner test
paullatzelsperger Apr 1, 2023
d957581
docs: create decision record about renaming git branches
paullatzelsperger Apr 3, 2023
8ddae2d
removed obsolete HTTP test
paullatzelsperger Apr 3, 2023
97c6e4b
feat(charts): removes edc-controlplane and edc-dataplane charts
wolf4ood Apr 3, 2023
4408f2a
Merge pull request #176 from paullatzelsperger/feature/remove_private…
SebastianBezold Apr 4, 2023
d916e9e
Update docs/development/decision-records/2023-04-03_renaming_branches…
paullatzelsperger Apr 4, 2023
70a1ac4
Update docs/development/decision-records/2023-04-03_renaming_branches…
paullatzelsperger Apr 4, 2023
fb98526
Merge pull request #178 from catenax-ng/feature/171_remove_unused_charts
florianrusch-zf Apr 4, 2023
01d6cf9
feat(dataEncryption): removes lombok from data-encryption module
wolf4ood Apr 4, 2023
f52f5f1
Update edc-extensions/data-encryption/src/test/java/org/eclipse/tract…
wolf4ood Apr 5, 2023
7d58dea
Merge pull request #179 from catenax-ng/feature/153_remove_lombok_dat…
florianrusch-zf Apr 5, 2023
6ef8522
Fix issue with sql pool
Apr 5, 2023
16d1a66
Merge pull request #177 from paullatzelsperger/docs/decision_record_b…
paullatzelsperger Apr 5, 2023
c95c982
Merge pull request #181 from catenax-ng/bugfix/sql-pool-issue
Siegfriedk Apr 5, 2023
985a2f0
fix: add newline to file
paullatzelsperger Apr 11, 2023
4edfbb5
Merge pull request #193 from paullatzelsperger/bugfix/fix_markdown
paullatzelsperger Apr 11, 2023
5975acb
chore(deps): bump alpine
dependabot[bot] Apr 11, 2023
9c6b028
chore(deps): bump actions/setup-java from 3.10.0 to 3.11.0
dependabot[bot] Apr 11, 2023
ac08cbe
chore(deps): bump alpine from 3.17.2 to 3.17.3 in /edc-controlplane/e…
paullatzelsperger Apr 11, 2023
afc89ba
chore(deps): bump alpine
dependabot[bot] Apr 11, 2023
a14a35d
chore(deps): bump actions/setup-java from 3.10.0 to 3.11.0
paullatzelsperger Apr 11, 2023
16c2a13
chore(deps): bump alpine from 3.17.2 to 3.17.3 in /edc-controlplane/e…
paullatzelsperger Apr 11, 2023
0e57ad0
chore(deps): bump alpine
dependabot[bot] Apr 11, 2023
3684fbe
chore(deps): bump alpine
dependabot[bot] Apr 11, 2023
eda9f9e
chore(deps): bump alpine from 3.17.2 to 3.17.3 in /edc-controlplane/e…
paullatzelsperger Apr 11, 2023
856750d
chore(deps): bump alpine from 3.17.2 to 3.17.3 in /edc-dataplane/edc-…
paullatzelsperger Apr 11, 2023
0de7acc
chore(deps): bump alpine
dependabot[bot] Apr 11, 2023
379cfa0
chore(deps): bump alpine from 3.17.2 to 3.17.3 in /edc-dataplane/edc-…
paullatzelsperger Apr 11, 2023
94e2fb4
docs: create decision-record about refactoring helm charts
paullatzelsperger Apr 11, 2023
302ce5d
chore(deps): bump crazy-max/ghaction-import-gpg from 1 to 5
dependabot[bot] Apr 12, 2023
4ad4322
chore(deps): bump helm/chart-testing-action from 2.3.1 to 2.4.0
dependabot[bot] Apr 12, 2023
2d7652d
chore(deps): bump mikefarah/yq from 4.31.2 to 4.33.3
dependabot[bot] Apr 12, 2023
14b6d87
feature: publish docker images to DockerHub
paullatzelsperger Apr 12, 2023
cb4156a
add manual docker-publish workflow
paullatzelsperger Apr 12, 2023
189b434
avoid input params, add concurrency
paullatzelsperger Apr 12, 2023
e58a3a0
add checkout action
paullatzelsperger Apr 12, 2023
f8d6ee2
creds as action inputs
paullatzelsperger Apr 12, 2023
6e93812
add jar build step
paullatzelsperger Apr 12, 2023
e56a86b
make namespace overridable
paullatzelsperger Apr 12, 2023
062ddb7
updated notices
paullatzelsperger Apr 12, 2023
03dd9db
incorporate new docker publish flow
paullatzelsperger Apr 12, 2023
69171f8
update chart deployment specs
paullatzelsperger Apr 12, 2023
2ba15ea
fix formatting
paullatzelsperger Apr 12, 2023
26fb63f
markdown lint
paullatzelsperger Apr 12, 2023
cbed534
fix workflow
paullatzelsperger Apr 12, 2023
f036a59
remove image namespace
paullatzelsperger Apr 12, 2023
fe6891e
prevent all interaction with dockerhub on pull requests
paullatzelsperger Apr 12, 2023
0566153
feature: publish Docker images to DockerHub
paullatzelsperger Apr 12, 2023
ab322ac
docs: decision record about refactoring helm charts
paullatzelsperger Apr 13, 2023
d38c163
docs: add technical committer to pr_etiquette.md (#182)
florianrusch-zf Apr 13, 2023
4347ea1
chore(deps): bump mikefarah/yq from 4.31.2 to 4.33.3
paullatzelsperger Apr 13, 2023
b6dce81
chore(deps): bump helm/chart-testing-action from 2.3.1 to 2.4.0
paullatzelsperger Apr 13, 2023
486d0cd
Merge pull request #205 from eclipse-tractusx/dependabot/github_actio…
paullatzelsperger Apr 13, 2023
79789ba
chore: update to temurin 17 (#212)
paullatzelsperger Apr 14, 2023
0ac05fe
feat(tests): removes lombok from edc-tests module (#159)
wolf4ood Apr 14, 2023
ecccbb0
chore: add a template for pull request descriptions (#213)
paullatzelsperger Apr 14, 2023
406e137
fix: Adapt Helm Chart for version 0.3.x (#211)
tuncaytunc-zf Apr 14, 2023
e566646
refactor: rename git branches (#218)
paullatzelsperger Apr 15, 2023
8587656
chore(deps): bump io.cucumber:cucumber-junit-platform-engine from 7.1…
dependabot[bot] Apr 17, 2023
568b0cf
chore(deps): bump io.cucumber:cucumber-java from 7.11.1 to 7.11.2 (#225)
dependabot[bot] Apr 17, 2023
d47f39e
chore(deps): bump org.testcontainers:junit-jupiter from 1.17.6 to 1.1…
dependabot[bot] Apr 17, 2023
bdd8482
chore(deps): bump com.bmuschko.docker-remote-api from 9.2.1 to 9.3.1 …
dependabot[bot] Apr 17, 2023
945ef0c
chore(deps): bump org.testcontainers:vault from 1.17.6 to 1.18.0 (#223)
dependabot[bot] Apr 17, 2023
fd241d0
docs(control-plane-adapter): improve documentation on how to use the …
saschaisele-zf Apr 17, 2023
ec424a8
feature: create in-mem helm chart (#219)
paullatzelsperger Apr 17, 2023
689f778
chore(deps): bump org.slf4j:slf4j-api from 2.0.3 to 2.0.7 (#234)
dependabot[bot] Apr 18, 2023
abb352a
chore(deps): bump com.azure:azure-security-keyvault-secrets (#235)
dependabot[bot] Apr 18, 2023
7c03aec
chore(deps): bump com.diffplug.spotless from 6.15.0 to 6.18.0 (#236)
dependabot[bot] Apr 18, 2023
192c442
chore(deps): bump com.github.johnrengelman.shadow from 8.0.0 to 8.1.1…
dependabot[bot] Apr 18, 2023
c0aa1d4
chore(deps): bump io.freefair.lombok from 6.6.2 to 8.0.1 (#238)
dependabot[bot] Apr 18, 2023
0b9c11c
chore(deps): bump org.flywaydb:flyway-core from 9.15.2 to 9.16.3 (#242)
dependabot[bot] Apr 19, 2023
d268bf0
chore(deps): bump com.google.code.gson:gson from 2.10 to 2.10.1 (#243)
dependabot[bot] Apr 19, 2023
f30e78a
refactor: update GitHub output command to current version (#233)
gcs14 Apr 19, 2023
31bfed7
fix: only run trivy when docker images were actually built (#240)
paullatzelsperger Apr 19, 2023
6521dc3
refactor: Extract the setup-java action into a re-usable action (#246)
tuncaytunc-zf Apr 19, 2023
04985e0
feat(BusinessPartnerValidation): adds logging if it's enabled on cont…
wolf4ood Apr 19, 2023
9f9c81e
release-fix: use correct value
paullatzelsperger Apr 19, 2023
d791569
Prepare release 0.3.3
web-flow Apr 19, 2023
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
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## WHAT

_Briefly describe what your PR changes, which features it adds/modifies._

## WHY

_Briefly state why the change was necessary._

## FURTHER NOTES

_List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc._

Closes # <-- _insert Issue number if one exists_
109 changes: 109 additions & 0 deletions .github/actions/publish-docker-image/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
#
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# Copyright (c) 2023 Contributors to the Eclipse Foundation
#
# 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
#

---
name: "Publish Docker Image"
description: "Build and publish a Docker Image to DockerHub"
inputs:
rootDir:
required: true
description: "The directory where the notice.md file and the src/main/docker directory are located"
namespace:
required: false
default: "tractusx"
description: "The Docker image namespace"
imagename:
required: true
description: "the name of the image"
docker_user:
required: false
description: "DockerHub user name. No push is done if omitted"
docker_token:
required: false
description: "DockerHub Token. No push is done if omitted"
runs:
using: "composite"
steps:
- uses: actions/[email protected]

#####################
# Login to DockerHub
#####################
- name: DockerHub login
uses: docker/login-action@v2
with:
username: ${{ inputs.docker_user }}
password: ${{ inputs.docker_token }}

#####################
# Build JAR file
#####################
- uses: ./.github/actions/setup-java
- name: Build Controlplane
shell: bash
run: |-
./gradlew -p ${{ inputs.rootDir }} shadowJar

###############################
# Set metadata of docker image
###############################
# Create SemVer or ref tags dependent of trigger event
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ inputs.namespace }}/${{ inputs.imagename }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{raw}}
type=match,pattern=\d.\d.\d
type=raw,value=latest,enable={{is_default_branch}}
type=sha

###############################
# Build and push the image
###############################
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
file: ${{ inputs.rootDir }}/src/main/docker/Dockerfile
build-args: |
JAR=${{ inputs.rootDir }}/build/libs/${{ inputs.imagename }}.jar
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

###############################
# Update the description
# https://github.com/peter-evans/dockerhub-description
###############################
- name: Update Docker Hub description
uses: peter-evans/dockerhub-description@v3
with:
readme-filepath: ${{ inputs.rootDir }}/notice.md
username: ${{ inputs.docker_user }}
password: ${{ inputs.docker_token }}
repository: ${{ inputs.namespace }}/${{ inputs.imagename }}
97 changes: 97 additions & 0 deletions .github/actions/run-deployment-test/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
#
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# Copyright (c) 2023 Contributors to the Eclipse Foundation
#
# 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
#

---
name: "Run Deployment Test"
description: "Build and publish a Docker Image to DockerHub"
inputs:
imagename:
required: true
description: "name of the docker image, e.g. edc-runtime-memory"

image_tag:
required: false
default: "latest"
description: "docker image tag, defaults to 'latest'"

helm_command:
required: true
description: "command which is executed to install the chart. must also include verification commands, such as 'helm test'"

rootDir:
required: true
description: "The directory that contains the docker file, e.g. edc-controlplane/edc-runtime-memory"

runs:
using: "composite"
steps:
- uses: actions/[email protected]

- name: Cache ContainerD Image Layers
uses: actions/cache@v3
with:
path: /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs
key: ${{ runner.os }}-io.containerd.snapshotter.v1.overlayfs

- uses: ./.github/actions/setup-java

- name: Build docker images
shell: bash
run: |-
./gradlew -p ${{ inputs.rootDir }} dockerize
- name: Setup Helm
uses: azure/[email protected]
with:
version: v3.8.1

- name: Setup Kubectl
uses: azure/[email protected]

- name: Create k8s Kind Cluster
uses: helm/[email protected]

- name: Load images into KinD
shell: bash
run: |
kind get clusters | xargs -n1 kind load docker-image ${{ inputs.imagename }}:${{ inputs.image_tag }} --name
###################################################
# Install the test infrastructure
###################################################
- name: Install Infrastructure
shell: bash
run: |-
helm install infra edc-tests/deployment/src/main/resources/helm/test-infrastructure \
--wait-for-jobs --timeout=30s --dependency-update
- name: Install Runtime
shell: bash
run: ${{ inputs.helm_command }}


#################
### Tear Down ###
#################
- name: Destroy the kind cluster
if: always()
shell: bash
run: >-
kind get clusters | xargs -n1 kind delete cluster --name
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#
# Copyright (c) 2023 ZF Friedrichshafen AG
# Copyright (c) 2023 Mercedes-Benz Tech Innovation GmbH
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# Copyright (c) 2021, 2023 Contributors to the Eclipse Foundation
# Copyright (c) 2023 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand All @@ -21,12 +19,14 @@
#

---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "edc-dataplane.fullname" . }}-env
namespace: {{ .Release.Namespace | default "default" | quote }}
labels:
{{- include "edc-dataplane.labels" . | nindent 4 }}
data:
{{- toYaml .Values.env | nindent 2 }}
name: "Setup JDK 17"
description: "Setup JDK 17"
runs:
using: "composite"
steps:
- name: Setup JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
16 changes: 8 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ version: 2
updates:
# Maven
-
package-ecosystem: "maven"
target-branch: develop
package-ecosystem: "gradle"
target-branch: main
directory: /
labels:
- "dependabot"
Expand All @@ -15,7 +15,7 @@ updates:
# Github Actions
-
package-ecosystem: "github-actions"
target-branch: develop
target-branch: main
directory: /
labels:
- "dependabot"
Expand All @@ -26,7 +26,7 @@ updates:
# Docker
-
package-ecosystem: "docker"
target-branch: develop
target-branch: main
directory: ./edc-controlplane/edc-controlplane-postgresql-hashicorp-vault/src/main/docker/
labels:
- "dependabot"
Expand All @@ -35,7 +35,7 @@ updates:
interval: "daily"
-
package-ecosystem: "docker"
target-branch: develop
target-branch: main
directory: ./edc-controlplane/edc-controlplane-postgresql/src/main/docker/
labels:
- "dependabot"
Expand All @@ -44,7 +44,7 @@ updates:
interval: "daily"
-
package-ecosystem: "docker"
target-branch: develop
target-branch: main
directory: ./edc-controlplane/edc-controlplane-memory/src/main/docker/
labels:
- "dependabot"
Expand All @@ -53,7 +53,7 @@ updates:
interval: "daily"
-
package-ecosystem: "docker"
target-branch: develop
target-branch: main
directory: ./edc-dataplane/edc-dataplane-azure-vault/src/main/docker/
labels:
- "dependabot"
Expand All @@ -62,7 +62,7 @@ updates:
interval: "daily"
-
package-ecosystem: "docker"
target-branch: develop
target-branch: main
directory: ./edc-dataplane/edc-dataplane-hashicorp-vault/src/main/docker/
labels:
- "dependabot"
Expand Down
Loading