get.porter.sh/porter@v1.3.0/tests/integration/testdata/bundles/suppressed-output-example/porter.yaml (about)

     1  schemaVersion: 1.0.0-alpha.1
     2  name: mybun
     3  version: 0.1.0
     4  description: "An example Porter configuration"
     5  registry: "localhost:5000"
     6  
     7  mixins:
     8    - exec
     9  
    10  customActions:
    11    log-error:
    12      description: "Log an error"
    13      stateless: true
    14      modifies: false
    15  
    16  install:
    17    - exec:
    18        description: "Install"
    19        command: ./helpers.sh
    20        arguments:
    21          - install
    22        # Create the bundle output to ensure this is captured
    23        outputs:
    24          - name: greeting
    25            jsonPath: '$.greeting'
    26        # Suppress command output from this action
    27        suppress-output: true
    28  
    29  log-error:
    30    - exec:
    31        description: "Custom - Error logged to Stderr"
    32        command: ./helpers.sh
    33        arguments:
    34          - log-error
    35        # Suppress command output from this action
    36        suppress-output: true
    37  
    38  uninstall:
    39    - exec:
    40        description: "Uninstall"
    41        command: ./helpers.sh
    42        arguments:
    43          - uninstall
    44  
    45  outputs:
    46    - name: greeting
    47      type: string
    48      applyTo:
    49        - install