From 1fd5b00a8f3c4c29c984cf545db33a3988c5e308 Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Mon, 5 Aug 2024 11:13:09 -0400 Subject: [PATCH] Remove artifacthub-repo.yml and try to fix CI Signed-off-by: Andriy Redko --- .github/workflows/test.yml | 14 +++++++++----- artifacthub-repo.yml | 3 --- charts/zipkin/ci/dependencies-values.yaml | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 artifacthub-repo.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8eb3436..b28d099 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Set up Helm - uses: azure/setup-helm@v3 + uses: azure/setup-helm@v4 with: version: v3.14.1 @@ -41,21 +41,23 @@ 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/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 @@ -63,6 +65,8 @@ jobs: - 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 diff --git a/artifacthub-repo.yml b/artifacthub-repo.yml deleted file mode 100644 index 247ff39..0000000 --- a/artifacthub-repo.yml +++ /dev/null @@ -1,3 +0,0 @@ -owners: - - name: reta - email: drreta@gmail.com diff --git a/charts/zipkin/ci/dependencies-values.yaml b/charts/zipkin/ci/dependencies-values.yaml index e659958..a5fc586 100644 --- a/charts/zipkin/ci/dependencies-values.yaml +++ b/charts/zipkin/ci/dependencies-values.yaml @@ -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'