get.porter.sh/porter@v1.3.0/pkg/cnab/config-adapter/testdata/porter.yaml (about) 1 schemaVersion: 1.0.0-alpha.1 2 name: porter-hello 3 description: "An example Porter configuration" 4 version: 0.1.0 5 registry: "localhost:5000" 6 7 credentials: 8 - name: username 9 description: Name of the database user 10 required: false 11 env: ROOT_USERNAME 12 - name: password 13 path: /tmp/password 14 applyTo: 15 - uninstall 16 17 parameters: 18 - name: db_collation 19 type: string 20 default: Latin1_General_CI_AI 21 22 dependencies: 23 requires: 24 - name: mysql 25 bundle: 26 reference: "getporter/azure-mysql:5.7" 27 parameters: 28 database: wordpress 29 collation: ${bundle.parameters.db_collation} 30 - name: ad 31 bundle: 32 reference: "getporter/azure-active-directory" 33 version: 1.0.0-0 34 - name: storage 35 bundle: 36 reference: "getporter/azure-blob-storage" 37 version: 1.x - 2,2.1 - 3.x 38 39 mixins: 40 - exec 41 42 install: 43 - exec: 44 description: "Say Hello" 45 command: bash 46 flags: 47 c: echo Hello World 48 49 status: 50 - exec: 51 description: "Get World Status" 52 command: bash 53 flags: 54 c: echo The world is on fire 55 56 uninstall: 57 - exec: 58 description: "Say Goodbye" 59 command: bash 60 flags: 61 c: echo Goodbye World