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 1fd5b00
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
14 changes: 9 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,32 @@ jobs:
python-version: '3.10'

- name: Set up chart-testing
uses: helm/chart-testing-action@v2
# See please https://github.com/helm/chart-testing-action/issues/140
uses: helm/[email protected]

- 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/ci/dependencies-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extraContainers:
httpGet:
path: /health
port: 8081
initialDelaySeconds: 5
initialDelaySeconds: 6
periodSeconds: 5
- name: backend
image: 'ghcr.io/openzipkin/brave-example:armeria'
Expand Down

0 comments on commit 1fd5b00

Please sign in to comment.