-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (35 loc) · 1.04 KB
/
molecule-monitoring.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
name: Test install_monitoring playbook
on:
pull_request:
paths:
- molecule_configs/*
- playbooks/**
- roles/**
- .github/workflows/molecule-monitoring.yml
- "!**/README.md"
concurrency:
cancel-in-progress: true
group: >-
${{ github.workflow }}-${{ github.event.pull_request.number }}
jobs:
molecule-monitoring:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
scenario:
- centos7_monitoring
- rocky9_monitoring
env:
MOLECULE_RUN_TAGS: all
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
ANSIBLE_ROLES_PATH: ansible_collections/mirsg/infrastructure/roles
steps:
- uses: UCL-MIRSG/.github/actions/molecule-test@b863c874470757db8548388ab0135d573d70b48f # v0.127.0
with:
ansible_major_version: ${{ vars.ANSIBLE_MAJOR_VERSION }}
scenario: ${{ matrix.scenario }}
checkout_path: ansible_collections/mirsg/infrastructure
tests_path: ansible_collections/mirsg/infrastructure/playbooks