Skip to content

docker

docker #14

Workflow file for this run

---
name: CI
"on":
pull_request:
branches:
- main
push:
branches:
- main
jobs:
work:
name: work
runs-on: macos-12
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Install Ansible
run: brew install ansible
- name: Install requirements
run: ansible-galaxy install -r requirements.yml
- name: Test the playbook
# Skip some tasks that depend on manual steps
run: ansible-playbook pb-work.yml --skip-tags no-ci -i inventory-ci.ini
nitecloud:
name: nitecloud
runs-on: ubuntu-22.04
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Install Ansible
run: ./install-ansible.sh
- name: Install requirements
run: ansible-galaxy install -r requirements.yml
- name: Test the playbook
run: ansible-playbook pb-nitecloud.yml -i inventory-ci.ini