Skip to content

Commit

Permalink
ci: fix chart check
Browse files Browse the repository at this point in the history
  • Loading branch information
FushuWang committed Jul 21, 2023
1 parent f9e055c commit c8c3a76
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/chart_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:

# Install the pulsar operator before testing the sn-platform
- name: Install the pulsar operator
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name == 'charts/sn-platform'
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name != 'charts/pulsar-operator'
run: |
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm -n sn-system install sn charts/pulsar-operator --create-namespace
Expand All @@ -146,7 +146,7 @@ jobs:
df -h
- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts charts/sn-platform
run: ct install --debug --config ct.yaml --print-config --charts {{ steps.list-changed.outputs.chart_name }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:

# Install the pulsar operator before testing the sn-platform
- name: Install the pulsar operator
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name == 'charts/sn-platform'
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name != 'charts/pulsar-operator'
run: |
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm -n sn-system install sn charts/pulsar-operator --create-namespace
Expand All @@ -220,7 +220,7 @@ jobs:
df -h
- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts charts/sn-platform
run: ct install --debug --config ct.yaml --print-config --charts {{ steps.list-changed.outputs.chart_name }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:

# Install the pulsar operator before testing the sn-platform
- name: Install the pulsar operator
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name == 'charts/sn-platform'
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name != 'charts/pulsar-operator'
run: |
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm -n sn-system install sn charts/pulsar-operator --create-namespace
Expand All @@ -294,7 +294,7 @@ jobs:
df -h
- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts charts/sn-platform
run: ct install --debug --config ct.yaml --print-config --charts {{ steps.list-changed.outputs.chart_name }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:

# Install the pulsar operator before testing the sn-platform
- name: Install the pulsar operator
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name == 'charts/sn-platform'
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name != 'charts/pulsar-operator'
run: |
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm -n sn-system install sn charts/pulsar-operator --create-namespace
Expand All @@ -368,7 +368,7 @@ jobs:
df -h
- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts charts/sn-platform
run: ct install --debug --config ct.yaml --print-config --charts {{ steps.list-changed.outputs.chart_name }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:

# Install the pulsar operator before testing the sn-platform
- name: Install the pulsar operator
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name == 'charts/sn-platform'
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name != 'charts/pulsar-operator'
run: |
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm -n sn-system install sn charts/pulsar-operator --create-namespace
Expand All @@ -442,7 +442,7 @@ jobs:
df -h
- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts charts/sn-platform
run: ct install --debug --config ct.yaml --print-config --charts {{ steps.list-changed.outputs.chart_name }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -504,7 +504,7 @@ jobs:

# Install the pulsar operator before testing the sn-platform
- name: Install the pulsar operator
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name == 'charts/sn-platform'
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name != 'charts/pulsar-operator'
run: |
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm -n sn-system install sn charts/pulsar-operator --create-namespace
Expand All @@ -517,7 +517,7 @@ jobs:
df -h
- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts charts/sn-platform
run: ct install --debug --config ct.yaml --print-config --charts {{ steps.list-changed.outputs.chart_name }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -579,7 +579,7 @@ jobs:

# Install the pulsar operator before testing the sn-platform
- name: Install the pulsar operator
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name == 'charts/sn-platform'
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name != 'charts/pulsar-operator'
run: |
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm -n sn-system install sn charts/pulsar-operator --create-namespace
Expand All @@ -592,7 +592,7 @@ jobs:
df -h
- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts charts/sn-platform
run: ct install --debug --config ct.yaml --print-config --charts {{ steps.list-changed.outputs.chart_name }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -654,7 +654,7 @@ jobs:

# Install the pulsar operator before testing the sn-platform
- name: Install the pulsar operator
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name == 'charts/sn-platform'
if: steps.list-changed.outputs.changed == 'true' && steps.list-changed.outputs.chart_name != 'charts/pulsar-operator'
run: |
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm -n sn-system install sn charts/pulsar-operator --create-namespace
Expand All @@ -667,7 +667,7 @@ jobs:
df -h
- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts charts/sn-platform
run: ct install --debug --config ct.yaml --print-config --charts {{ steps.list-changed.outputs.chart_name }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down

0 comments on commit c8c3a76

Please sign in to comment.