fix(osfamily): switch old osfamily fact to new fact #10
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: Kitchen tests for Wazuh Puppet | |
on: [push, workflow_dispatch] | |
jobs: | |
pdk-validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run PDK validation tests | |
uses: './.github/actions/validate_module' | |
amazonlinux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Amazon linux - (Manager + Agent) | |
uses: './.github/actions/test_manager_and_agent' | |
env: | |
IMAGE: diodonfrost/amazonlinux-2-puppet | |
PLATFORM: rhel | |
RELEASE: latest | |
RUN_COMMAND: /usr/sbin/init | |
centos7: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: CentOS 7 - (Manager + Agent) | |
uses: './.github/actions/test_manager_and_agent' | |
env: | |
IMAGE: centos:7 | |
PLATFORM: centos | |
RELEASE: 7 | |
RUN_COMMAND: /sbin/init | |
ubuntu16: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Ubuntu 16.04 - (Manager + Agent) | |
uses: './.github/actions/test_manager_and_agent' | |
env: | |
IMAGE: jrei/systemd-ubuntu:16.04 | |
PLATFORM: ubuntu | |
RELEASE: 16 | |
RUN_COMMAND: /sbin/init | |
ubuntu18: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Ubuntu 18.04 - (Manager + Agent) | |
uses: './.github/actions/test_manager_and_agent' | |
env: | |
IMAGE: jrei/systemd-ubuntu:18.04 | |
PLATFORM: ubuntu | |
RELEASE: 18 | |
RUN_COMMAND: /sbin/init |