Merge pull request #4882 from dokku/setup-config

Add missing setup/teardown of builder plugin properties
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2021-10-24 20:21:33 -04:00
commit 6db82861e6
6 files changed
+81

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-builder-dockerfile-install() {
declare desc="installs the builder-dockerfile plugin"
declare trigger="install"
fn-plugin-property-setup "builder-dockerfile"
}
trigger-builder-dockerfile-install "$@"
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-builder-dockerfile-post-delete() {
declare desc="destroys the builder-dockerfile properties for a given app"
declare trigger="post-delete"
declare APP="$1"
fn-plugin-property-destroy "builder-dockerfile" "$APP"
}
trigger-builder-dockerfile-post-delete "$@"
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-builder-herokuish-install() {
declare desc="installs the builder-herokuish plugin"
declare trigger="install"
fn-plugin-property-setup "builder-herokuish"
}
trigger-builder-herokuish-install "$@"
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-builder-herokuish-post-delete() {
declare desc="destroys the builder-herokuish properties for a given app"
declare trigger="post-delete"
declare APP="$1"
fn-plugin-property-destroy "builder-herokuish" "$APP"
}
trigger-builder-herokuish-post-delete "$@"
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-builder-pack-install() {
declare desc="installs the builder-pack plugin"
declare trigger="install"
fn-plugin-property-setup "builder-pack"
}
trigger-builder-pack-install "$@"
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-builder-pack-post-delete() {
declare desc="destroys the builder-pack properties for a given app"
declare trigger="post-delete"
declare APP="$1"
fn-plugin-property-destroy "builder-pack" "$APP"
}
trigger-builder-pack-post-delete "$@"