diff --git a/.github/workflows/artifacts.yaml b/.github/workflows/artifacts.yaml index 97f86889a..9596ad0cf 100644 --- a/.github/workflows/artifacts.yaml +++ b/.github/workflows/artifacts.yaml @@ -270,6 +270,9 @@ jobs: id: oci-chart-name run: echo "value=${{ steps.oci-registry-name.outputs.value }}/${{ steps.chart-name.outputs.value }}" >> "$GITHUB_OUTPUT" + - name: Helm dependency update + run: helm dependency update charts/${{ steps.chart-name.outputs.value }} + - name: Helm lint run: helm lint charts/${{ steps.chart-name.outputs.value }} diff --git a/.gitignore b/.gitignore index 55dec88a4..869acccab 100644 --- a/.gitignore +++ b/.gitignore @@ -93,7 +93,7 @@ testbin example/tls-cluster-forward/*.pem example/tls-cluster-forward/*.csr example/tls-cluster-forward/*.key - +charts/logging-operator/charts/*.tgz .licensei.cache .DS_Store diff --git a/charts/logging-operator/charts/telemetry-controller-0.0.13.tgz b/charts/logging-operator/charts/telemetry-controller-0.0.13.tgz deleted file mode 100644 index ecd355e6f..000000000 Binary files a/charts/logging-operator/charts/telemetry-controller-0.0.13.tgz and /dev/null differ diff --git a/hack/test.sh b/hack/test.sh index e1a2bdea6..e16cd5104 100755 --- a/hack/test.sh +++ b/hack/test.sh @@ -28,13 +28,15 @@ function load_images() function helm_deploy_logging_operator() { + local chart_dir="charts/logging-operator" + helm dependency update "${chart_dir}" helm upgrade --install \ --debug \ --wait \ --create-namespace \ -f hack/values.yaml \ logging-operator \ - "charts/logging-operator" + "${chart_dir}" } function get_test_pod_name()