mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
feat(pre-deploy): implement pre-deploy hook operations for deployment
This commit is contained in:
@@ -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))
|
||||
}
|
||||
Reference in New Issue
Block a user