feat(edgeconnect-demo-delete): added delete action for IPCEICIS-5882
All checks were successful
build / build (push) Successful in 15s
All checks were successful
build / build (push) Successful in 15s
This commit is contained in:
parent
147cea0736
commit
c197daefa0
1 changed files with 53 additions and 0 deletions
53
.forgejo/workflows/delete.yaml
Normal file
53
.forgejo/workflows/delete.yaml
Normal 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue