feat(pre-deploy): implement pre-deploy hook operations for deployment

This commit is contained in:
Pasha Sviderski committed 2026-04-08 19:16:42 +10:00
1 parent 1c8b77054a
commit 772b31b57f
6 files changed
+505 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package progress
import (
"fmt"
"github.com/psviderski/uncloud/internal/cli/tui"
)
// PreDeployHookEventID returns a progress event identifier for pre-deploy hook operations.
func PreDeployHookEventID(serviceName, machineName string) string {
return fmt.Sprintf("Pre-deploy hook %s on %s", tui.NameStyle.Render(serviceName), tui.Bold.Render(machineName))
}