feat: add a new plugin trigger for detecting what the current deployment method is

This is currently used solely for reporting.

Closes #3047
This commit is contained in:
Jose Diaz-Gonzalez
2018-03-03 18:16:50 -05:00
parent be79060d7e
commit c9d9750afe
7 changed files with 76 additions and 8 deletions

View File

@@ -15,6 +15,7 @@ report_single_app() {
local flag_map=(
"--app-dir: $APP_DIR"
"--git-sha: $(GIT_DIR="$APP_DIR" git rev-parse --short HEAD 2> /dev/null || false)"
"--deploy-method: $(plugn trigger deploy-method "$APP")"
)
if [[ -z "$INFO_FLAG" ]]; then