-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
839 additions
and
630 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
WAZUH_VERSION=4.10.2 | ||
WAZUH_IMAGE_VERSION=4.10.2 | ||
WAZUH_VERSION=5.0.0 | ||
WAZUH_IMAGE_VERSION=5.0.0 | ||
WAZUH_TAG_REVISION=1 | ||
FILEBEAT_TEMPLATE_BRANCH=4.10.2 | ||
FILEBEAT_TEMPLATE_BRANCH=5.0.0 | ||
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.4.tar.gz | ||
WAZUH_UI_REVISION=1 |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ jobs: | |
docker save wazuh/wazuh-manager:${{env.WAZUH_IMAGE_VERSION}} -o /home/runner/work/wazuh-docker/wazuh-docker/docker-images/wazuh-manager.tar | ||
docker save wazuh/wazuh-indexer:${{env.WAZUH_IMAGE_VERSION}} -o /home/runner/work/wazuh-docker/wazuh-docker/docker-images/wazuh-indexer.tar | ||
docker save wazuh/wazuh-dashboard:${{env.WAZUH_IMAGE_VERSION}} -o /home/runner/work/wazuh-docker/wazuh-docker/docker-images/wazuh-dashboard.tar | ||
docker save wazuh/wazuh-cert-tool:${{env.WAZUH_IMAGE_VERSION}} -o /home/runner/work/wazuh-docker/wazuh-docker/docker-images/wazuh-cert-tool.tar | ||
- name: Temporarily save Wazuh manager Docker image | ||
uses: actions/upload-artifact@v3 | ||
|
@@ -49,6 +50,13 @@ jobs: | |
path: /home/runner/work/wazuh-docker/wazuh-docker/docker-images/wazuh-dashboard.tar | ||
retention-days: 1 | ||
|
||
- name: Temporarily save Wazuh Cert Tool Docker image | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: docker-artifact-cert-tool | ||
path: /home/runner/work/wazuh-docker/wazuh-docker/docker-images/wazuh-cert-tool.tar | ||
retention-days: 1 | ||
|
||
- name: Install Goss | ||
uses: e1himself/[email protected] | ||
with: | ||
|
@@ -91,15 +99,22 @@ jobs: | |
with: | ||
name: docker-artifact-dashboard | ||
|
||
- name: Retrieve saved Wazuh Cert Tool Docker image | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: docker-artifact-cert-tool | ||
|
||
- name: Docker load | ||
run: | | ||
docker load --input ./wazuh-indexer.tar | ||
docker load --input ./wazuh-dashboard.tar | ||
docker load --input ./wazuh-manager.tar | ||
docker load --input ./wazuh-cert-tool.tar | ||
rm -rf wazuh-manager.tar wazuh-indexer.tar wazuh-dashboard.tar wazuh-cert-tool.tar | ||
- name: Create single node certficates | ||
run: docker-compose -f single-node/generate-indexer-certs.yml run --rm generator | ||
run: docker-compose -f single-node/generate-certs.yml run --rm generator | ||
|
||
- name: Start single node stack | ||
run: docker-compose -f single-node/docker-compose.yml up -d | ||
|
@@ -227,15 +242,21 @@ jobs: | |
with: | ||
name: docker-artifact-indexer | ||
|
||
- name: Retrieve saved Wazuh Cert Tool Docker image | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: docker-artifact-cert-tool | ||
|
||
- name: Docker load | ||
run: | | ||
docker load --input ./wazuh-manager.tar | ||
docker load --input ./wazuh-indexer.tar | ||
docker load --input ./wazuh-dashboard.tar | ||
rm -rf wazuh-manager.tar wazuh-indexer.tar wazuh-dashboard.tar | ||
docker load --input ./wazuh-manager.tar | ||
docker load --input ./wazuh-cert-tool.tar | ||
rm -rf wazuh-manager.tar wazuh-indexer.tar wazuh-dashboard.tar wazuh-cert-tool.tar | ||
- 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-certs.yml run --rm generator | ||
|
||
- name: Start multi node stack | ||
run: docker-compose -f multi-node/docker-compose.yml up -d | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
WAZUH-DOCKER_VERSION="4.10.2" | ||
REVISION="41020" | ||
WAZUH-DOCKER_VERSION="5.0.0" | ||
REVISION="50000" |
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
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
5 changes: 3 additions & 2 deletions
5
indexer-certs-creator/Dockerfile → ...-docker-images/wazuh-cert-tool/Dockerfile
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
nodes: | ||
# Wazuh dashboard server nodes | ||
dashboard: | ||
- name: demo.dashboard | ||
ip: demo.dashboard | ||
- name: dashboard | ||
ip: wazuh.dashboard |
Oops, something went wrong.