-
Notifications
You must be signed in to change notification settings - Fork 20
38 lines (33 loc) · 992 Bytes
/
molecule-loadbalancer.yml
File metadata and controls
38 lines (33 loc) · 992 Bytes
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
# Github action to run Molecule for "base"
name: loadbalancer
on:
workflow_dispatch:
# push:
# paths:
# - 'roles/haproxy/**'
# - 'roles/keepalived/**'
# - 'roles/bind/**'
# - 'molecule/loadbalancer/**'
# - 'roles/selfsigned_certs/**'
# - '.github/workflows/molecule-loadbalancer.yml'
# pull_request:
# paths:
# - 'roles/haproxy/**'
# - 'roles/keepalived/**'
# - 'roles/bind/**'
# - 'molecule/loadbalancer/**'
# - 'roles/selfsigned_certs/**'
# - '.github/workflows/molecule-loadbalancer.yml'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.8
uses: actions/setup-python@v6
with:
python-version: 3.8
- name: Installing dependencies
run: pip install jinja2 ansible molecule molecule-docker pytest-testinfra pytest setuptools
- name: Run role tests
run: molecule test -s loadbalancer