mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-02 13:03:23 +00:00
31 lines
701 B
YAML
31 lines
701 B
YAML
name: Wazuh Docker pipeline
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-stack:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Check out code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build the docker-compose stack
|
|
run: docker-compose -f build-wazuh-images.yml up -d --build
|
|
|
|
- name: Check running containers
|
|
run: docker ps -a
|
|
|
|
- name: Shutdown the stack
|
|
run: docker-compose -f build-wazuh-images.yml kill
|
|
|
|
- name: Install Goss
|
|
uses: e1himself/goss-installation-action@v1.0.3
|
|
with:
|
|
version: v0.3.16
|
|
|
|
- name: Execute Goss tests (wazuh-odfe)
|
|
run: dgoss run wazuh/wazuh-manager:4.3.3
|
|
env:
|
|
GOSS_SLEEP: 30
|
|
GOSS_FILE: .github/.goss.yaml |