get.porter.sh/porter@v1.3.0/build/testdata/bundles/mysql/helpers.sh (about)

     1  #!/usr/bin/env bash
     2  set -euo pipefail
     3  
     4  install() {
     5    mkdir -p /cnab/app/outputs
     6    echo "topsecret" >> /cnab/app/outputs/mysql-root-password
     7    echo "moresekrets" >> /cnab/app/outputs/mysql-password
     8  }
     9  
    10  ping() {
    11    echo ping
    12  }
    13  
    14  # Call the requested function and pass the arguments as-is
    15  "$@"