* feat: move do_setup to new unified format at root of ansible/ dir to allow sharing roles, inventory with playbooks for other deployment types * fix: pass ansible lint * update do settings to current deployment: - bump main node params - add additional settings to helm values template --------- Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
36 lines
723 B
YAML
36 lines
723 B
YAML
name: ansible-lint
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'ansible/**'
|
|
pull_request:
|
|
paths:
|
|
- 'ansible/**'
|
|
|
|
jobs:
|
|
build:
|
|
name: Ansible Lint
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0 # needed for progressive mode to work
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.10'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
cd ansible/
|
|
python -m pip install --upgrade pip
|
|
pip install pipenv
|
|
pipenv install --skip-lock
|
|
|
|
- name: Lint
|
|
run: |
|
|
cd ansible
|
|
pipenv run ansible-lint -c ./lint-cfg.yml ./do_setup.yml
|