Skip to content

Commit

Permalink
https://jira.catena-x.net/browse/KA-328 switch chart to local kind re…
Browse files Browse the repository at this point in the history
…gistry, using the correct ct command line
  • Loading branch information
drcgjung committed Aug 22, 2023
1 parent e600f84 commit 47f4321
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/helm-chart-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ jobs:
# install the chart to the kind cluster and run helm test
# define charts to test with the --charts parameter
- name: Run chart-testing (install)
run: ct install --charts charts/conforming-agent,charts/provisioning-agent,charts/remoting-agent --config charts/config/chart-testing-config.yaml
run: ct install --charts charts/conforming-agent,charts/provisioning-agent,charts/remoting-agent --config charts/config/chart-testing-config.yaml --helm-extra-set-args="--set=image.registry=kind-registry:5000/"
if: github.event_name != 'pull_request' || env.CHART_CHANGED == 'true'

# Upgrade the released chart version with the locally available chart
# default value for event_name != workflow_dispatch
- name: Run helm upgrade on conforming agent
run: |
helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
helm install conforming tractusx-dev/conforming-agent --version ${{ github.event.inputs.upgrade_from || 'x.x.x' }}
helm install conforming tractusx-dev/conforming-agent --version ${{ github.event.inputs.upgrade_from }} --set=image.registry=kind-registry:5000/
helm dependency update charts/conforming-agent
helm upgrade conforming charts/conforming-agent
if: (github.event_name != 'pull_request' || env.CHART_CHANGED == 'true') && github.event.inputs.upgrade_from != 'x.x.x'
Expand All @@ -117,7 +117,7 @@ jobs:
- name: Run helm upgrade on provisioning agent
run: |
helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
helm install provisioning tractusx-dev/provisioning-agent --version ${{ github.event.inputs.upgrade_from || 'x.x.x' }}
helm install provisioning tractusx-dev/provisioning-agent --version ${{ github.event.inputs.upgrade_from }} --set=image.registry=kind-registry:5000/
helm dependency update charts/provisioning-agent
helm upgrade provisioning charts/provisioning-agent
if: (github.event_name != 'pull_request' || env.CHART_CHANGED == 'true') && github.event.inputs.upgrade_from != 'x.x.x'
Expand All @@ -127,7 +127,7 @@ jobs:
- name: Run helm upgrade on remoting agent
run: |
helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
helm install remoting tractusx-dev/provisioning-agent --version ${{ github.event.inputs.upgrade_from || 'x.x.x' }}
helm install remoting tractusx-dev/provisioning-agent --version ${{ github.event.inputs.upgrade_from }} --set=image.registry=kind-registry:5000/
helm dependency update charts/remoting-agent
helm upgrade remoting charts/remoting-agent
if: (github.event_name != 'pull_request' || env.CHART_CHANGED == 'true') && github.event.inputs.upgrade_from != 'x.x.x'
2 changes: 1 addition & 1 deletion charts/config/chart-testing-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
# Config for testing charts
validate-maintainers: false
chart-repos:
helm-extra-set-args: "--set=registry=kind-registry:5000/"
helm-extra-set-args: "--set=image.registry=kind-registry:5000/"
2 changes: 1 addition & 1 deletion charts/provisioning-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
replicaCount: 1

image:
# -- target regirtry
# -- target registry
registry: docker.io/
# -- Which derivate of agent to use
repository: tractusx/provisioning-agent
Expand Down
2 changes: 1 addition & 1 deletion charts/remoting-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
replicaCount: 1

image:
# -- target regirtry
# -- target registry
registry: docker.io/
# -- Which derivate of agent to use
repository: tractusx/remoting-agent
Expand Down

0 comments on commit 47f4321

Please sign in to comment.