Skip to content

Commit

Permalink
Merge pull request #65 from openinsight-proj/fix_ci_test
Browse files Browse the repository at this point in the history
fix ci bug
  • Loading branch information
Frapschen authored Nov 30, 2022
2 parents 68c7dc0 + 36d4d23 commit ff5eba2
Showing 1 changed file with 12 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
demo-test:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -18,16 +18,21 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v3
with:
version: v3.9.2
version: v3.10.0

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: '3.9'
check-latest: true

- name: Set up chart-testing
uses: helm/[email protected]
uses: helm/[email protected]

- name: test-echo
run: |
echo ${{ github.event.repository.default_branch }}
- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -37,23 +42,11 @@ jobs:
echo "::set-output name=changed::true"
fi
- name: Helm Update
- name: Sync dependency
run: |
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add redis https://ot-container-kit.github.io/helm-charts
helm dep up charts/openinsight
helm dep up charts/opentelemetry-demo
- name: Run chart-testing (lint)
run: ct lint --target-branch ${{ github.event.repository.default_branch }}

# - name: Create kind cluster
# uses: helm/[email protected]
# if: steps.list-changed.outputs.changed == 'true'
#
# - name: sync dependency
# run: helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
#
# - name: Run chart-testing (install)
# run: ct install --target-branch ${{ github.event.repository.default_branch }}

0 comments on commit ff5eba2

Please sign in to comment.