Skip to content

Commit

Permalink
chore(helm test): update version to upgrade from and k8s version
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy committed Mar 11, 2024
1 parent ccd6a8c commit 7b6a739
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/centralidp-chart-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ on:
node_image:
description: 'kindest/node image for k8s kind cluster'
# k8s version to support
default: 'kindest/node:v1.26.6'
default: 'kindest/node:v1.27.3'
required: false
type: string
upgrade_from:
description: 'portal chart version to upgrade from'
# centralidp version from 23.09 release
default: '1.2.0'
# centralidp version from 24.03 release
default: '2.1.0'
required: false
type: string

Expand All @@ -55,7 +55,7 @@ jobs:
uses: container-tools/kind-action@v2
with:
version: v0.19.0
node_image: ${{ github.event.inputs.node_image || 'kindest/node:v1.26.6' }}
node_image: ${{ github.event.inputs.node_image || 'kindest/node:v1.27.3' }}

- name: Set up Helm
uses: azure/setup-helm@v3
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
run: |
helm repo add bitnami-full-index https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
helm install centralidp tractusx-dev/centralidp --version ${{ github.event.inputs.upgrade_from || '1.2.0' }}
helm install centralidp tractusx-dev/centralidp --version ${{ github.event.inputs.upgrade_from || '2.1.0' }}
helm dependency update charts/centralidp
helm upgrade centralidp charts/centralidp
if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'
10 changes: 5 additions & 5 deletions .github/workflows/sharedidp-chart-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ on:
node_image:
description: 'kindest/node image for k8s kind cluster'
# k8s version to support
default: 'kindest/node:v1.26.6'
default: 'kindest/node:v1.27.3'
required: false
type: string
upgrade_from:
description: 'portal chart version to upgrade from'
# sharedidp version from 23.09 release
default: '1.2.0'
# sharedidp version from 24.03 release
default: '2.1.0'
required: false
type: string

Expand All @@ -55,7 +55,7 @@ jobs:
uses: container-tools/kind-action@v2
with:
version: v0.19.0
node_image: ${{ github.event.inputs.node_image || 'kindest/node:v1.26.6' }}
node_image: ${{ github.event.inputs.node_image || 'kindest/node:v1.27.3' }}

- name: Set up Helm
uses: azure/setup-helm@v3
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
run: |
helm repo add bitnami-full-index https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
helm install sharedidp tractusx-dev/sharedidp --version ${{ github.event.inputs.upgrade_from || '1.2.0' }}
helm install sharedidp tractusx-dev/sharedidp --version ${{ github.event.inputs.upgrade_from || '2.1.0' }}
helm dependency update charts/sharedidp
helm upgrade sharedidp charts/sharedidp
if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'

0 comments on commit 7b6a739

Please sign in to comment.