c0029_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 -> c0029
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/c0029
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
"b": "global-b",
"c": "global-c",
"e": "global-e",
"da": "global-a",
"dab": "global-a-and-global-b",
"a": "global-a"
})
nonprod: (*core.Cache)({
"c": "non-prod-c",
"dvar_np_a": "non-prod-a",
"dab": "non-prod-a-and-non-prod-b",
"d": "non-prod-d",
"a": "non-prod-a",
"b": "non-prod-b"
})
groups members:[dev staging]
merged[ dev ] runtime vars:
(*core.Cache)({
"c": "non-prod-c",
"e": "global-e",
"da": "global-a",
"dab": "non-prod-a-and-non-prod-b",
"d": "non-prod-d",
"dvar_np_a": "non-prod-a",
"a": "non-prod-a",
"b": "non-prod-b"
})
-------runtime global final merged with dvars-------
(*core.Cache)({
"dab": "non-prod-a-and-non-prod-b",
"d": "non-prod-d",
"dvar_np_a": "non-prod-a",
"a": "non-prod-a",
"b": "non-prod-b",
"c": "non-prod-c",
"e": "global-e",
"da": "global-a"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"dvar_np_a": "non-prod-a",
"dab": "non-prod-a-and-non-prod-b",
"d": "non-prod-d",
"a": "non-prod-a",
"b": "non-prod-b",
"c": "non-prod-c",
"da": "global-a",
"e": "global-e"
})
self: final context exec vars:
(*core.Cache)({
"dvar_np_a": "non-prod-a",
"e": "global-e",
"a": "non-prod-a",
"b": "non-prod-b",
"up_runtime_task_layer_number": 0,
"dab": "non-prod-a-and-non-prod-b",
"d": "non-prod-d",
"c": "non-prod-c",
"da": "global-a"
})
cmd( 1):
echo "cmd1:da -> {{.da}}"
cmd=>:
echo "cmd1:da -> global-a"
-
cmd1:da -> global-a
-
.. ok
cmd( 2):
echo "cmd2:dab -> {{.dab}}"
cmd=>:
echo "cmd2:dab -> non-prod-a-and-non-prod-b"
-
cmd2:dab -> non-prod-a-and-non-prod-b
-
.. ok
cmd( 3):
echo "cmd3:{{.dvar_np_a}}"
cmd=>:
echo "cmd3:non-prod-a"
-
cmd3:non-prod-a
-
.. ok
. ok
Logs with different verbose level
References