Skip to content

affinity added to rmq values #1005

affinity added to rmq values

affinity added to rmq values #1005

name: Lint and unit test infra chart
on:
pull_request:
paths:
- "ci/**"
- "example-values/**"
- "chart/**"
- ".github/workflows/**"
- "docs/**"
workflow_dispatch:
jobs:
lint-test:
if: |
!contains(github.event.pull_request.labels, 'automated')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.5.0
# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and
# yamllint (https://github.com/adrienverge/yamllint) which require Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Set up chart-testing
uses: helm/[email protected]
- name: run unit test
run: |
helm plugin install https://github.com/quintush/helm-unittest --version 0.2.8
helm unittest -3 chart --color -o ./test-results/results.xml -t JUnit
- name: Publish Th2 Chart Test Results
uses: EnricoMi/[email protected]
if: always()
with:
check_name: Th2 Chart Unit Test Results
comment_title: Th2 Chart Test Results
files: "./test-results/results.xml"
- name: Run infra chart linting
run: |
ct lint \
--chart-repos rabbitmq=https://charts.bitnami.com/bitnami,kubernetes-dashboard=https://kubernetes.github.io/dashboard,jupyterhub=https://jupyterhub.github.io/helm-chart,helm-operator=https://charts.fluxcd.io \
--lint-conf=./ci/cfg/lint-cfg.yml \
--check-version-increment \
--validate-maintainers=false --debug --charts ./chart