Skip to content

Commit

Permalink
[post-release] forcing helm chart release
Browse files Browse the repository at this point in the history
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
  • Loading branch information
jkremser committed Oct 16, 2024
1 parent 700fb02 commit beee0e5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/release-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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)
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions helmchart/otel-add-on/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit beee0e5

Please sign in to comment.