forked from x/icebergs
add some
This commit is contained in:
parent
70dfec6da6
commit
15e1ada00d
@ -438,7 +438,7 @@ func init() {
|
|||||||
if ice.Info.NodeType == WORKER || !aaa.IsTechOrRoot(m) || m.IsCliUA() {
|
if ice.Info.NodeType == WORKER || !aaa.IsTechOrRoot(m) || m.IsCliUA() {
|
||||||
m.Action()
|
m.Action()
|
||||||
} else if cli.SystemFindGo(m) {
|
} 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 {
|
} else {
|
||||||
m.Action(html.FILTER, mdb.CREATE, STARTALL, STOPALL)
|
m.Action(html.FILTER, mdb.CREATE, STARTALL, STOPALL)
|
||||||
}
|
}
|
||||||
|
@ -396,7 +396,7 @@ func init() {
|
|||||||
if ls := kit.Simple(m.Optionv(ice.MSG_UPLOAD)); len(ls) > 1 {
|
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.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 true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
1
info.go
1
info.go
@ -62,6 +62,7 @@ var Info = struct {
|
|||||||
System string
|
System string
|
||||||
Domain string
|
Domain string
|
||||||
PidPath string
|
PidPath string
|
||||||
|
CtxRoot string
|
||||||
Traceid string
|
Traceid string
|
||||||
Localhost bool
|
Localhost bool
|
||||||
Important bool
|
Important bool
|
||||||
|
@ -54,6 +54,7 @@ func init() {
|
|||||||
m.Cmd(cli.SYSTEM, GIT, STASH)
|
m.Cmd(cli.SYSTEM, GIT, STASH)
|
||||||
m.Cmd(cli.SYSTEM, GIT, CHECKOUT, ".")
|
m.Cmd(cli.SYSTEM, GIT, CHECKOUT, ".")
|
||||||
m.Go(func() { m.Sleep30ms(ice.QUIT, 1) })
|
m.Go(func() { m.Sleep30ms(ice.QUIT, 1) })
|
||||||
|
m.ProcessHold()
|
||||||
}},
|
}},
|
||||||
web.DREAM_TABLES: {Hand: func(m *ice.Message, arg ...string) {
|
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)) {
|
if !nfs.Exists(m, path.Join(ice.USR_LOCAL_WORK, m.Option(mdb.NAME), _GIT)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user