get.porter.sh/porter@v1.3.0/tests/testdata/embeddedimg/porter.yaml (about)

     1  # This is a test bundle that can be used as a dependency
     2  
     3  schemaVersion: 1.0.1
     4  name: embeddedimg
     5  version: 0.1.0
     6  description: "A test bundle dependency"
     7  registry: localhost:5000
     8  
     9  images:
    10    alpine:
    11      description: Alpine image
    12      repository: alpine
    13      imageType: docker
    14      tag: 3.20.3
    15  
    16  parameters:
    17    - name: database
    18      type: string
    19      default: "(default)"
    20  
    21  outputs:
    22    - name: connStr
    23      type: file
    24      path: /cnab/app/connection-string.txt
    25      applyTo:
    26        - install
    27        - upgrade
    28  
    29  mixins:
    30    - exec
    31  
    32  dry-run:
    33    - exec:
    34        command: echo
    35        arguments:
    36          - "ready to install mydb"
    37  
    38  install:
    39    - exec:
    40        command: echo
    41        arguments:
    42          - "installing mydb"
    43    - exec:
    44        command: echo
    45        arguments:
    46          - "database: ${ bundle.parameters.database }"
    47    - exec:
    48        description: "Debug"
    49        command: echo
    50        arguments:
    51          - "image:${ bundle.installerImage }"
    52  
    53  status:
    54    - exec:
    55        command: echo
    56        arguments:
    57          - "mydb is looking great!"
    58  
    59  upgrade:
    60    - exec:
    61        command: echo
    62        arguments:
    63          - "upgrading mydb"
    64  
    65  uninstall:
    66    - exec:
    67        command: echo
    68        arguments:
    69          - "uninstalling mydb"