c0088_vvvv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0088
Verbose -> vvvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
:release version: 1.0.0
:verbose level: vvvv
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0088
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"student": {
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"cbd": true
},
"school": "Sydney Grammar"
},
"name": "Tom",
"gender": "Male"
}
})
-------runtime global final merged with dvars-------
(*core.Cache)({
"student": {
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"cbd": true
},
"school": "Sydney Grammar"
},
"name": "Tom",
"gender": "Male"
}
})
located task-> 1 [task]:
Task1: [task ==> task: use dynamic dir instead of static ref dir ]
Executing task stack layer: 1
-Step1:
current exec runtime vars:
(*core.Cache)({
"dynadir": "./tests/functests",
"student": {
"name": "Tom",
"gender": "Male",
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"cbd": true
},
"school": "Sydney Grammar"
}
},
"up_runtime_task_layer_number": 0
})
dvar> sgp_address_dyna_dir:
"address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: yes\n school: Sydney Grammar\n"
-
address:
suburb:
name: sydney
postcode: 2000
CBD: yes
school: Sydney Grammar
dvar[object]> sgp_address_dyna_dir_object:
{
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": true
},
"school": "Sydney Grammar"
}
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"dynadir": "./tests/functests",
"sgp_address_dyna_dir": "address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: yes\n school: Sydney Grammar\n",
"sgp_address_dyna_dir_object": {
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": true
},
"school": "Sydney Grammar"
}
},
"student": {
"address": {
"school": "Sydney Grammar",
"suburb": {
"name": "sydney",
"postcode": 2000,
"cbd": true
}
},
"name": "Tom",
"gender": "Male"
}
})
cmd( 1):
echo """1.address -> \n{{.sgp_address_dyna_dir}}"""
cmd=>:
echo """1.address -> \naddress:
suburb:
name: sydney
postcode: 2000
CBD: yes
school: Sydney Grammar
"""
-
1.address -> \naddress:
suburb:
name: sydney
postcode: 2000
CBD: yes
school: Sydney Grammar
-
.. ok
cmd( 2):
echo """1.address object-> \n{{.sgp_address_dyna_dir_object}}"""
cmd=>:
echo """1.address object-> \nmap[address:map[school:Sydney Grammar suburb:map[CBD:true name:sydney postcode:2000]]]"""
-
1.address object-> \nmap[address:map[school:Sydney Grammar suburb:map[CBD:true name:sydney postcode:2000]]]
-
.. ok
. ok
Logs with different verbose level
References