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/cloudFoundryDeleteSpace.yaml
Thorsten Duda 434e4529d5
cfcli update (#3777)
* cfcli update

* cfcli update
2022-05-17 08:53:19 +02:00

84 lines
2.1 KiB
YAML

metadata:
name: cloudFoundryDeleteSpace
description: Deletes a space in Cloud Foundry
longDescription: |
Deletes a space in Cloud Foundry
Mandatory:
* Cloud Foundry API endpoint, Organization, Space name
spec:
inputs:
secrets:
- name: cfCredentialsId
description: Jenkins credentials ID containing user and password to authenticate to the Cloud Foundry API
type: jenkins
aliases:
- name: cloudFoundry/credentialsId
resources:
- name: deployDescriptor
type: stash
params:
- name: cfApiEndpoint
type: string
description: Cloud Foundry API endpoint
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/apiEndpoint
default: "https://api.cf.eu10.hana.ondemand.com"
- name: username
type: string
description: User or E-Mail for CF
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
secret: true
resourceRef:
- name: cfCredentialsId
type: secret
param: username
- name: password
type: string
description: Password for Cloud Foundry User
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
secret: true
resourceRef:
- name: cfCredentialsId
type: secret
param: password
- name: cfOrg
type: string
description: Cloud Foundry org
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/org
- name: cfSpace
type: string
description: The name of the Cloud Foundry Space to be deleted
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/space
containers:
- name: cf
image: ppiper/cf-cli:latest