get.porter.sh/porter@v1.3.0/pkg/manifest/testdata/porter.yaml (about)

     1  schemaType: Bundle
     2  schemaVersion: 1.0.0
     3  name: mybun
     4  version: 0.1.0
     5  registry: example.com
     6  
     7  mixins:
     8    - exec
     9  
    10  # contains a mix of v1 and v2 supported syntax which lights up depending on what is enabled in config
    11  dependencies:
    12    requires:
    13      - name: mysql
    14        bundle:
    15          reference: "getporter/azure-mysql:5.7"
    16          version: 5.7.x
    17          # TODO(PEP003): Implement in https://github.com/getporter/porter/issues/2548
    18          #interface:
    19          #  reference: "getporter/azure-mysql:5.7-interface"
    20          #  document:
    21          #    parameters:
    22          #      - name: password
    23          #        type: string
    24        parameters:
    25          database-name: wordpress
    26        credentials:
    27          password: mcstuffins
    28  
    29  install:
    30    - exec:
    31        command: bash
    32        flags:
    33          c: echo Hello World
    34          
    35  uninstall:
    36    - exec:
    37        description: "Uninstall Hello World"
    38        command: bash
    39        flags:
    40          c: echo Goodbye World
    41  
    42  custom:
    43    foo: bar
    44  
    45  required:
    46    - requiredExtension1
    47    - requiredExtension2:
    48        config: true