Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aarz-snl authored Dec 19, 2023
1 parent fd1cedd commit fb5d2b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Test Elasticsearch
run: |
ELASTICSEARCH_URL="https://127.0.0.1:9200"
response=$(curl -s --cacert "/opt/lme/Chapter 3 Files/certs/root-ca.crt" --user "elastic:dvXFkH9CnFuW3CcvYYEiYwB0ziOt08DE" -o /dev/null -w "%{http_code}" $ELASTICSEARCH_URL)
response=$(sudo curl -s --cacert "/opt/lme/Chapter 3 Files/certs/root-ca.crt" --user "elastic:dvXFkH9CnFuW3CcvYYEiYwB0ziOt08DE" -o /dev/null -w "%{http_code}" $ELASTICSEARCH_URL)
if [ "$response" -eq 200 ]; then
echo "Elasticsearch is up and running."
else
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Test Kibana
run: |
KIBANA_URL="https://127.0.0.1:5601"
response=$(curl -s --cacert "/opt/lme/Chapter 3 Files/certs/root-ca.crt" --user "elastic:dvXFkH9CnFuW3CcvYYEiYwB0ziOt08DE" -o /dev/null -w "%{http_code}" $KIBANA_URL)
response=$(sudo curl -s --cacert "/opt/lme/Chapter 3 Files/certs/root-ca.crt" --user "elastic:dvXFkH9CnFuW3CcvYYEiYwB0ziOt08DE" -o /dev/null -w "%{http_code}" $KIBANA_URL)
if [ "$response" -eq 200 ]; then
echo "Kibana is up and running."
else
Expand Down

0 comments on commit fb5d2b8

Please sign in to comment.