Adjust cadvisor container settings #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test install_monitoring playbook | |
on: | |
pull_request: | |
paths: | |
- "roles/monitoring_client/**" | |
- "roles/monitoring_server/**" | |
- ".github/workflows/molecule-monitoring.yml" | |
jobs: | |
molecule-monitoring: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
scenario: | |
- centos7_monitoring | |
- rocky9_monitoring | |
env: | |
PY_COLORS: 1 | |
ANSIBLE_FORCE_COLOR: 1 | |
steps: | |
- name: Check out the codebase | |
uses: actions/checkout@v4 | |
with: | |
path: ansible_collections/mirsg/infrastructure | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install test dependencies | |
shell: bash | |
run: | | |
sudo apt-get update && sudo apt-get -y install rsync | |
python3 -m pip install --upgrade pip | |
python3 -m pip install \ | |
ansible \ | |
molecule \ | |
molecule-plugins[docker] \ | |
docker \ | |
passlib \ | |
requests | |
- name: Test with molecule | |
shell: bash | |
run: | | |
cd ansible_collections/mirsg/infrastructure/playbooks | |
molecule test --scenario-name ${{ matrix.scenario }} |