Skip to content

Commit

Permalink
Merge pull request #139 from catenax-ng/main
Browse files Browse the repository at this point in the history
Hotfix for missing BPN
  • Loading branch information
ds-jhartmann authored Jul 24, 2023
2 parents fca8486 + 8b3308d commit c3a9b67
Show file tree
Hide file tree
Showing 17 changed files with 156 additions and 557 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/helm-chart-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,35 +35,9 @@ jobs:
echo "::set-output name=current_version::$chartVersion"
echo "Exported $chartVersion helm charts version"
get-helm-charts-versions-edc:
outputs:
latest_version: ${{ steps.step1.outputs.latest_version }}
current_version: ${{ steps.step2.outputs.current_version }}
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Get helm charts latest tag version
id: step1
run: |
latestVersion=$(git tag | grep "irs-edc-consumer-[1-9]" | tail -1)
echo "::set-output name=latest_version::$latestVersion"
echo "Exported $latestVersion latest helm charts version"
- name: Get helm charts current version
id: step2
run: |
chartVersion=irs-edc-consumer-$(cat ./charts/edc-consumer/Chart.yaml | grep "version:" | head -1 | cut -d ":" -d " " -f2)
echo "::set-output name=current_version::$chartVersion"
echo "Exported $chartVersion helm charts version"
release:
needs: ["get-helm-charts-versions-irs", "get-helm-charts-versions-edc"]
if: needs.get-helm-charts-versions-irs.outputs.latest_version != needs.get-helm-charts-versions-irs.outputs.current_version || needs.get-helm-charts-versions-edc.outputs.latest_version != needs.get-helm-charts-versions-edc.outputs.current_version
needs: "get-helm-charts-versions-irs"
if: needs.get-helm-charts-versions-irs.outputs.latest_version != needs.get-helm-charts-versions-irs.outputs.current_version
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Run chart-testing (lint)
run: |
ct lint --excluded-charts=edc-consumer --validate-maintainers=false --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }}
ct lint --validate-maintainers=false --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }}
- name: Run chart-testing (install)
run: |
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/quality-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Quality Checks (Release Guidelines)"

on:
workflow_dispatch: # Trigger manually
push:
branches:
- main
pull_request:
branches:
- main

jobs:
check-quality:
name: Check quality guidelines
uses: eclipse-tractusx/sig-infra/.github/workflows/reusable-quality-checks.yaml@main
secrets: inherit
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.3.1] - 2023-07-24
### Fixed
- Added missing field `businessPartner` for relationship aspect SingleLevelUsageAsBuilt

## [3.3.0] - 2023-07-20
### Changed
- BPN is now taken from the submodel data while traversing the item graph
Expand Down Expand Up @@ -287,7 +291,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Unresolved
- **Select Aspects you need** You are able to select the needed aspects for which you want to collect the correct endpoint information.

[Unreleased]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.3.0...HEAD
[Unreleased]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.3.1...HEAD
[3.3.1]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.3.0...3.3.1
[3.3.0]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.2.1...3.3.0
[3.2.1]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.2.0...3.2.1
[3.2.0]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.1.0...3.2.0
Expand Down
23 changes: 0 additions & 23 deletions charts/edc-consumer/.helmignore

This file was deleted.

53 changes: 0 additions & 53 deletions charts/edc-consumer/CHANGELOG.md

This file was deleted.

33 changes: 0 additions & 33 deletions charts/edc-consumer/Chart.yaml

This file was deleted.

Loading

0 comments on commit c3a9b67

Please sign in to comment.