mirror of
https://github.com/wazuh/wazuh-kubernetes.git
synced 2025-12-11 20:47:53 -06:00
Change Ubuntu version
This commit is contained in:
parent
5da3eff776
commit
eaf85f991d
6
.github/workflows/deployment-test.yml
vendored
6
.github/workflows/deployment-test.yml
vendored
@ -19,7 +19,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
EKS_deployment_test:
|
EKS_deployment_test:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -138,7 +138,7 @@ jobs:
|
|||||||
- name: Check Wazuh indexer nodes
|
- name: Check Wazuh indexer nodes
|
||||||
run: |
|
run: |
|
||||||
nodes="`curl -XGET "${{ env.INDEXER_URL }}/_cat/nodes" -u admin:SecretPassword -k -s | grep -E "indexer" | wc -l`"
|
nodes="`curl -XGET "${{ env.INDEXER_URL }}/_cat/nodes" -u admin:SecretPassword -k -s | grep -E "indexer" | wc -l`"
|
||||||
if [[ $nodes -eq 1 ]]; then
|
if [[ $nodes -eq 3 ]]; then
|
||||||
echo "Wazuh indexer nodes: ${nodes}"
|
echo "Wazuh indexer nodes: ${nodes}"
|
||||||
else
|
else
|
||||||
echo "Wazuh indexer nodes: ${nodes}"
|
echo "Wazuh indexer nodes: ${nodes}"
|
||||||
@ -200,7 +200,7 @@ jobs:
|
|||||||
--region ${{ env.AWS_REGION }}
|
--region ${{ env.AWS_REGION }}
|
||||||
|
|
||||||
Local_deployment_test:
|
Local_deployment_test:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user