Compare commits

..

10 commits
v1.1.5 ... main

Author SHA1 Message Date
11e8511b64
fix(action): 🚑 fix action url again
All checks were successful
build / build (push) Successful in 14s
2025-09-23 15:31:32 +02:00
ef0335bda0
fix(action): 🚚 Use correct action default url
All checks were successful
build / build (push) Successful in 15s
2025-09-23 15:29:03 +02:00
6279a296bf
fix(action): 🐛 fix action path
All checks were successful
build / build (push) Successful in 23s
2025-09-23 15:22:40 +02:00
b1afc10922
feat(action): Use deploy action
All checks were successful
build / build (push) Successful in 15s
2025-09-23 15:17:09 +02:00
84a4576935 .forgejo/workflows/createapp.yaml aktualisiert
All checks were successful
build / build (push) Successful in 17s
2025-09-15 15:24:19 +00:00
1291e72b6f Update .forgejo/workflows/createapp.yaml
All checks were successful
build / build (push) Successful in 15s
2025-08-29 09:25:36 +00:00
6d8d7548bc Update .forgejo/workflows/createapp.yaml
All checks were successful
build / build (push) Successful in 14s
2025-08-29 09:23:31 +00:00
223952c127 Update .forgejo/workflows/createapp.yaml
All checks were successful
build / build (push) Successful in 15s
2025-08-29 09:09:36 +00:00
223bfe40af Update .forgejo/workflows/deleteapp.yaml
All checks were successful
build / build (push) Successful in 17s
2025-08-27 08:09:33 +00:00
b61fb484e9 Update .forgejo/workflows/deleteapp.yaml
All checks were successful
build / build (push) Successful in 21s
2025-08-27 08:02:00 +00:00
3 changed files with 73 additions and 5 deletions

View file

@ -0,0 +1,47 @@
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 }}

View file

@ -25,6 +25,7 @@ on:
- Magdeburg-OTC
- Bonn
- Magdeburg
- crm-vm-2
description: "Cloudlet location"
default: Munich
required: true
@ -75,7 +76,7 @@ jobs:
"region": "${APP_REGION}",
"app": {
"key": {
"organization": "edp-developer-framework",
"organization": "dev-framework",
"name": "$(echo ${{ steps.repository.outputs.repository }} | sed -e 's|^.*/||')",
"version": "${{ steps.docker.outputs.version }}"
},
@ -109,7 +110,7 @@ jobs:
"region": "${APP_REGION}",
"appinst": {
"key": {
"organization": "edp-developer-framework",
"organization": "dev-framework",
"name": "$(echo ${{ steps.repository.outputs.repository }} | sed -e 's|^.*/||')-instance",
"cloudlet_key": {
"organization": "TelekomOP",
@ -117,7 +118,7 @@ jobs:
}
},
"app_key": {
"organization": "edp-developer-framework",
"organization": "dev-framework",
"name": "$(echo ${{ steps.repository.outputs.repository }} | sed -e 's|^.*/||')",
"version": "${{ steps.docker.outputs.version }}"
},

View file

@ -7,11 +7,27 @@ on:
type: string
description: "Application Region e.g. EU"
default: EU
b_cloudlet:
type: choice
options:
- Amsterdam-OTC
- Hamburg
- Leipzig
- Munich
- Berlin
- Frankfurt
- Magdeburg-OTC
- Bonn
- Magdeburg
description: "Cloudlet e.g. EU.small"
default: Munich
required: true
env:
EDGEXR_PLATFORM_USERNAME: ${{ secrets.EDGEXR_PLATFORM_USERNAME }}
EDGEXR_PLATFORM_PASSWORD: ${{ secrets.EDGEXR_PLATFORM_PASSWORD }}
APP_REGION: ${{ inputs.a_app_region }}
CLOUDLET: ${{ inputs.b_cloudlet }}
jobs:
build:
@ -53,7 +69,11 @@ jobs:
"appinst": {
"key": {
"organization": "edp-developer-framework",
"name": "$(echo ${{ steps.repository.outputs.repository }} | sed -e 's|^.*/||')-instance"
"name": "$(echo ${{ steps.repository.outputs.repository }} | sed -e 's|^.*/||')-instance",
"cloudlet_key": {
"organization": "TelekomOP",
"name": "${CLOUDLET}"
}
},
"app_key": {
"organization": "edp-developer-framework",
@ -68,7 +88,7 @@ jobs:
echo $DELETEAPPINSTANCE_JSON
echo delete app instance
curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/DeleteAppInst -H 'Content-Type: application/json' -H "Authorization: Bearer $EDGEXR_TOKEN" -S --data "$DELETEAPPINSTANCE_JSON" --fail-with-body
curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/DeleteAppInst -H 'Content-Type: application/json' -H "Authorization: Bearer $EDGEXR_TOKEN" -S --data "$DELETEAPPINSTANCE_JSON" --fail-with-body || true
-
name: Delete Edge Connect App
run: |