feat: remove echo commands
This commit is contained in:
parent
dc20c46a68
commit
b62acde639
1 changed files with 5 additions and 20 deletions
|
|
@ -3,15 +3,11 @@ name: createapp
|
|||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
a_app_version:
|
||||
type: string
|
||||
description: "Application Version e.g. 1.0.0"
|
||||
required: true
|
||||
b_app_region:
|
||||
a_app_region:
|
||||
type: string
|
||||
description: "Application Region e.g. EU"
|
||||
default: EU
|
||||
c_app_flavor:
|
||||
b_app_flavor:
|
||||
type: string
|
||||
description: "Application Flavor e.g. EU.small"
|
||||
default: EU.small
|
||||
|
|
@ -19,9 +15,8 @@ on:
|
|||
env:
|
||||
EDGEXR_PLATFORM_USERNAME: ${{ secrets.EDGEXR_PLATFORM_USERNAME }}
|
||||
EDGEXR_PLATFORM_PASSWORD: ${{ secrets.EDGEXR_PLATFORM_PASSWORD }}
|
||||
APP_VERSION: ${{ inputs.a_app_version }}
|
||||
APP_REGION: ${{ inputs.b_app_region }}
|
||||
APP_FLAVOR: ${{ inputs.c_app_flavor }}
|
||||
APP_REGION: ${{ inputs.a_app_region }}
|
||||
APP_FLAVOR: ${{ inputs.b_app_flavor }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -63,7 +58,7 @@ jobs:
|
|||
"key": {
|
||||
"organization": "edp-developer-framework",
|
||||
"name": "$(echo ${{ steps.repository.outputs.repository }} | sed -e 's|^.*/||')",
|
||||
"version": "${APP_VERSION}"
|
||||
"version": "${{ steps.docker.outputs.version }}"
|
||||
},
|
||||
"image_path": "${{ steps.docker.outputs.tags }}",
|
||||
"image_type": "Docker",
|
||||
|
|
@ -79,15 +74,5 @@ jobs:
|
|||
EOF
|
||||
)
|
||||
|
||||
echo $CREATEAPP_JSON
|
||||
echo "------"
|
||||
echo ${{ steps.docker.outputs.tags }}
|
||||
echo "------"
|
||||
echo ${{ steps.docker.outputs.version }}
|
||||
echo "------"
|
||||
echo ${{ steps.docker.outputs.labels }}
|
||||
echo "------"
|
||||
echo ${{ steps.docker.outputs.annotations }}
|
||||
|
||||
echo create app
|
||||
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" -Sf --data "$CREATEAPP_JSON"
|
||||
Loading…
Add table
Add a link
Reference in a new issue