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