Skip to content

Feat/kube stack profiling preset #1

Feat/kube stack profiling preset

Feat/kube stack profiling preset #1

Workflow file for this run

name: Test Demo Chart
on:
pull_request:
paths:
- 'charts/opentelemetry-demo/**'
branches:
- main
permissions:
contents: read
jobs:
demo-test-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
helm-version:
- "v4.0.5"
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
with:
create-kind-cluster: "true"
helm-version: ${{ matrix.helm-version }}
- name: Run chart-testing (install)
run: "ct install --charts charts/opentelemetry-demo
--chart-repos opentelemetry-collector=https://open-telemetry.github.io/opentelemetry-helm-charts
--chart-repos prometheus=https://prometheus-community.github.io/helm-charts
--chart-repos grafana=https://grafana-community.github.io/helm-charts
--chart-repos jaeger=https://jaegertracing.github.io/helm-charts
--chart-repos opensearch=https://opensearch-project.github.io/helm-charts"
demo-test:
if: always()
runs-on: ubuntu-latest
needs: [demo-test-matrix]
steps:
- name: Check matrix result
run: |
if [[ "${{ needs.demo-test-matrix.result }}" == "success" ]]; then
echo "All matrix jobs passed!"
else
echo "One or more matrix jobs failed."
exit 1
fi