mirror of
https://github.com/wazuh/wazuh-kubernetes.git
synced 2025-12-10 16:46:36 -06:00
Change wait time
This commit is contained in:
parent
cf36192aec
commit
5da3eff776
10
.github/workflows/deployment-test.yml
vendored
10
.github/workflows/deployment-test.yml
vendored
@ -84,8 +84,8 @@ jobs:
|
||||
- name: Deploy Wazuh stack
|
||||
run: kubectl apply -k envs/eks/
|
||||
|
||||
- name: Wait 5 minutes for Wazuh stack startup
|
||||
run: sleep 5m
|
||||
- name: Wait 10 minutes for Wazuh stack startup
|
||||
run: sleep 10m
|
||||
|
||||
- name: View stack status
|
||||
run: kubectl get all -n wazuh -o wide
|
||||
@ -147,7 +147,6 @@ jobs:
|
||||
|
||||
- name: Check documents into wazuh-alerts index
|
||||
run: |
|
||||
sleep 120
|
||||
docs="`curl -XGET "${{ env.INDEXER_URL }}/wazuh-alerts*/_count" -u admin:SecretPassword -k -s | jq -r ".count"`"
|
||||
if [[ $docs -gt 0 ]]; then
|
||||
echo "wazuh-alerts index documents: ${docs}"
|
||||
@ -237,8 +236,8 @@ jobs:
|
||||
- name: Deploy Wazuh stack
|
||||
run: kubectl apply -k envs/local-env/
|
||||
|
||||
- name: Wait 5 minutes for Wazuh stack startup
|
||||
run: sleep 5m
|
||||
- name: Wait 10 minutes for Wazuh stack startup
|
||||
run: sleep 10m
|
||||
|
||||
- name: View stack status
|
||||
run: kubectl get all -n wazuh -o wide
|
||||
@ -291,7 +290,6 @@ jobs:
|
||||
|
||||
- name: Check documents into wazuh-alerts index
|
||||
run: |
|
||||
sleep 120
|
||||
docs="`curl -XGET "${{ env.INDEXER_URL }}/wazuh-alerts*/_count" -u admin:SecretPassword -k -s | jq -r ".count"`"
|
||||
if [[ $docs -gt 0 ]]; then
|
||||
echo "wazuh-alerts index documents: ${docs}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user