1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-05 15:15:44 +02:00
sap-jenkins-library/resources/metadata/cloudFoundryCreateServiceKey.yaml
2020-04-16 14:37:45 +02:00

98 lines
2.4 KiB
YAML

metadata:
name: cloudFoundryCreateServiceKey
description: cloudFoundryCreateServiceKey
longDescription: |
Create CloudFoundryServiceKey
spec:
inputs:
secrets:
- name: cfCredentialsId
description: Jenkins 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:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/apiEndpoint
- name: username
type: string
description: User or E-Mail for CF
scope:
- PARAMETERS
- STAGES
- STEPS
secret: true
mandatory: true
- name: password
type: string
description: User Password for CF User
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
secret: true
- name: cfOrg
type: string
description: CF org
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/org
- name: cfSpace
type: string
description: CF Space
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
aliases:
- name: cloudFoundry/space
- name: cfServiceInstance
type: string
description: Parameter of ServiceInstance Name to delete CloudFoundry Service
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
aliases:
- name: cloudFoundry/serviceInstance
- name: cfServiceKeyName
type: string
description: Parameter of CloudFoundry Service Key to be created
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
aliases:
- name: cloudFoundry/serviceKeyName
- name: cfServiceKeyConfig
type: string
description: Configuration for Service Key Creation
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
aliases:
- name: cloudFoundry/serviceKeyConfig
containers:
- name: cf
image: ppiper/cf-cli
dockerWorkspace: '/home/piper'
imagePullPolicy: Never