This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
Update README.md #112
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: Manager and Agent connection test | |
on: [push, workflow_dispatch] | |
jobs: | |
manager-agent: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-ruby@v1 | |
name: Setup Ruby | |
- name: Install dependancies | |
run: | | |
bundle config set --local without 'vagrant' | |
bundle install | |
- name: Install Chef | |
uses: actionshub/chef-install@main | |
- name: Install manager | |
uses: actionshub/test-kitchen@main | |
env: | |
CHEF_LICENSE: accept-no-persist | |
KITCHEN_LOCAL_YAML: kitchen.dokken.yml | |
PLATFORM: centos | |
RELEASE: '7' | |
with: | |
suite: wazuh-manager | |
os: centos-7 | |
action: converge | |
- name: Install agent | |
uses: actionshub/test-kitchen@main | |
env: | |
CHEF_LICENSE: accept-no-persist | |
KITCHEN_LOCAL_YAML: kitchen.dokken.yml | |
PLATFORM: centos | |
RELEASE: '7' | |
with: | |
suite: wazuh-agent | |
os: centos-7 | |
action: converge | |
- name: Test manager and agent connection | |
uses: actionshub/test-kitchen@main | |
env: | |
CHEF_LICENSE: accept-no-persist | |
KITCHEN_LOCAL_YAML: kitchen.dokken.yml | |
PLATFORM: centos | |
RELEASE: '7' | |
MANAGER_IP: wazuh-manager | |
with: | |
suite: wazuh-agent | |
os: centos-7 | |
action: verify | |