-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from openinsight-proj/fix_ci_test
fix ci bug
- Loading branch information
Showing
1 changed file
with
12 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
- main | ||
|
||
jobs: | ||
demo-test: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -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 | ||
|
@@ -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 }} |