1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/resources/metadata/cloudFoundryDeleteSpace.yaml
Oliver Feldmann 9812391145
Remove image pull policy from steps defaults (#2310)
Without this change the default setting from dockerExecute
and dockerExecuteOnKubernetes are overruled.
With this change the user has to explicitly configure a step
if they want this behaviour.

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-11-05 10:58:32 +01: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