scratch: initial implementation

This commit is contained in:
Jose Diaz-Gonzalez
2022-04-16 01:29:10 -04:00
parent 96ef82cbc9
commit 02d6813209
16 changed files with 324 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-builder-lambda-post-app-rename-setup() {
declare desc="updates settings for new app"
declare trigger="post-app-rename-setup"
declare OLD_APP="$1" NEW_APP="$2"
fn-plugin-property-clone "builder-lambda" "$OLD_APP" "$NEW_APP"
fn-plugin-property-destroy "builder-lambda" "$OLD_APP"
}
trigger-builder-lambda-post-app-rename-setup "$@"