Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions .github/workflows/helm-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Lint and Test Charts

on:
push:
branches:
- master
- release-*
pull_request:
branches:
- master
- release-*

jobs:
lint-test-helm-3-4:
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3.3
with:
version: v3.4.1

- uses: actions/setup-python@v4
with:
python-version: 3.7

- name: Install Helm unittest plugin
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git --version 0.8.1

- name: Run Helm unittest (kuberay-apiserver)
run: helm unittest helm-chart/kuberay-apiserver --file "tests/**/*_test.yaml" --strict --debug

- name: Run Helm unittest (kuberay-operator)
run: helm unittest helm-chart/kuberay-operator --file "tests/**/*_test.yaml" --strict --debug

- name: Run Helm unittest (ray-cluster)
run: helm unittest helm-chart/ray-cluster --file "tests/**/*_test.yaml" --strict --debug

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.3.0

- name: Run chart-testing (lint)
# Run 'helm lint', version checking, YAML schema validation on 'Chart.yaml',
# YAML linting on 'Chart.yaml' and 'values.yaml', and maintainer.
# [Doc]: https://github.com/helm/chart-testing/blob/main/doc/ct_lint.md
run: ct lint --all --chart-dirs helm-chart/ --validate-maintainers=false

lint-test-helm-3-9:
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3.3
with:
version: v3.9.4

- uses: actions/setup-python@v4
with:
python-version: 3.7

- name: Install Helm unittest plugin
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git --version 0.8.1

- name: Run Helm unittest (kuberay-apiserver)
run: helm unittest helm-chart/kuberay-apiserver --file "tests/**/*_test.yaml" --strict --debug

- name: Run Helm unittest (kuberay-operator)
run: helm unittest helm-chart/kuberay-operator --file "tests/**/*_test.yaml" --strict --debug

- name: Run Helm unittest (ray-cluster)
run: helm unittest helm-chart/ray-cluster --file "tests/**/*_test.yaml" --strict --debug

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.3.0

- name: Run chart-testing (lint)
# Run 'helm lint', version checking, YAML schema validation on 'Chart.yaml',
# YAML linting on 'Chart.yaml' and 'values.yaml', and maintainer.
# [Doc]: https://github.com/helm/chart-testing/blob/main/doc/ct_lint.md
run: ct lint --all --chart-dirs helm-chart/ --validate-maintainers=false
138 changes: 0 additions & 138 deletions .github/workflows/helm.yaml

This file was deleted.

20 changes: 2 additions & 18 deletions helm-chart/kuberay-apiserver/.helmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.

ci/
.helmignore

.DS_Store
# Common VCS dirs
.git/
.gitignore
Expand All @@ -13,27 +10,14 @@ ci/
.hg/
.hgignore
.svn/

# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~

# Various IDEs
*.tmproj
.project
.idea/
*.tmproj
.vscode/

# helm-unittest
tests
.debug
__snapshot__

# helm-docs
README.md.gotmpl

# MacOS
.DS_Store
10 changes: 0 additions & 10 deletions helm-chart/kuberay-apiserver/ci/ci-values.yaml

This file was deleted.

21 changes: 2 additions & 19 deletions helm-chart/kuberay-operator/.helmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.

ci/
.helmignore

.DS_Store
# Common VCS dirs
.git/
.gitignore
Expand All @@ -13,27 +10,13 @@ ci/
.hg/
.hgignore
.svn/

# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~

# Various IDEs
*.tmproj
.project
.idea/
*.tmproj
.vscode/

# helm-unittest
tests
.debug
__snapshot__

# helm-docs
README.md.gotmpl

# MacOS
.DS_Store
4 changes: 0 additions & 4 deletions helm-chart/kuberay-operator/ci/ci-values.yaml

This file was deleted.

21 changes: 2 additions & 19 deletions helm-chart/ray-cluster/.helmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.

ci/
.helmignore

.DS_Store
# Common VCS dirs
.git/
.gitignore
Expand All @@ -13,27 +10,13 @@ ci/
.hg/
.hgignore
.svn/

# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~

# Various IDEs
*.tmproj
.project
.idea/
*.tmproj
.vscode/

# helm-unittest
tests
.debug
__snapshot__

# helm-docs
README.md.gotmpl

# MacOS
.DS_Store
3 changes: 0 additions & 3 deletions helm-chart/ray-cluster/ci/ci-values.yaml

This file was deleted.

Loading