github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/resources/metadata/abapEnvironmentPullGitRepo.yaml (about)

     1  metadata:
     2    name: abapEnvironmentPullGitRepo
     3    description: Pulls a git repository to a SAP BTP ABAP Environment system
     4    longDescription: |
     5      Pulls a git repository (Software Component) to a SAP BTP ABAP Environment system.
     6      Please provide either of the following options:
     7  
     8      * The host and credentials the BTP ABAP Environment system itself. The credentials must be configured for the Communication Scenario [SAP_COM_0510](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/b04a9ae412894725a2fc539bfb1ca055.html).
     9      * The Cloud Foundry parameters (API endpoint, organization, space), credentials, the service instance for the ABAP service and the service key for the Communication Scenario SAP_COM_0510.
    10      * Only provide one of those options with the respective credentials. If all values are provided, the direct communication (via host) has priority.
    11  
    12  spec:
    13    inputs:
    14      secrets:
    15        - name: abapCredentialsId
    16          description: Jenkins credentials ID containing user and password to authenticate to the BTP ABAP Environment system or the Cloud Foundry API
    17          type: jenkins
    18          aliases:
    19            - name: cfCredentialsId
    20            - name: credentialsId
    21      params:
    22        - name: username
    23          type: string
    24          description: User for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0510
    25          scope:
    26            - PARAMETERS
    27            - STAGES
    28            - STEPS
    29          mandatory: true
    30          secret: true
    31          resourceRef:
    32            - name: abapCredentialsId
    33              type: secret
    34              param: username
    35        - name: password
    36          type: string
    37          description: Password for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0510
    38          scope:
    39            - PARAMETERS
    40            - STAGES
    41            - STEPS
    42          mandatory: true
    43          secret: true
    44          resourceRef:
    45            - name: abapCredentialsId
    46              type: secret
    47              param: password
    48        - name: repositoryNames
    49          type: "[]string"
    50          description: Specifies a list of Repositories (Software Components) on the SAP BTP ABAP Environment system
    51          scope:
    52            - PARAMETERS
    53            - STAGES
    54            - STEPS
    55        - name: repositories
    56          type: string
    57          description: Specifies a YAML file containing the repositories configuration
    58          scope:
    59            - GENERAL
    60            - PARAMETERS
    61            - STAGES
    62            - STEPS
    63        - name: repositoryName
    64          type: string
    65          description: Specifies a repository (Software Component) on the SAP BTP ABAP Environment system
    66          scope:
    67            - PARAMETERS
    68            - STAGES
    69            - STEPS
    70        - name: commitID
    71          type: string
    72          description: Specifies a commitID of the repository, configured via "repositoryName" on the SAP BTP ABAP Environment system
    73          scope:
    74            - PARAMETERS
    75            - STAGES
    76            - STEPS
    77        - name: host
    78          type: string
    79          description: Specifies the host address of the SAP BTP ABAP Environment system
    80          scope:
    81            - PARAMETERS
    82            - STAGES
    83            - STEPS
    84            - GENERAL
    85        - name: cfApiEndpoint
    86          type: string
    87          description: Cloud Foundry API Enpoint
    88          scope:
    89            - PARAMETERS
    90            - STAGES
    91            - STEPS
    92            - GENERAL
    93          aliases:
    94            - name: cloudFoundry/apiEndpoint
    95        - name: cfOrg
    96          type: string
    97          description: Cloud Foundry target organization
    98          scope:
    99            - PARAMETERS
   100            - STAGES
   101            - STEPS
   102            - GENERAL
   103          aliases:
   104            - name: cloudFoundry/org
   105        - name: cfSpace
   106          type: string
   107          description: Cloud Foundry target space
   108          scope:
   109            - PARAMETERS
   110            - STAGES
   111            - STEPS
   112            - GENERAL
   113          aliases:
   114            - name: cloudFoundry/space
   115        - name: cfServiceInstance
   116          type: string
   117          description: Cloud Foundry Service Instance
   118          scope:
   119            - PARAMETERS
   120            - STAGES
   121            - STEPS
   122            - GENERAL
   123          aliases:
   124            - name: cloudFoundry/serviceInstance
   125        - name: cfServiceKeyName
   126          type: string
   127          description: Cloud Foundry Service Key
   128          scope:
   129            - PARAMETERS
   130            - STAGES
   131            - STEPS
   132            - GENERAL
   133          aliases:
   134            - name: cloudFoundry/serviceKey
   135            - name: cloudFoundry/serviceKeyName
   136            - name: cfServiceKey
   137        - name: ignoreCommit
   138          type: bool
   139          description: ingores a commit provided via the repositories file
   140          scope:
   141            - PARAMETERS
   142          default: false
   143    containers:
   144      - name: cf
   145        image: ppiper/cf-cli:v12