feat(pipeline): show errors when creating app
All checks were successful
build / build (push) Successful in 34s
All checks were successful
build / build (push) Successful in 34s
This commit is contained in:
parent
75130328fd
commit
9002e8dc18
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
-
|
||||
name: Create edgeXR App
|
||||
run: |
|
||||
EDGEXR_TOKEN="$(curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/login -H 'Content-Type: application/json' --data '{"password": "'${EDGEXR_PLATFORM_PASSWORD}'","username": "'${EDGEXR_PLATFORM_USERNAME}'"}' -s | jq -r .token)"
|
||||
EDGEXR_TOKEN="$(curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/login -H 'Content-Type: application/json' --data '{"password": "'${EDGEXR_PLATFORM_PASSWORD}'","username": "'${EDGEXR_PLATFORM_USERNAME}'"}' -s -S | jq -r .token)"
|
||||
|
||||
CREATEAPP_JSON=$(cat <<EOF
|
||||
{
|
||||
|
|
@ -61,4 +61,4 @@ jobs:
|
|||
EOF
|
||||
)
|
||||
|
||||
curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/CreateApp -H 'Content-Type: application/json' -H "Authorization: Bearer $EDGEXR_TOKEN" -s --data "$CREATEAPP_JSON"
|
||||
curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/CreateApp -H 'Content-Type: application/json' -H "Authorization: Bearer $EDGEXR_TOKEN" -s -S --data "$CREATEAPP_JSON"
|
||||
Loading…
Add table
Add a link
Reference in a new issue