1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/resources/metadata/cloudFoundryDeleteService.yaml

107 lines
2.9 KiB
YAML
Raw Normal View History

metadata:
name: cloudFoundryDeleteService
description: DeleteCloudFoundryService
longDescription: |
Delete CloudFoundryService
spec:
inputs:
secrets:
- name: cfCredentialsId
description: Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Cloud Foundry API.
type: jenkins
params:
- name: cfApiEndpoint
type: string
description: Cloud Foundry API endpoint
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/apiEndpoint
- name: username
type: string
description: User or E-Mail for CF
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
2020-04-16 14:37:45 +02:00
secret: true
resourceRef:
- name: cfCredentialsId
type: secret
param: username
- type: vaultSecret
paths:
- $(vaultPath)/cloudfoundry-$(org)-$(space)
- $(vaultBasePath)/$(vaultPipelineName)/cloudfoundry-$(org)-$(space)
- $(vaultBasePath)/GROUP-SECRETS/cloudfoundry-$(org)-$(space)
- name: password
type: string
description: User Password for CF User
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
2020-04-16 14:37:45 +02:00
secret: true
resourceRef:
- name: cfCredentialsId
type: secret
param: password
- type: vaultSecret
paths:
- $(vaultPath)/cloudfoundry-$(org)-$(space)
- $(vaultBasePath)/$(vaultPipelineName)/cloudfoundry-$(org)-$(space)
- $(vaultBasePath)/GROUP-SECRETS/cloudfoundry-$(org)-$(space)
- name: cfOrg
type: string
description: CF org
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/org
- name: cfSpace
type: string
description: CF Space
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/space
- name: cfServiceInstance
type: string
description: Parameter of ServiceInstance Name to delete CloudFoundry Service
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/serviceInstance
- name: cfDeleteServiceKeys
type: bool
description: Parameter to force deletion of Cloud Foundry Service Keys
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: false
aliases:
- name: cloudFoundry/cfDeleteServiceKeys
containers:
- name: cf
2021-02-15 12:06:07 +02:00
image: ppiper/cf-cli:7
2020-08-31 16:10:28 +02:00
workingDir: "/home/piper"