Skip to content

Commit

Permalink
Merge pull request #49 from bci-oss/bug-fix/improve-helm-test
Browse files Browse the repository at this point in the history
Bug: Improved helm-test
  • Loading branch information
tunacicek authored Aug 21, 2023
2 parents 65379ec + b88c819 commit 08b90ff
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/helm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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-discovery-finder:testing

- name: Set up Helm
uses: azure/setup-helm@v3
with:
Expand Down
19 changes: 19 additions & 0 deletions charts/chart-testing-config.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion charts/discoveryfinder/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ home: https://eclipse-tractusx.github.io/
sources:
- https://github.com/eclipse-tractusx/sldt-discovery-finder
type: application
version: 0.1.9
version: 0.1.10
appVersion: 0.2.3-M1

dependencies:
Expand Down

0 comments on commit 08b90ff

Please sign in to comment.