mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:19 +00:00 
			
		
		
		
	test CI
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/push.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/push.yml
									
									
									
									
										vendored
									
									
								
							@@ -85,7 +85,7 @@ jobs:
 | 
			
		||||
     # uses: sergeysova/jq-action@v2
 | 
			
		||||
      run: |
 | 
			
		||||
        nodes=$(curl -k -X GET "https://0.0.0.0:55000/cluster/nodes" -H "Authorization: Bearer ${{env.TOKEN}}" | jq -r ".data.affected_items[].name" | wc -l)
 | 
			
		||||
        if [[ $nodes -eq 2 ]]; then
 | 
			
		||||
        if [[ $nodes -eq 3 ]]; then
 | 
			
		||||
         echo "Wazuh manager nodes: ${nodes}"
 | 
			
		||||
        else
 | 
			
		||||
         echo "Wazuh manager nodes: ${nodes}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user