Skip to content

Commit

Permalink
Remove artifacthub-repo.yml and try to fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Aug 5, 2024
1 parent a8ec3a1 commit e770ff8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
git config user.email "[email protected]"
- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4
with:
version: v3.14.1

Expand All @@ -41,28 +41,31 @@ jobs:
python-version: '3.10'

- name: Set up chart-testing
uses: helm/chart-testing-action@v2
uses: helm/chart-testing-action@v2.6.1

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed)
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
run: ct lint --config .github/ct.yml
if: steps.list-changed.outputs.changed == 'true'

- name: Create kind cluster
uses: helm/kind-action@v1
uses: helm/kind-action@v1.10.0
if: steps.list-changed.outputs.changed == 'true'

- name: Setup helmfile
uses: mamezou-tech/[email protected]

- name: Install prometheus
run: helmfile -f charts/zipkin/ci/helmfile.yaml sync
if: steps.list-changed.outputs.changed == 'true'

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install
3 changes: 0 additions & 3 deletions artifacthub-repo.yml

This file was deleted.

2 changes: 1 addition & 1 deletion charts/zipkin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ appVersion: 3.4.1
name: zipkin
description: A Zipkin helm chart for kubernetes
type: application
version: 0.3.4 # chart version maintained by release automation
version: 0.3.4 # chart version maintained by release automation

Check failure on line 17 in charts/zipkin/Chart.yaml

View workflow job for this annotation

GitHub Actions / test

17:65 [trailing-spaces] trailing spaces
maintainers:
- name: openzipkin
email: [email protected]

0 comments on commit e770ff8

Please sign in to comment.