Skip to content

[Apiserver] Set the right amount of resource in e2e test (#3465) #11

[Apiserver] Set the right amount of resource in e2e test (#3465)

[Apiserver] Set the right amount of resource in e2e test (#3465) #11

Workflow file for this run

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/[email protected]
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/[email protected]
- 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/[email protected]
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/[email protected]
- 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