Remove goss old configuration

This commit is contained in:
Victor Carlos Erenu
2025-12-19 23:44:45 +07:00
parent 37ba5312c9
commit 85bb9078dc
+4 -4
View File
@@ -141,7 +141,7 @@ jobs:
- name: Check Wazuh indexer start
run: |
sleep 120
sleep 240
status_green="`curl -XGET "https://0.0.0.0:9200/_cluster/health" -u admin:admin -k -s | grep -E "green|yellow" | wc -l`"
if [[ $status_green -eq 1 ]]; then
curl -XGET "https://0.0.0.0:9200/_cluster/health" -u admin:admin -k -s
@@ -169,7 +169,7 @@ jobs:
exit 1
fi
- name: Check documents into wazuh-alerts index
- name: Check documents into wazuh-states index
run: |
sleep 120
docs="`curl -XGET "https://0.0.0.0:9200/wazuh-states*/_count" -u admin:admin -k -s | jq -r ".count"`"
@@ -309,7 +309,7 @@ jobs:
- name: Check Wazuh indexer start
run: |
sleep 600
sleep 360
status_green="`curl -XGET "https://0.0.0.0:9200/_cluster/health" -u admin:admin -k -s | grep green | wc -l`"
if [[ $status_green -eq 1 ]]; then
curl -XGET "https://0.0.0.0:9200/_cluster/health" -u admin:admin -k -s
@@ -336,7 +336,7 @@ jobs:
exit 1
fi
- name: Check documents into wazuh-alerts index
- name: Check documents into wazuh-states index
run: |
docs="`curl -XGET "https://0.0.0.0:9200/wazuh-states*/_count" -u admin:admin -k -s | jq -r ".count"`"
if [[ $docs -gt 0 ]]; then