File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ jobs:
3636 - name : Set SPP_PLATFORM_HOST
3737 run : SPP_PLATFORM_HOST=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aqf "name=spp-platform")) && echo "SPP_PLATFORM_HOST=$SPP_PLATFORM_HOST" >> $GITHUB_ENV
3838 - name : Wait for platform
39- run : until $(curl --insecure --output /dev/null --silent --fail https://localhost:5445 /api/new-token?access_token=change-me); do printf '.'; sleep 5; done && SPP_JWT_TOKEN=$(curl --insecure https://localhost:5445 /api/new-token?access_token=change-me) && echo "SPP_JWT_TOKEN=$SPP_JWT_TOKEN" >> $GITHUB_ENV
39+ run : until $(curl --insecure --output /dev/null --silent --fail https://localhost:12800 /api/new-token?access_token=change-me); do printf '.'; sleep 5; done && SPP_JWT_TOKEN=$(curl --insecure https://localhost:12800 /api/new-token?access_token=change-me) && echo "SPP_JWT_TOKEN=$SPP_JWT_TOKEN" >> $GITHUB_ENV
4040 - name : Wait for skywalking
4141 run : |
42- until $(curl --header "Authorization: Bearer ${{ env.SPP_JWT_TOKEN }}" --insecure --output /dev/null --silent --fail https://localhost:5445 /health); do printf '.'; sleep 5; done
42+ until $(curl --header "Authorization: Bearer ${{ env.SPP_JWT_TOKEN }}" --insecure --output /dev/null --silent --fail https://localhost:12800 /health); do printf '.'; sleep 5; done
4343 - run : curl -sS https://webinstall.dev/jq | bash
4444
4545 - name : Verify probe connected
4646 run : |
47- resp=$(curl --header "Authorization: Bearer ${{ env.SPP_JWT_TOKEN }}" --insecure https://localhost:5445 /clients) && [[ $(echo $resp | jq -r ."probes"[0]."meta"."language") == "python" ]] && echo $resp || (echo $resp && exit 1)
47+ resp=$(curl --header "Authorization: Bearer ${{ env.SPP_JWT_TOKEN }}" --insecure https://localhost:12800 /clients) && [[ $(echo $resp | jq -r ."probes"[0]."meta"."language") == "python" ]] && echo $resp || (echo $resp && exit 1)
4848
4949 - name : Download & install spp-cli
5050 run : |
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ services:
1919 container_name : spp-platform
2020 hostname : spp-platform
2121 ports :
22- - " 5445:5445"
2322 - " 5450:5450"
2423 - " 5455:5455"
24+ - " 12800:12800"
2525 environment :
2626 - SPP_LOGGING_LEVEL=trace
2727 - SPP_OAP_HOST=skywalking-oap
You can’t perform that action at this time.
0 commit comments