47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
name: createapp
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
a_app_region:
|
|
type: string
|
|
description: "Application Region e.g. EU"
|
|
default: EU
|
|
required: true
|
|
b_app_flavor:
|
|
type: string
|
|
description: "Application Flavor e.g. EU.small"
|
|
default: EU.small
|
|
required: true
|
|
c_cloudlet:
|
|
type: choice
|
|
options:
|
|
- Amsterdam-OTC
|
|
- Hamburg
|
|
- Leipzig
|
|
- Munich
|
|
- Berlin
|
|
- Frankfurt
|
|
- Magdeburg-OTC
|
|
- Bonn
|
|
- Magdeburg
|
|
- crm-vm-2
|
|
description: "Cloudlet location"
|
|
default: Munich
|
|
required: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
-
|
|
name: Deploy action
|
|
uses: https://edp.buildth.ing/DevFW-CICD/edge-connect-action/deploy@main
|
|
id: deploy
|
|
with:
|
|
region: ${{ inputs.a_app_region }}
|
|
flavor: ${{ inputs.b_app_flavor }}
|
|
cloudlet: ${{ inputs.c_cloudlet }}
|
|
edgexr_platform_username: ${{ secrets.EDGEXR_PLATFORM_USERNAME }}
|
|
edgexr_platform_password: ${{ secrets.EDGEXR_PLATFORM_PASSWORD }}
|