|
|
@@ -438,6 +438,8 @@ var ( |
|
|
|
JobPath string |
|
|
|
JobType string |
|
|
|
DebugServerHost string |
|
|
|
GitUser string |
|
|
|
GitPassword string |
|
|
|
) |
|
|
|
|
|
|
|
// DateLang transforms standard language locale name to corresponding value in datetime plugin. |
|
|
@@ -1113,6 +1115,8 @@ func NewContext() { |
|
|
|
JobPath = sec.Key("JOB_PATH").MustString("/datasets/minio/data/opendata/jobs/") |
|
|
|
DebugServerHost = sec.Key("DEBUG_SERVER_HOST").MustString("http://192.168.202.73") |
|
|
|
JobType = sec.Key("JOB_TYPE").MustString("debug_openi") |
|
|
|
GitUser = sec.Key("GIT_USER").MustString("opendata") |
|
|
|
GitPassword = sec.Key("GIT_PASSWORD").MustString("pa%40123456") |
|
|
|
} |
|
|
|
|
|
|
|
func loadInternalToken(sec *ini.Section) string { |
|
|
|