mirror of
https://github.com/sasjs/adapter.git
synced 2026-07-23 22:55:28 +00:00
chore: cleanup
This commit is contained in:
@@ -96,13 +96,19 @@ jobs:
|
|||||||
ip addr show tun0 || echo "no tun0 interface found"
|
ip addr show tun0 || echo "no tun0 interface found"
|
||||||
echo "--- ip route ---"
|
echo "--- ip route ---"
|
||||||
ip route
|
ip route
|
||||||
echo "--- DNS resolution for target host ---"
|
echo "--- DNS resolution check for target host (host/IP not printed) ---"
|
||||||
getent hosts "$(echo '${{ secrets.SASJS_SERVER_URL }}' | sed -E 's#^[a-z]+://##; s#[:/].*##')" || echo "DNS resolution failed"
|
TARGET_HOST="$(echo '${{ secrets.SASJS_SERVER_URL }}' | sed -E 's#^[a-z]+://##; s#[:/].*##')"
|
||||||
|
if getent hosts "$TARGET_HOST" > /dev/null; then
|
||||||
|
echo "DNS resolution: OK"
|
||||||
|
else
|
||||||
|
echo "DNS resolution: FAILED"
|
||||||
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Fetch SASJS server
|
- name: Fetch SASJS server
|
||||||
run: |
|
run: |
|
||||||
curl -v --retry 5 --retry-delay 5 --retry-all-errors --connect-timeout 15 --max-time 30 \
|
curl -sS --retry 5 --retry-delay 5 --retry-all-errors --connect-timeout 15 --max-time 30 \
|
||||||
|
-o /dev/null -w "HTTP status: %{http_code}\n" \
|
||||||
"${{ secrets.SASJS_SERVER_URL }}/SASjsApi/info"
|
"${{ secrets.SASJS_SERVER_URL }}/SASjsApi/info"
|
||||||
|
|
||||||
- name: Deploy sasjs-tests
|
- name: Deploy sasjs-tests
|
||||||
|
|||||||
Reference in New Issue
Block a user