Merge pull request #7750 from dokku/0.36-release

Release 0.36.0
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2025-07-23 22:02:58 -04:00
commit 328aa3779c
124 files changed
+2174 -951

No files matched your search

-1
View File
@@ -24,7 +24,6 @@ fn-domains-clear-app() {
local APP_VHOST_PATH="$DOKKU_ROOT/$APP/VHOST"
rm -f "$APP_VHOST_PATH"
domains_setup "$APP"
plugn trigger post-domains-update "$APP" "clear"
dokku_log_info1 "Cleared domains in $APP"
}
+1
View File
@@ -36,6 +36,7 @@ fn-help-content() {
domains:remove <app> <domain> [<domain> ...], Remove domains from app
domains:remove-global <domain> [<domain> ...], Remove global domain names
domains:report [<app>|--global] [<flag>], Displays a domains report for one or more apps
domains:reset <app>, Reset app domains to global-configured domains
domains:set <app> <domain> [<domain> ...], Set domains for app
domains:set-global <domain> [<domain> ...], Set global domain names
help_content
+1 -1
View File
@@ -5,7 +5,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/domains/functions"
cmd-domains-clear-global() {
declare desc="clear global domain names via command line"
declare desc="clear global domain names"
declare cmd="domains:clear-global"
[[ "$1" == "$cmd" ]] && shift 1
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/domains/functions"
cmd-domains-reset() {
declare desc="reset app domains to global-configured domains"
declare cmd="domains:reset"
[[ "$1" == "$cmd" ]] && shift 1
declare APP="$1"
verify_app_name "$APP"
fn-domains-clear "$APP"
domains_setup "$APP"
plugn trigger post-domains-update "$APP" "reset"
dokku_log_info1_quiet "Reset domains for $APP"
}
cmd-domains-reset "$@"
+2
View File
@@ -12,6 +12,8 @@ cmd-domains-setup() {
verify_app_name "$APP"
domains_setup "$APP"
plugn trigger post-domains-update "$APP" "reset"
dokku_log_info1_quiet "Setup domains for $APP"
}
cmd-domains-setup "$@"