forked from wazuh/wazuh-docker
test CI
This commit is contained in:
@@ -10,8 +10,8 @@ jobs:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build the docker-compose stack
|
||||
run: ./build.sh
|
||||
## - name: Build Wazuh images
|
||||
## run: ./build.sh
|
||||
|
||||
- name: Create enviroment variables
|
||||
run: cat .env > $GITHUB_ENV
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
|
||||
- name: Check Wazuh manager start
|
||||
run: |
|
||||
curl -k -X GET "https://0.0.0.0:55000/cluster/status" -H "Authorization: Bearer ${{env.TOKEN}}"
|
||||
curl -k -X GET "https://0.0.0.0:55000/cluster/info" -H "Authorization: Bearer ${{env.TOKEN}}"
|
||||
env:
|
||||
TOKEN: $(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")
|
||||
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
|
||||
- name: Check Wazuh manager start
|
||||
run: |
|
||||
curl -k -X GET "https://0.0.0.0:55000/cluster/status" -H "Authorization: Bearer ${{env.TOKEN}}"
|
||||
curl -k -X GET "https://0.0.0.0:55000/cluster/info" -H "Authorization: Bearer ${{env.TOKEN}}"
|
||||
env:
|
||||
TOKEN: $(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user