github.com/jaylevin/jenkins-library@v1.230.4/resources/metadata/cloudFoundryCreateSpace.yaml (about)

     1  metadata:
     2    name: cloudFoundryCreateSpace
     3    description: Creates a user defined space in Cloud Foundry
     4    longDescription: |
     5      Creates a cf space in Cloud Foundry
     6      Mandatory:
     7      * Cloud Foundry API endpoint, Organization, name of the Cf space to be created
     8  
     9  spec:
    10    inputs:
    11      secrets:
    12        - name: cfCredentialsId
    13          description: Jenkins credentials ID containing user and password to authenticate to the Cloud Foundry API
    14          type: jenkins
    15          aliases:
    16            - name: cloudFoundry/credentialsId
    17      resources:
    18        - name: deployDescriptor
    19          type: stash
    20      params:
    21        - name: cfApiEndpoint
    22          type: string
    23          description: Cloud Foundry API endpoint
    24          scope:
    25            - PARAMETERS
    26            - STAGES
    27            - STEPS
    28            - GENERAL
    29          mandatory: true
    30          aliases:
    31            - name: cloudFoundry/apiEndpoint
    32          default: "https://api.cf.eu10.hana.ondemand.com"
    33        - name: username
    34          type: string
    35          description: User or E-Mail for CF
    36          scope:
    37            - PARAMETERS
    38            - STAGES
    39            - STEPS
    40          mandatory: true
    41          secret: true
    42          resourceRef:
    43            - name: cfCredentialsId
    44              type: secret
    45              param: username
    46        - name: password
    47          type: string
    48          description: Password for Cloud Foundry User
    49          scope:
    50            - PARAMETERS
    51            - STAGES
    52            - STEPS
    53          mandatory: true
    54          secret: true
    55          resourceRef:
    56            - name: cfCredentialsId
    57              type: secret
    58              param: password
    59        - name: cfOrg
    60          type: string
    61          description: Cloud Foundry org
    62          scope:
    63            - PARAMETERS
    64            - STAGES
    65            - STEPS
    66            - GENERAL
    67          mandatory: true
    68          aliases:
    69            - name: cloudFoundry/org
    70        - name: cfSpace
    71          type: string
    72          description: The name of the Cloud Foundry Space to be created
    73          scope:
    74            - PARAMETERS
    75            - STAGES
    76            - STEPS
    77            - GENERAL
    78          mandatory: true
    79          aliases:
    80            - name: cloudFoundry/space
    81    containers:
    82      - name: cf
    83        image: ppiper/cf-cli:latest