BuildID: 2591
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 13.01.2023 @ 18:31
Time elapsed: 182 sec
---
SCM:
https://github.com/melezhik/kris.git
Git sha: 0753d10
Git comment: iterate
tasks:
-
name: main
language: Raku
default: true
code: |
for config()<tasks><task1><state><> -> $i {
say $i.perl;
}
depends:
-
name: task1
-
name: task1
language: Raku
code: |
say "Hello Kris! You say [{config()<message>}]";
update_state %( MESSAGE => "[{config()<message>}]" );
hub:
language: Raku
code: |
update_state %(
list => [
%(
config => { message => "How" },
),
%(
config => { message => "are you?" },
),
]
);
followup:
-
name: dump
-
name: dump
language: Raku
config:
foo: bar
code: |
say config()<foo>;
say config()<parent>.perl;
[35m18:30:04[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.raku - tasks/task1-hub][0m
[1;36m[dump code: task.raku][0m
[1] update_state %(
[2] list => [
[3] %(
[4] config => { message => "How" },
[5] ),
[6] %(
[7] config => { message => "are you?" },
[8] ),
[9] ]
[10] );
[11]
[1;36m[task stdout][0m
[1;36m[task run: task.raku - tasks/task1][0m
[1;36m[dump code: task.raku][0m
[1] say "Hello Kris! You say [{config()<message>}]";
[2] update_state %( MESSAGE => "[{config()<message>}]" );
[3]
[1;36m[task stdout][0m
[35m18:30:11[0m :: Hello Kris! You say [How]
[1;36m[task run: task.raku - tasks/task1][0m
[1;36m[dump code: task.raku][0m
[1] say "Hello Kris! You say [{config()<message>}]";
[2] update_state %( MESSAGE => "[{config()<message>}]" );
[3]
[1;36m[task stdout][0m
[35m18:30:44[0m :: Hello Kris! You say [are you?]
[35m18:30:34[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.raku - tasks/dump][0m
[1;36m[dump code: task.raku][0m
[1] say config()<foo>;
[2] say config()<parent>.perl;
[3]
[1;36m[task stdout][0m
[35m18:30:40[0m :: bar
[35m18:30:40[0m :: ${:state(${:MESSAGE("[How]"), :__data__(${:task-check-err-cnt(Any)})})}
[35m18:31:09[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.raku - tasks/dump][0m
[1;36m[dump code: task.raku][0m
[1] say config()<foo>;
[2] say config()<parent>.perl;
[3]
[1;36m[task stdout][0m
[35m18:31:14[0m :: bar
[35m18:31:14[0m :: ${:state(${:MESSAGE("[are you?]"), :__data__(${:task-check-err-cnt(Any)})})}
[35m18:29:23[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
source directory does not yet exist, download source archive from storage
[35m18:29:28[0m :: [repository] - installing pack-unpack, version 0.000001
[1;36m[task run: task.bash - unpack source archive][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2]
[3] file=$(config file)
[4] dir=$(config dir)
[5]
[6] echo "tar -xzf $file "
[7]
[8] tar -xzf $file
[9]
[10] if test $dir; then
[11] ls -l $dir
[12] fi
[13]
[14]
[1;36m[task stdout][0m
[35m18:29:31[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.raku - tasks/main][0m
[1;36m[dump code: task.raku][0m
[1] for config()<tasks><task1><state><> -> $i {
[2] say $i.perl;
[3] }
[4]
[1;36m[task stdout][0m
[35m18:31:22[0m :: :list($[{:MESSAGE("[How]"), :__data__(${:task-check-err-cnt(Any)})}, {:MESSAGE("[are you?]"), :__data__(${:task-check-err-cnt(Any)})}])