Skip to content

Commit

Permalink
Change wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
vcerenu committed Nov 8, 2024
1 parent cf36192 commit 5da3eff
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deployment-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit 5da3eff

Please sign in to comment.