From d214a14a1515295ea7ea025d79a12d3af834e5f5 Mon Sep 17 00:00:00 2001 From: RHJ5FE Date: Wed, 15 Nov 2023 10:20:23 +0100 Subject: [PATCH 1/6] helm upgrade --- .github/workflows/helm-test.yml | 14 ++++++++++++++ CHANGELOG.md | 6 ++++++ 2 files changed, 20 insertions(+) diff --git a/.github/workflows/helm-test.yml b/.github/workflows/helm-test.yml index 6b196f90..4708c355 100644 --- a/.github/workflows/helm-test.yml +++ b/.github/workflows/helm-test.yml @@ -29,6 +29,11 @@ on: default: 'kindest/node:v1.24.6' required: false type: string + upgrade_from: + description: 'chart version to upgrade from' + default: '0.1.32' + required: false + type: string jobs: lint-test: @@ -68,3 +73,12 @@ jobs: - name: Run chart-testing (install) run: ct install --charts charts/semantic-hub --config charts/chart-testing-config.yaml if: steps.list-changed.outputs.changed == 'true' + + - name: Run helm upgrade + run: | + helm repo add bitnami https://charts.bitnami.com/bitnami + helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev + helm install semantic-hub tractusx-dev/semantic-hub --version ${{ github.event.inputs.upgrade_from || '0.1.32' }} + helm dependency update charts/semantic-hub + helm upgrade semantic-hub charts/semantic-hub + if: steps.list-changed.outputs.changed == 'true' diff --git a/CHANGELOG.md b/CHANGELOG.md index a65dcc76..7461163a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.2.15 +### Added +- Added helm upgrade feature into helm test + +## fixed + ## 0.2.14 ### Added From 102c6b97574ce7cde1a1d293da90b8097551d1e4 Mon Sep 17 00:00:00 2001 From: RHJ5FE Date: Wed, 15 Nov 2023 10:22:05 +0100 Subject: [PATCH 2/6] test helm upgrade --- charts/semantic-hub/Chart.yaml | 2 +- charts/semantic-hub/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/semantic-hub/Chart.yaml b/charts/semantic-hub/Chart.yaml index 037ca841..44a05e93 100644 --- a/charts/semantic-hub/Chart.yaml +++ b/charts/semantic-hub/Chart.yaml @@ -26,7 +26,7 @@ sources: - https://github.com/eclipse-tractusx/sldt-semantic-hub type: application -version: 0.1.32 +version: 0.1.33 appVersion: 0.2.14 dependencies: - repository: https://charts.bitnami.com/bitnami diff --git a/charts/semantic-hub/values.yaml b/charts/semantic-hub/values.yaml index bff4f57d..b42093e3 100644 --- a/charts/semantic-hub/values.yaml +++ b/charts/semantic-hub/values.yaml @@ -65,7 +65,7 @@ hub: memory: 1024Mi requests: cpu: 250m - memory: 1024Mi + memory: 1025Mi graphdb: ## Include Fuski deployment or deploy separately From d49277635e33e0678e1d473d85d54b92ec421eea Mon Sep 17 00:00:00 2001 From: RHJ5FE Date: Wed, 15 Nov 2023 10:25:32 +0100 Subject: [PATCH 3/6] test helm upgrade --- charts/semantic-hub/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/semantic-hub/values.yaml b/charts/semantic-hub/values.yaml index b42093e3..12d9ed5b 100644 --- a/charts/semantic-hub/values.yaml +++ b/charts/semantic-hub/values.yaml @@ -65,7 +65,7 @@ hub: memory: 1024Mi requests: cpu: 250m - memory: 1025Mi + memory: 1023Mi graphdb: ## Include Fuski deployment or deploy separately From dcfea5b5484563a2e2cb4e5716a1a265bf4daaf2 Mon Sep 17 00:00:00 2001 From: RHJ5FE Date: Wed, 15 Nov 2023 10:31:53 +0100 Subject: [PATCH 4/6] reverted test helm upgrade --- charts/semantic-hub/Chart.yaml | 2 +- charts/semantic-hub/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/semantic-hub/Chart.yaml b/charts/semantic-hub/Chart.yaml index 44a05e93..037ca841 100644 --- a/charts/semantic-hub/Chart.yaml +++ b/charts/semantic-hub/Chart.yaml @@ -26,7 +26,7 @@ sources: - https://github.com/eclipse-tractusx/sldt-semantic-hub type: application -version: 0.1.33 +version: 0.1.32 appVersion: 0.2.14 dependencies: - repository: https://charts.bitnami.com/bitnami diff --git a/charts/semantic-hub/values.yaml b/charts/semantic-hub/values.yaml index 12d9ed5b..bff4f57d 100644 --- a/charts/semantic-hub/values.yaml +++ b/charts/semantic-hub/values.yaml @@ -65,7 +65,7 @@ hub: memory: 1024Mi requests: cpu: 250m - memory: 1023Mi + memory: 1024Mi graphdb: ## Include Fuski deployment or deploy separately From e511f18a34da14ee47a1912e021140d2cd65e033 Mon Sep 17 00:00:00 2001 From: RHJ5FE Date: Tue, 21 Nov 2023 13:47:28 +0100 Subject: [PATCH 5/6] changed to Capital letter --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 664a9d6b..34f89dc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Added helm upgrade feature into helm test -## fixed +## Fixed - Handled UrnSyntaxException. ## 0.2.14 From c7adac75c1ec35c563af020d94a7da6366016e1e Mon Sep 17 00:00:00 2001 From: RHJ5FE Date: Tue, 21 Nov 2023 13:48:14 +0100 Subject: [PATCH 6/6] corrected the format --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34f89dc9..82a0a338 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Added helm upgrade feature into helm test -## Fixed +### Fixed - Handled UrnSyntaxException. ## 0.2.14