From 1bd8b5965499a028dbd058ecbde6c741a4ceba24 Mon Sep 17 00:00:00 2001 From: "Aggarwal Sahil (BCI/ESW17)" Date: Mon, 21 Aug 2023 13:48:18 +0200 Subject: [PATCH] improved helm test --- .github/workflows/helm-test.yml | 15 +++++++-------- charts/bpndiscovery/Chart.yaml | 2 +- charts/chart-testing-config.yaml | 19 +++++++++++++++++++ 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.github/workflows/helm-test.yml b/.github/workflows/helm-test.yml index cd8144a..53c2e2d 100644 --- a/.github/workflows/helm-test.yml +++ b/.github/workflows/helm-test.yml @@ -22,6 +22,13 @@ name: Lint and Test Charts on: pull_request: workflow_dispatch: + inputs: + node_image: + description: 'kindest/node image for k8s kind cluster' + # k8s version from 3.1 release as default + default: 'kindest/node:v1.24.6' + required: false + type: string jobs: lint-test: @@ -40,14 +47,6 @@ jobs: # default value for event_name != workflow_dispatch node_image: ${{ github.event.inputs.node_image || 'kindest/node:v1.24.6' }} - - name: Build image - uses: docker/build-push-action@v3 - with: - context: . - file: ./backend/Dockerfile - push: true - tags: kind-registry:5000/sldt-bpn-discovery:testing - - name: Set up Helm uses: azure/setup-helm@v3 with: diff --git a/charts/bpndiscovery/Chart.yaml b/charts/bpndiscovery/Chart.yaml index 9916d51..3f7d522 100644 --- a/charts/bpndiscovery/Chart.yaml +++ b/charts/bpndiscovery/Chart.yaml @@ -24,7 +24,7 @@ sources: - https://github.com/eclipse-tractusx/sldt-bpn-discovery type: application -version: 0.1.8 +version: 0.1.9 appVersion: 0.2.4-M1 dependencies: diff --git a/charts/chart-testing-config.yaml b/charts/chart-testing-config.yaml index 0e182b7..f363ea2 100644 --- a/charts/chart-testing-config.yaml +++ b/charts/chart-testing-config.yaml @@ -1,3 +1,22 @@ +# Copyright (c) 2023 Robert Bosch Manufacturing Solutions GmbH +# 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 +############################################################### + validate-maintainers: false chart-repos: - bitnami=https://charts.bitnami.com/bitnami \ No newline at end of file