get.porter.sh/porter@v1.3.0/pkg/manifest/testdata/porter-with-templating.yaml (about) 1 schemaVersion: 1.0.0 2 name: hello-with-templating 3 version: 0.1.0 4 registry: "localhost:5000" 5 6 mixins: 7 - exec 8 9 dependencies: 10 requires: 11 - name: mysql 12 bundle: 13 reference: getporter/mysql:v0.1.3 14 15 parameters: 16 - name: tfstate 17 type: file 18 path: /cnab/app/tfstate 19 source: 20 output: tfstate 21 - name: root-password 22 type: string 23 source: 24 dependency: mysql 25 output: mysql-root-password 26 27 outputs: 28 - name: msg 29 type: string 30 default: "" 31 - name: tfstate 32 type: file 33 path: /cnab/app/outputs/tfstate 34 35 install: 36 - exec: 37 description: "Say Hello" 38 command: ./helpers.sh 39 arguments: 40 - install 41 - ${ bundle.dependencies.mysql.outputs.mysql-password } 42 outputs: 43 - name: name 44 regex: Hello (.*) 45 - name: tfstate 46 path: /cnab/app/outputs/tfstate 47 - exec: 48 description: "Use step output" 49 command: ./helpers.sh 50 arguments: 51 - debug 52 - ${ bundle.outputs.name } 53 54 upgrade: 55 - exec: 56 description: "Upgrade" 57 command: ./helpers.sh 58 arguments: 59 - upgrade 60 - ${ bundle.outputs.msg } 61 62 uninstall: 63 - exec: 64 description: "Say Goodbye" 65 command: ./helpers.sh 66 arguments: 67 - uninstall 68 - ${ bundle.outputs.msg }