BuildID: 2588
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 13.01.2023 @ 17:23
Time elapsed: 140 sec
---
SCM:
https://github.com/melezhik/kris.git
Git sha: d39fdb9
Git comment: fix typo
tasks:
-
name: main
language: Raku
default: true
code: |
say config().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;
[35m17:23:08[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[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
[35m17:23:12[0m :: Hello Kris! You say []
[1;36m[task stderr][0m
[35m17:23:12[0m :: Use of uninitialized value %{'message'} of type Any in string context.
[35m17:23:12[0m :: Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.
[35m17:23:12[0m :: in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/task1/task.raku line 1
[35m17:23:12[0m :: Use of uninitialized value %{'message'} of type Any in string context.
[35m17:23:12[0m :: Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.
[35m17:23:12[0m :: in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/task1/task.raku line 2
[35m17:23: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
[35m17:23:39[0m :: bar
[35m17:23:39[0m :: ${:state(${:MESSAGE("[]"), :__data__(${:task-check-err-cnt(Any)})})}
[35m17:22:28[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
[35m17:22:31[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
[35m17:22:34[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.raku - tasks/main][0m
[1;36m[dump code: task.raku][0m
[1] say config().perl;
[2]
[1;36m[task stdout][0m
[35m17:23:48[0m :: ${:tasks(${:task1(${:state(${:MESSAGE("[]"), :__data__(${:task-check-err-cnt(Any)})})})})}