From beee0e5b62343dd849a3a6bacec77475e831fa9c Mon Sep 17 00:00:00 2001 From: Jirka Kremser Date: Wed, 16 Oct 2024 19:52:45 +0200 Subject: [PATCH] [post-release] forcing helm chart release Signed-off-by: Jirka Kremser --- .github/workflows/release-chart.yaml | 15 ++++++++++++--- helmchart/otel-add-on/Chart.yaml | 6 ++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-chart.yaml b/.github/workflows/release-chart.yaml index 5e4c503..1fbeea4 100644 --- a/.github/workflows/release-chart.yaml +++ b/.github/workflows/release-chart.yaml @@ -42,6 +42,11 @@ jobs: kubectl rollout status --timeout=300s deploy/otelcol echo -e "\n\n\n pods:\n\n" kubectl get pods -A + sleep 5 + echo -e "\n\n\n logs:\n\n" + echo "::group::logs" + kubectl logs -lapp.kubernetes.io/name=otel-add-on --tail=-1 + echo "::endgroup::" publish: runs-on: ubuntu-latest @@ -55,9 +60,8 @@ jobs: uses: stefanprodan/helm-gh-pages@master with: token: ${{ secrets.PAT_TOKEN }} - charts_dir: "." + charts_dir: "helmchart" - name: Create k3s cluster - if: inputs.keda == 'true' uses: AbsaOSS/k3d-action@v2 with: cluster-name: "test-cluster" @@ -66,7 +70,6 @@ jobs: --no-lb --k3s-arg "--disable=traefik,servicelb,local-storage@server:*" - name: Smoke test helm installation - if: inputs.keda == 'true' run: | # exp-backoff - we wait for pages to become available here for i in $(seq 16) @@ -91,6 +94,12 @@ jobs: echo -e "\n\n\n pods:\n\n" kubectl get pods -A + + sleep 5 + echo -e "\n\n\n logs:\n\n" + echo "::group::logs" + kubectl logs -lapp.kubernetes.io/name=otel-add-on --tail=-1 + echo "::endgroup::" echo "::group::values.yaml" helm get values -n keda otel-add-on diff --git a/helmchart/otel-add-on/Chart.yaml b/helmchart/otel-add-on/Chart.yaml index c69b7f2..f35d553 100644 --- a/helmchart/otel-add-on/Chart.yaml +++ b/helmchart/otel-add-on/Chart.yaml @@ -22,4 +22,10 @@ annotations: url: https://github.com/kedify/otel-add-on - name: helm repo url: https://kedify.github.io/otel-add-on + artifacthub.io/images: | + - name: scaler + image: ghcr.io/kedify/otel-add-on + platforms: + - linux/amd64 + - linux/arm64