Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rework chart testing #113

Merged
merged 3 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/helm-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,21 @@ jobs:
- name: Install chart and run tests (tx-data-provider)
run: ct install --charts charts/tx-data-provider --target-branch ${{ steps.set-target-branch.outputs.target-branch }}

- name: Install chart for shared services (umbrella)
run: |
helm install umbrella charts/umbrella -f charts/values-test-shared-services.yaml -f charts/values-test-iam-init-container.yaml --namespace shared-services --create-namespace --debug --timeout 10m --set semantic-hub.graphdb.image=kind-registry:5000/jena-fuseki-docker:4.7.0
helm uninstall umbrella --namespace shared-services

- name: Install chart for data exchange (umbrella)
run: |
helm install umbrella charts/umbrella -f charts/values-test-data-exchange.yaml -f charts/values-test-iam-init-container.yaml --namespace data-exchange --create-namespace --debug --timeout 10m
helm uninstall umbrella --namespace data-exchange

- name: Install chart for shared services one (umbrella)
run: |
helm install umbrella charts/umbrella -f charts/values-test-shared-service-1.yaml -f charts/values-test-iam-init-container.yaml --namespace shared-services --create-namespace --debug --timeout 10m
helm uninstall umbrella --namespace shared-services

- name: Install chart for shared services two (umbrella)
run: |
helm install umbrella charts/umbrella -f charts/values-test-shared-services-2.yaml -f charts/values-test-iam-init-container.yaml --namespace shared-services --create-namespace --debug --timeout 10m --set semantic-hub.graphdb.image=kind-registry:5000/jena-fuseki-docker:4.7.0
helm uninstall umbrella --namespace shared-services

## Skip upgrade for now until a working chart is released
#- name: Run helm upgrade
# run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,8 @@ centralidp:
sharedidp:
enabled: true

bpndiscovery:
enabled: true

discoveryfinder:
enabled: true

selfdescription:
enabled: true

semantic-hub:
enabled: true

managed-identity-wallet:
enabled: true

dataconsumer:
enabled: false

tx-data-provider:
enabled: false
27 changes: 27 additions & 0 deletions charts/values-test-shared-services-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
###############################################################
# Copyright (c) 2024 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
###############################################################

bpndiscovery:
enabled: true

discoveryfinder:
enabled: true

semantic-hub:
enabled: true