get.porter.sh/porter@v1.3.0/tests/integration/testdata/bundles/bundle-with-credentials/helpers.sh (about)

     1  #!/usr/bin/env bash
     2  set -euo pipefail
     3  
     4  install() {
     5    echo Hello World
     6  }
     7  
     8  upgrade() {
     9    echo World 2.0
    10  }
    11  
    12  uninstall() {
    13    echo Goodbye World
    14  }
    15  
    16  zombies() {
    17    echo oh noes my brains
    18  }
    19  
    20  dump-myfile() {
    21    cat /cnab/app/myfile
    22  }
    23  
    24  # Call the requested function and pass the arguments as-is
    25  "$@"