c0027_vvv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0027
Verbose -> vvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0027
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
Task1: [task ==> task: ]
-Step1:
self: final context exec vars:
(*core.Cache)({
"a_smart_guy_object": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"school_address": "address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: yes\n school: Sydney Grammar\n tom:\n name: Tom\n",
"school_address_object": {
"address": {
"suburb": {
"postcode": 2000,
"CBD": true,
"name": "sydney"
},
"school": "Sydney Grammar",
"tom": {
"name": "Tom"
}
}
},
"up_runtime_task_layer_number": 0,
"tom": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"student": {
"address": {
"suburb": {
"postcode": 2000,
"cbd": true,
"name": "sydney"
},
"school": "Sydney Grammar"
},
"name": "Tom",
"gender": "Male"
},
"a_smart_guy": "name: Tom\ngender: Male\nschool: Sydney Grammar\n"
})
cmd( 1):
echo """a smart guy=>{{.a_smart_guy}}"""
-
a smart guy=>name: Tom
gender: Male
school: Sydney Grammar
-
.. ok
cmd( 2):
echo """postcode=>{{.student.address.suburb.postcode}}"""
-
postcode=>2000
-
.. ok
cmd( 3):
echo """school address {{.school_address}}"""
-
school address address:
suburb:
name: sydney
postcode: 2000
CBD: yes
school: Sydney Grammar
tom:
name: Tom
-
.. ok
cmd( 4):
echo """this guy is in =>{{.a_smart_guy_object.school}} school"""
-
this guy is in =>Sydney Grammar school
-
.. ok
cmd( 5):
echo """school address object {{.school_address_object.suburb.name}}"""
-
school address object <no value>
-
.. ok
cmd( 6):
echo """school address object -> {{.school_address_object.address.suburb.name}}"""
-
school address object -> sydney
-
.. ok
cmd( 7):
echo """tom - {{.tom}}"""
-
tom - map[gender:Male name:Tom school:Sydney Grammar]
-
.. ok
. ok
Logs with different verbose level
References