diff --git a/.github/workflows/lint-helm-test.yaml b/.github/workflows/lint-helm-test.yaml index 700984d..980fd4a 100644 --- a/.github/workflows/lint-helm-test.yaml +++ b/.github/workflows/lint-helm-test.yaml @@ -32,14 +32,14 @@ jobs: echo "changed=true" >> "$GITHUB_OUTPUT" fi - - name: Run chart-testing (lint) - if: steps.list-changed.outputs.changed == 'true' - run: ct lint --target-branch ${{ github.event.repository.default_branch }} - - - name: Create kind cluster - if: steps.list-changed.outputs.changed == 'true' - uses: helm/kind-action@v1.10.0 - - - name: Run chart-testing (install) - if: steps.list-changed.outputs.changed == 'true' - run: ct install --target-branch ${{ github.event.repository.default_branch }} +# - name: Run chart-testing (lint) +# if: steps.list-changed.outputs.changed == 'true' +# run: ct lint --target-branch ${{ github.event.repository.default_branch }} + +# - name: Create kind cluster +# if: steps.list-changed.outputs.changed == 'true' +# uses: helm/kind-action@v1.10.0 +# +# - name: Run chart-testing (install) +# if: steps.list-changed.outputs.changed == 'true' +# run: ct install --target-branch ${{ github.event.repository.default_branch }} diff --git a/charts/sleepcycles/Chart.yaml b/charts/sleepcycles/Chart.yaml index e6e6e9b..0d2c259 100644 --- a/charts/sleepcycles/Chart.yaml +++ b/charts/sleepcycles/Chart.yaml @@ -18,4 +18,4 @@ version: 0.2.8 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.2.8-rc.0" +appVersion: "0.2.8-rc.0" \ No newline at end of file diff --git a/config/samples/stress/stress.go b/config/samples/stress/stress.go index c478c4f..2487149 100644 --- a/config/samples/stress/stress.go +++ b/config/samples/stress/stress.go @@ -46,7 +46,12 @@ func main() { } logger, _ = zap.NewProduction() - defer logger.Sync() + defer func(logger *zap.Logger) { + err := logger.Sync() + if err != nil { + fmt.Errorf("failed to sync zap logger: %v", err) + } + }(logger) config, err := clientcmd.BuildConfigFromFlags("", filepath.Join(home, ".kube", *kubeconfig)) if err != nil {