c0033_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 -> c0033
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/c0033
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
nonprod: (*core.Cache)({
"c": "non-prod-c",
"d": "non-prod-d",
"school_object": {
"address": {
"suburb": {
"CBD": true,
"name": "sydney",
"postcode": 2000
},
"school": "Sydney Grammar"
}
},
"school": "address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: yes\n school: Sydney Grammar\n",
"a": "non-prod-a",
"b": "non-prod-b"
})
global: (*core.Cache)({
"student": {
"name": "Tom",
"gender": "Male",
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": true
},
"school": "Sydney Grammar"
}
}
})
groups members:[dev staging]
merged[ dev ] runtime vars:
(*core.Cache)({
"student": {
"gender": "Male",
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": true
},
"school": "Sydney Grammar"
},
"name": "Tom"
},
"d": "non-prod-d",
"school_object": {
"principal": "Mr Peter",
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": false
},
"school": "Sydney Grammar"
}
},
"school": "address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: no\n school: Sydney Grammar\nprincipal: Mr Peter\n",
"a": "dev-a",
"b": "dev-b",
"c": "non-prod-c"
})
-------runtime global final merged with dvars-------
(*core.Cache)({
"d": "non-prod-d",
"school_object": {
"address": {
"school": "Sydney Grammar",
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": false
}
},
"principal": "Mr Peter"
},
"school": "address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: no\n school: Sydney Grammar\nprincipal: Mr Peter\n",
"a": "dev-a",
"b": "dev-b",
"c": "non-prod-c",
"student": {
"name": "Tom",
"gender": "Male",
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": true
},
"school": "Sydney Grammar"
}
}
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
current exec runtime vars:
(*core.Cache)({
"d": "non-prod-d",
"school_object": {
"principal": "Mr Peter",
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": false
},
"school": "Sydney Grammar"
}
},
"school": "address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: no\n school: Sydney Grammar\nprincipal: Mr Peter\n",
"up_runtime_task_layer_number": 0,
"a": "local-a",
"b": "local-b",
"c": "non-prod-c",
"student": {
"gender": "Male",
"address": {
"school": "Sydney Grammar",
"suburb": {
"CBD": true,
"name": "sydney",
"postcode": 2000
}
},
"name": "Tom"
}
})
self: final context exec vars:
(*core.Cache)({
"b": "local-b",
"c": "non-prod-c",
"student": {
"name": "Tom",
"gender": "Male",
"address": {
"school": "Sydney Grammar",
"suburb": {
"CBD": true,
"name": "sydney",
"postcode": 2000
}
}
},
"d": "non-prod-d",
"school_object": {
"principal": "Mr Right",
"address": {
"state": "NSW",
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": "LOCAL"
},
"school": "Sydney Grammar",
"city": "sydney"
}
},
"school": "address:\n state: NSW\n city: sydney\n suburb:\n name: sydney\n postcode: 2000\n CBD: LOCAL\n school: Sydney Grammar\nprincipal: Mr Right\n",
"up_runtime_task_layer_number": 0,
"a": "local-a"
})
cmd( 1):
echo """1.school -> {{.school}}"""
cmd=>:
echo """1.school -> address:
state: NSW
city: sydney
suburb:
name: sydney
postcode: 2000
CBD: LOCAL
school: Sydney Grammar
principal: Mr Right
"""
-
1.school -> address:
state: NSW
city: sydney
suburb:
name: sydney
postcode: 2000
CBD: LOCAL
school: Sydney Grammar
principal: Mr Right
-
.. ok
cmd( 2):
echo """2.school object CBD -> {{.school_object.address.suburb.CBD}}"""
cmd=>:
echo """2.school object CBD -> LOCAL"""
-
2.school object CBD -> LOCAL
-
.. ok
cmd( 3):
echo """3.school object-> {{.school_object.address.school}}"""
cmd=>:
echo """3.school object-> Sydney Grammar"""
-
3.school object-> Sydney Grammar
-
.. ok
cmd( 4):
echo """4.school object-> {{.school_object.principal}}"""
cmd=>:
echo """4.school object-> Mr Right"""
-
4.school object-> Mr Right
-
.. ok
. ok
Logs with different verbose level
References