Skip to content

fix(edge): config cni plugins #274

fix(edge): config cni plugins

fix(edge): config cni plugins #274

Workflow file for this run

name: MiCADO Tests
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ansible-lint
uses: ansible-community/ansible-lint-action@v6.0.2
with:
override-deps: |
rich>=9.5.1,<11.0.0
targets: |
micado.yml
edge.yml
worker.yml
play-ubuntu-20:
runs-on: ubuntu-20.04
needs: lint
steps:
- uses: actions/checkout@v2
- name: Remove existing K8s installations
run: sudo apt auto-remove kubectl containernetworking-plugins -y
- name: Replace hosts file
run: sudo cp ./tests/hosts.yml ./playbook/inventory/hosts.yml
- name: Run MiCADO Playbook
uses: dawidd6/action-ansible-playbook@v2
with:
directory: ./playbook/
playbook: project/micado.yml
play-ubuntu-22:
runs-on: ubuntu-22.04
needs: lint
steps:
- uses: actions/checkout@v2
- name: Remove existing K8s installations
run: sudo apt auto-remove kubectl ansible containernetworking-plugins -y
- name: Replace hosts file
run: sudo cp ./tests/hosts.yml ./playbook/inventory/hosts.yml
- name: Run MiCADO Playbook
uses: dawidd6/action-ansible-playbook@v2
with:
directory: ./playbook/
playbook: project/micado.yml