Skip to content

feat: bootstrap MicroK8s cluster on Raspberry Pi #3

feat: bootstrap MicroK8s cluster on Raspberry Pi

feat: bootstrap MicroK8s cluster on Raspberry Pi #3

Workflow file for this run

---
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
pip install ansible ansible-lint yamllint
- name: Install Ansible collections
run: ansible-galaxy collection install -r requirements.yml
- name: YAML lint
run: yamllint -s .
- name: Ansible lint
run: ansible-lint playbooks/bootstrap.yml
- name: Syntax check
run: ansible-playbook playbooks/bootstrap.yml --syntax-check
integration:
name: Integration tests
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
pip install ansible molecule molecule-plugins[docker] docker
- name: Install Ansible collections
run: ansible-galaxy collection install -r requirements.yml
- name: Run Molecule tests
run: molecule test