Skip to content

Commit

Permalink
Merge pull request #1379 from eclipse-tractusx/release/0.7.3
Browse files Browse the repository at this point in the history
Release version 0.7.3
  • Loading branch information
paullatzelsperger authored Jun 25, 2024
2 parents 314b28b + 81d3b51 commit bdaa973
Show file tree
Hide file tree
Showing 133 changed files with 2,192 additions and 2,192 deletions.
2 changes: 1 addition & 1 deletion .github/actions/publish-docker-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4

- name: Download OpenTelemetry
shell: bash
Expand Down
6 changes: 5 additions & 1 deletion .github/actions/run-deployment-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-java

- name: Setup Helm
Expand Down Expand Up @@ -84,6 +84,10 @@ runs:
shell: bash
run: ${{ inputs.helm_command }}

- name: Print logs
if: failure()
shell: bash
run: kubectl get deployments | tail -n +2 | awk '{print $1}' | sed 's/^/deployment\//' | xargs -n1 kubectl logs

#################
### Tear Down ###
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-memory-runtime/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ runs:
max_attempts: 3
command: |
code=$(curl -IL -sw "%{http_code}" http://localhost:8181/api/check/health -o /dev/null)
if [ "$code" -ne "401" ]; then
if [ "$code" -ne "200" ]; then
echo "TractusX EDC not ready yet, status = $code"
docker logs dast-edc-runtime-1
exit 1;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-new-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
GITHUB_PACKAGE_USERNAME: ${{ github.actor }}
GITHUB_PACKAGE_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
- name: Bump version in /charts
uses: mikefarah/[email protected].1
uses: mikefarah/[email protected].2
with:
cmd: |-
find charts -name Chart.yaml -maxdepth 3 | xargs -n1 yq -i '.appVersion = "${{ github.event.inputs.version }}" | .version = "${{ github.event.inputs.version }}"'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,33 @@
# SPDX-License-Identifier: Apache-2.0
#################################################################################

name: "Verify DIM"

---
name: Publish JSON-LD context

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
push:
branches: [main]
paths:
- 'core/json-ld-core/src/main/resources/document/**'

jobs:
dim-integration-tests:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- uses: actions/checkout@v4
- name: copy contexts into public folder
run: |
mkdir -p public/context
cp core/json-ld-core/src/main/resources/document/tx-auth-v1.jsonld public/context/
cp core/json-ld-core/src/main/resources/document/tx-v1.jsonld public/context/
- uses: ./.github/actions/setup-java

- name: Run DIM Integration tests
run: ./gradlew test -DincludeTags="DimIntegrationTest"
- name: deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
keep_files: true
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@0.20.0
uses: aquasecurity/trivy-action@0.23.0
with:
scan-type: "config"
# ignore-unfixed: true
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
## the next two steps will only execute if the image exists check was successful
- name: Run Trivy vulnerability scanner
if: success() && steps.imageCheck.outcome != 'failure'
uses: aquasecurity/trivy-action@0.20.0
uses: aquasecurity/trivy-action@0.23.0
with:
image-ref: "tractusx/${{ matrix.image }}:sha-${{ needs.git-sha7.outputs.value }}"
format: "sarif"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/upgradeability-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ jobs:
# execute the helm test
helm test tx-prod
- name: Print logs
if: failure()
shell: bash
run: kubectl get deployments | tail -n +2 | awk '{print $1}' | sed 's/^/deployment\//' | xargs -n1 kubectl logs

- name: Destroy the kind cluster
if: always()
shell: bash
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ jobs:
run: |
./gradlew checkstyleMain checkstyleTest
verify-javadoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-java

- name: Run Javadoc
run: ./gradlew javadoc

unit-tests:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -128,7 +137,7 @@ jobs:
- name: Run E2E tests (${{ matrix.variant.dir }})
run: |
./gradlew compileJava compileTestJava --refresh-dependencies
./gradlew -p ${{ matrix.variant.dir }} test -DincludeTags="EndToEndTest"
./gradlew -p ${{ matrix.variant.dir }} test -DincludeTags="EndToEndTest" -PverboseTest=true
postgres-tests:
runs-on: ubuntu-latest
Expand All @@ -147,7 +156,7 @@ jobs:
- name: Run Postgresql E2E tests
run: ./gradlew test -DincludeTags="PostgresqlIntegrationTest" --refresh-dependencies

dataplane-tests:
cloud-transfer-tests:
runs-on: ubuntu-latest

steps:
Expand All @@ -157,4 +166,4 @@ jobs:
- name: Run Azure/S3 dataplane tests
run: |
./gradlew compileJava compileTestJava
./gradlew -p edc-tests/edc-dataplane test -DincludeTags="AzureCosmosDbIntegrationTest,AwsS3IntegrationTest"
./gradlew -p edc-tests/edc-dataplane test -DincludeTags="CloudTransferTest"
31 changes: 24 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,48 @@ Catena-X alliance focusing on parts traceability.

* <https://projects.eclipse.org/projects/automotive.tractusx>

## Project licenses

The Tractus-X project uses the following licenses:

* Apache-2.0 for code
* CC-BY-4.0 for non-code

## Terms of Use

This repository is subject to the Terms of Use of the Eclipse Foundation

* https://www.eclipse.org/legal/termsofuse.php

## Developer resources

Information regarding source code management, builds, coding standards, and
more.

* <https://projects.eclipse.org/projects/automotive.tractusx/developer>
* https://projects.eclipse.org/projects/automotive.tractusx/developer

Getting started:

* https://eclipse-tractusx.github.io/docs/developer

The project maintains the source code repositories in the following GitHub organization:

* <https://github.com/eclipse-tractusx/>
* https://github.com/eclipse-tractusx/

## Eclipse Development Process

This Eclipse Foundation open project is governed by the Eclipse Foundation
Development Process and operates under the terms of the Eclipse IP Policy.

* <https://eclipse.org/projects/dev_process>
* <https://www.eclipse.org/org/documents/Eclipse_IP_Policy.pdf>
* https://eclipse.org/projects/dev_process
* https://www.eclipse.org/org/documents/Eclipse_IP_Policy.pdf

## Eclipse Contributor Agreement

In order to be able to contribute to Eclipse Foundation projects you must
electronically sign the Eclipse Contributor Agreement (ECA).

* <http://www.eclipse.org/legal/ECA.php>
* http://www.eclipse.org/legal/ECA.php

The ECA provides the Eclipse Foundation with a permanent record that you agree
that each of your contributions will comply with the commitments documented in
Expand All @@ -49,10 +66,10 @@ the email address matching the "Author" field of your contribution's Git commits
fulfills the DCO's requirement that you sign-off on your contributions.

For more information, please see the Eclipse Committer Handbook:
<https://www.eclipse.org/projects/handbook/#resources-commit>
https://www.eclipse.org/projects/handbook/#resources-commit

## Contact

Contact the project developers via the project's "dev" list.

* <https://accounts.eclipse.org/mailing-list/tractusx-dev>
* https://accounts.eclipse.org/mailing-list/tractusx-dev
Loading

0 comments on commit bdaa973

Please sign in to comment.