forked from wazuh/wazuh-docker
Add agent load on multinode deployment
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
WAZUH_VERSION=4.10.1
|
WAZUH_VERSION=4.12.0
|
||||||
WAZUH_IMAGE_VERSION=4.10.1
|
WAZUH_IMAGE_VERSION=4.12.0
|
||||||
WAZUH_TAG_REVISION=1
|
WAZUH_TAG_REVISION=1
|
||||||
FILEBEAT_TEMPLATE_BRANCH=4.10.1
|
FILEBEAT_TEMPLATE_BRANCH=v4.12.0
|
||||||
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.4.tar.gz
|
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.4.tar.gz
|
||||||
WAZUH_UI_REVISION=1
|
WAZUH_UI_REVISION=1
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
products:
|
products:
|
||||||
description: 'Comma-separated list of the image names to build and push'
|
description: 'Comma-separated list of the image names to build and push'
|
||||||
default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer'
|
default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer,wazuh-agent'
|
||||||
required: true
|
required: true
|
||||||
filebeat_module_version:
|
filebeat_module_version:
|
||||||
description: 'Filebeat module version'
|
description: 'Filebeat module version'
|
||||||
@@ -52,7 +52,7 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
products:
|
products:
|
||||||
description: 'Comma-separated list of the image names to build and push'
|
description: 'Comma-separated list of the image names to build and push'
|
||||||
default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer'
|
default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer,wazuh-agent'
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
filebeat_module_version:
|
filebeat_module_version:
|
||||||
|
|||||||
@@ -252,12 +252,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: docker-artifact-indexer
|
name: docker-artifact-indexer
|
||||||
|
|
||||||
|
- name: Retrieve saved Wazuh agent Docker image
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: docker-artifact-agent
|
||||||
|
|
||||||
- name: Docker load
|
- name: Docker load
|
||||||
run: |
|
run: |
|
||||||
docker load --input ./wazuh-manager.tar
|
docker load --input ./wazuh-manager.tar
|
||||||
docker load --input ./wazuh-indexer.tar
|
docker load --input ./wazuh-indexer.tar
|
||||||
docker load --input ./wazuh-dashboard.tar
|
docker load --input ./wazuh-dashboard.tar
|
||||||
rm -rf wazuh-manager.tar wazuh-indexer.tar wazuh-dashboard.tar
|
docker load --input ./wazuh-agent.tar
|
||||||
|
rm -rf wazuh-manager.tar wazuh-indexer.tar wazuh-dashboard.tar wazuh-agent.tar
|
||||||
|
|
||||||
- name: Create multi node certficates
|
- name: Create multi node certficates
|
||||||
run: docker-compose -f multi-node/generate-indexer-certs.yml run --rm generator
|
run: docker-compose -f multi-node/generate-indexer-certs.yml run --rm generator
|
||||||
|
|||||||
Reference in New Issue
Block a user