feat(edgeconnect-demo-delete): added delete action for IPCEICIS-5882
All checks were successful
build / build (push) Successful in 15s

This commit is contained in:
Stephan Lo 2025-10-15 11:10:15 +02:00
parent 147cea0736
commit c197daefa0

View file

@ -0,0 +1,53 @@
name: delete
on:
workflow_dispatch:
inputs:
name:
type: string
description: "App name to delete"
required: true
appVersion:
type: string
description: "Version of the app to delete"
required: true
org:
type: string
description: "Organization of the app to delete"
required: true
region:
type: string
description: "Region of the app to delete"
required: true
cloudletOrg:
type: string
description: "Cloudlet organization of the app to delete"
required: true
cloudlet:
type: string
description: "Cloudlet of the app to delete"
required: true
env:
INPUT_NAME: ${{ inputs.name }}
INPUT_APPVERSION: ${{ inputs.appVersion }}
INPUT_ORG: ${{ inputs.org }}
INPUT_REGION: ${{ inputs.region }}
INPUT_CLOUDLET_ORG: ${{ inputs.cloudletOrg }}
INPUT_CLOUDLET: ${{ inputs.cloudlet }}
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Delete action
uses: https://edp.buildth.ing/DevFW-CICD/edge-connect-delete-action@main
id: delete
with:
baseUrl: https://hub.apps.edge.platform.mg3.mdb.osc.live
username: ${{ secrets.EDGEXR_PLATFORM_USERNAME }}
password: ${{ secrets.EDGEXR_PLATFORM_PASSWORD }}