get.porter.sh/porter@v1.3.0/build/testdata/bundles/wordpressv2/porter.yaml (about) 1 schemaVersion: 1.1.0 2 name: wordpress 3 version: 0.1.4 4 registry: "localhost:5000" 5 6 mixins: 7 - exec 8 - helm3: 9 repositories: 10 bitnami: 11 url: "https://charts.bitnami.com/bitnami" 12 13 dependencies: 14 requires: 15 - name: mysql 16 bundle: 17 reference: localhost:5000/mysql:v0.1.4 18 sharing: 19 mode: true 20 group: 21 name: myapp 22 parameters: 23 database-name: wordpress 24 mysql-user: wordpress 25 namespace: wordpress 26 27 credentials: 28 - name: kubeconfig 29 path: /home/nonroot/.kube/config 30 31 parameters: 32 - name: wordpress-name 33 type: string 34 default: porter-ci-wordpress 35 env: WORDPRESS_NAME 36 - name: wordpress-password 37 type: string 38 sensitive: true 39 applyTo: 40 - install 41 - upgrade 42 - name: namespace 43 type: string 44 default: 'wordpress' 45 46 install: 47 - exec: 48 command: ./helpers.sh 49 arguments: 50 - install 51 52 upgrade: 53 - exec: 54 command: ./helpers.sh 55 arguments: 56 - install 57 58 ping: 59 - exec: 60 description: "Ping" 61 command: ./helpers.sh 62 arguments: 63 - ping 64 65 uninstall: 66 - exec: 67 command: echo 68 arguments: 69 - uninstall wordpress 70 71 outputs: 72 - name: wordpress-password 73 description: "The Wordpress installation password" 74 type: string 75 default: "default-password" 76 applyTo: 77 - "install" 78 - "upgrade" 79 sensitive: true 80 path: /cnab/app/outputs/wordpress-password