Skip to content

Retire Open OnDemand support #453

Retire Open OnDemand support

Retire Open OnDemand support #453

---
name: run ansible-lint on deepops roles
on:
- push
- pull_request
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- name: check out repo
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- name: set up python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install ansible-lint==26.1.1 ansible==10.7.0
- name: run lint script
env:
ANSIBLE_LINT_EXCLUDE: "nvidia-dgx|nvidia-gpu-tests"
run: |
cd "${{ github.repository }}"
bash ./scripts/deepops/ansible-lint-roles.sh