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

     1  metadata:
     2    name: pythonBuild
     3    description: Step build a python project
     4    longDescription: Step build python project with using test Vault credentials
     5  spec:
     6    inputs:
     7      params:
     8        - name: buildFlags
     9          type: "[]string"
    10          description: Defines list of build flags to be used.
    11          scope:
    12            - PARAMETERS
    13            - STAGES
    14            - STEPS
    15        - name: createBOM
    16          type: bool
    17          description: Creates the bill of materials (BOM) using CycloneDX plugin.
    18          scope:
    19            - GENERAL
    20            - STEPS
    21            - STAGES
    22            - PARAMETERS
    23          default: false
    24        - name: publish
    25          type: bool
    26          description: Configures the build to publish artifacts to a repository.
    27          scope:
    28            - STEPS
    29            - STAGES
    30            - PARAMETERS
    31          default: false
    32        - name: targetRepositoryPassword
    33          description: "Password for the target repository where the compiled binaries shall be uploaded - typically provided by the CI/CD environment."
    34          type: string
    35          scope:
    36            - PARAMETERS
    37            - STAGES
    38            - STEPS
    39          secret: true
    40          resourceRef:
    41            - name: commonPipelineEnvironment
    42              param: custom/repositoryPassword
    43        - name: targetRepositoryUser
    44          description: "Username for the target repository where the compiled binaries shall be uploaded - typically provided by the CI/CD environment."
    45          type: string
    46          scope:
    47            - PARAMETERS
    48            - STAGES
    49            - STEPS
    50          secret: true
    51          resourceRef:
    52            - name: commonPipelineEnvironment
    53              param: custom/repositoryUsername
    54        - name: targetRepositoryURL
    55          description: "URL of the target repository where the compiled binaries shall be uploaded - typically provided by the CI/CD environment."
    56          type: string
    57          scope:
    58            - PARAMETERS
    59            - STAGES
    60            - STEPS
    61          resourceRef:
    62            - name: commonPipelineEnvironment
    63              param: custom/repositoryUrl
    64        - name: buildSettingsInfo
    65          type: string
    66          description: build settings info is typically filled by the step automatically to create information about the build settings that were used during the maven build . This information is typically used for compliance related processes.
    67          scope:
    68            - STEPS
    69            - STAGES
    70            - PARAMETERS
    71          resourceRef:
    72            - name: commonPipelineEnvironment
    73              param: custom/buildSettingsInfo
    74        - name: virutalEnvironmentName
    75          type: string
    76          description: name of the virtual environment that will be used for the build
    77          scope:
    78            - STEPS
    79            - STAGES
    80            - PARAMETERS
    81          default: piperBuild-env
    82    outputs:
    83      resources:
    84        - name: commonPipelineEnvironment
    85          type: piperEnvironment
    86          params:
    87            - name: custom/buildSettingsInfo
    88    containers:
    89      - name: python
    90        image: python:3.9