File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,17 +47,17 @@ jobs:
47
47
- name : Set SPP_PLATFORM_HOST
48
48
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
49
49
- name : Wait for platform
50
- 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
50
+ 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
51
51
- name : Wait for skywalking
52
52
run : |
53
- until $(curl --header "Authorization: Bearer ${{ env.SPP_JWT_TOKEN }}" --insecure --output /dev/null --silent --fail https://localhost:5445 /health); do printf '.'; sleep 5; done
53
+ until $(curl --header "Authorization: Bearer ${{ env.SPP_JWT_TOKEN }}" --insecure --output /dev/null --silent --fail https://localhost:12800 /health); do printf '.'; sleep 5; done
54
54
55
55
# todo: create health for TraceSegmentServiceClient.statusChanged()
56
56
- run : sleep 45s
57
57
58
58
- name : Verify probe connected
59
59
run : |
60
- resp=$(curl --header "Authorization: Bearer ${{ env.SPP_JWT_TOKEN }}" --insecure https://localhost:5445 /clients) && [[ $(echo $resp | jq -r ."probes"[0]."meta"."language") == "java" ]] && echo $resp || (echo $resp && exit 1)
60
+ resp=$(curl --header "Authorization: Bearer ${{ env.SPP_JWT_TOKEN }}" --insecure https://localhost:12800 /clients) && [[ $(echo $resp | jq -r ."probes"[0]."meta"."language") == "java" ]] && echo $resp || (echo $resp && exit 1)
61
61
62
62
- run : ./gradlew test -Dtest.profile=integration
63
63
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ services:
20
20
container_name : spp-platform
21
21
hostname : spp-platform
22
22
ports :
23
- - " 5445:5445"
24
23
- " 5450:5450"
25
24
- " 5455:5455"
26
25
- " 5107:5107"
26
+ - " 12800:12800"
27
27
environment :
28
28
- SPP_LOGGING_LEVEL=trace
29
29
- SPP_OAP_HOST=skywalking-oap
Original file line number Diff line number Diff line change 1
1
kotlin.code.style =official
2
2
3
3
probeGroup =spp.probe
4
- projectVersion =0.4.6
4
+ projectVersion =0.4.7
5
5
6
6
vertxVersion =4.2.6
7
7
You can’t perform that action at this time.
0 commit comments