changle git local root dir

This commit is contained in:
2024-10-24 16:39:37 +08:00
parent 587e7a65f0
commit 9e5b4c1bf1
10 changed files with 21 additions and 21 deletions

8
.vscode/launch.json vendored
View File

@@ -18,7 +18,7 @@
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/be.ems/restagent/",
"program": "d:/omc.git/be.ems/restagent/",
"console": "integratedTerminal"
},
{
@@ -26,7 +26,7 @@
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/be.ems/sshsvc/sshsvc.go",
"program": "d:/omc.git/be.ems/sshsvc/sshsvc.go",
"console": "integratedTerminal"
},
{
@@ -34,7 +34,7 @@
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/be.ems/crontask",
"program": "d:/omc.git/be.ems/crontask",
"console": "integratedTerminal"
},
{
@@ -42,7 +42,7 @@
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/be.ems/tools/encode",
"program": "d:/omc.git/be.ems/tools/encode",
"console": "integratedTerminal"
}
]

View File

@@ -2,7 +2,7 @@
# level: /trace/debug/info/error/warn/error/fatal, default: debug
# duration: saved days, default is 30 days
logger:
file: d:/local.git/be.ems/captrace/log/captrace.log
file: d:/omc.git/be.ems/captrace/log/captrace.log
level: trace
duration: 24
count: 10

View File

@@ -2,7 +2,7 @@
# level: /trace/debug/info/error/warn/error/fatal, default: debug
# duration: saved days, default is 30 days
logger:
file: d:/local.git/be.ems/crontask/log/crontask.log
file: d:/omc.git/be.ems/crontask/log/crontask.log
level: trace
duration: 24
count: 10
@@ -26,7 +26,7 @@ database:
port: 33066
name: omc_db
connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True
backup: d:/local.git/be.ems/restagent/database
backup: d:/omc.git/be.ems/restagent/database
# northbound interface, cm/pm
# duration(day): saved days

View File

@@ -9,7 +9,7 @@ Release = $(RelDate)
RelVer = $(VERSION)-$(RelDate)
PLATFORM = amd64
ARMPLATFORM = aarch64
GitLocalRoot = $(HOME)/local.git
GitLocalRoot = $(HOME)/omc.git
EmsBuildRoot=$(GitLocalRoot)/build.ems
BuildDir = $(EmsBuildRoot)/build
BuildOMCDir = $(BuildDir)/usr/local/omc

View File

@@ -10,7 +10,7 @@ Ky10Arch=ky10.aarch64
RpmPkgName=${ProjectL}-${RelVer}.ky10.aarch64.rpm
RpmPkgRename=${ProjectL}-r${RelVer}-ky10.rpm
DebPkgName=${ProjectL}-r${RelVer}-ub*.deb
GitLocalRoot=${HOME}/local.git
GitLocalRoot=${HOME}/omc.git
EmsBEDir=${GitLocalRoot}/be.ems
EmsBuildRoot=${GitLocalRoot}/build.ems
RpmArch=`arch`

View File

@@ -3,7 +3,7 @@
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: d:/local.git/be.ems/restagent/log/restagent.log
file: d:/omc.git/be.ems/restagent/log/restagent.log
level: trace
duration: 24
count: 2
@@ -27,7 +27,7 @@ rest:
webServer:
enabled: false
rootDir: d:/local.git/fe.ems.vue3/dist
rootDir: d:/omc.git/fe.ems.vue3/dist
listen:
- addr: :80
schema: http
@@ -46,7 +46,7 @@ database:
port: 33066
name: omc_db
connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True
backup: d:/local.git/be.ems/restagent/database
backup: d:/omc.git/be.ems/restagent/database
# Redis 缓存数据,数据源声明全小写
redis:
@@ -113,8 +113,8 @@ omc:
binDir: ./bin
backup: ./backup
upload: ./upload
frontUpload: d:/local.git/fe.ems/upload
frontTraceDir: d:/local.git/fe.ems/trace
frontUpload: d:/omc.git/fe.ems/upload
frontTraceDir: d:/omc.git/fe.ems/trace
software: ./software
license: ./license
gtpUri: gtp:192.168.2.219:2152

View File

@@ -4,7 +4,7 @@
# count: rotation count of log, default is 30 rotation
# pprof: false(default)/true to disable/enable pprof
logger:
file: d:/local.git/be.ems/restagent/log/restagent.log
file: d:/omc.git/be.ems/restagent/log/restagent.log
level: trace
duration: 24
count: 2
@@ -24,7 +24,7 @@ rest:
webServer:
enabled: true
rootDir: d:/local.git/fe.ems.vue3/dist
rootDir: d:/omc.git/fe.ems.vue3/dist
listen:
- addr: :80
schema: http
@@ -43,7 +43,7 @@ database:
port: 33066
name: "omc_db"
connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True
backup: d:/local.git/be.ems/restagent/database
backup: d:/omc.git/be.ems/restagent/database
# Redis data cache
redis:

View File

@@ -3,7 +3,7 @@
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: d:/local.git/be.ems/sshsvc/log/sshsvc.log
file: d:/omc.git/be.ems/sshsvc/log/sshsvc.log
level: trace
duration: 24
count: 30
@@ -13,7 +13,7 @@ logger:
# count: rotation count of log, default is 30 rotation
# level: cmd/ret log cmd/log cmd & result
logmml:
file: d:/local.git/be.ems/sshsvc/mmllog/omcmml.log
file: d:/omc.git/be.ems/sshsvc/mmllog/omcmml.log
duration: 24
count: 30
level: ret

View File

@@ -1,7 +1,7 @@
#!/bin/bash
Home=/home/simon
GitLocalRoot=${Home}/local.git
GitLocalRoot=${Home}/omc.git
EmsBEDir=${GitLocalRoot}/be.ems
user="root"
password="1000omc@kp!"

View File

@@ -1,7 +1,7 @@
#!/bin/bash
Home=/home/simon
GitLocalRoot=${Home}/local.git
GitLocalRoot=${Home}/omc.git
EmsBEDir=${GitLocalRoot}/be.ems
EMSBuildDir=${GitLocalRoot}/build.ems
user="root"