1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-02-24 13:39:29 +08:00
parent 70dfec6da6
commit 15e1ada00d
4 changed files with 4 additions and 2 deletions

View File

@ -438,7 +438,7 @@ func init() {
if ice.Info.NodeType == WORKER || !aaa.IsTechOrRoot(m) || m.IsCliUA() {
m.Action()
} else if cli.SystemFindGo(m) {
m.Action(html.FILTER, mdb.CREATE, STARTALL, STOPALL, cli.BUILD, PUBLISH)
m.Action(html.FILTER, mdb.CREATE, STARTALL, STOPALL, cli.BUILD, PUBLISH, nfs.FILE)
} else {
m.Action(html.FILTER, mdb.CREATE, STARTALL, STOPALL)
}

View File

@ -396,7 +396,7 @@ func init() {
if ls := kit.Simple(m.Optionv(ice.MSG_UPLOAD)); len(ls) > 1 {
m.Cmd(SPACE, pod, SPIDE, ice.DEV, CACHE, SHARE_CACHE+ls[0])
}
m.Options(ice.POD, []string{}, ice.MSG_USERPOD, pod, ice.MSG_DEBUG, ice.FALSE).Cmdy(append(kit.List(ice.SPACE, pod), arg...)...)
m.Options(ice.POD, []string{}, ice.MSG_USERPOD, pod).Cmdy(append(kit.List(ice.SPACE, pod), arg...)...)
return true
}
return false

View File

@ -62,6 +62,7 @@ var Info = struct {
System string
Domain string
PidPath string
CtxRoot string
Traceid string
Localhost bool
Important bool

View File

@ -54,6 +54,7 @@ func init() {
m.Cmd(cli.SYSTEM, GIT, STASH)
m.Cmd(cli.SYSTEM, GIT, CHECKOUT, ".")
m.Go(func() { m.Sleep30ms(ice.QUIT, 1) })
m.ProcessHold()
}},
web.DREAM_TABLES: {Hand: func(m *ice.Message, arg ...string) {
if !nfs.Exists(m, path.Join(ice.USR_LOCAL_WORK, m.Option(mdb.NAME), _GIT)) {