Home Quick start All builds News Donations
More
Log In
Light Theme Docs
Workers

SparrowCI Report - gh-melezhik-kris | [image: melezhik/sparrow:alpine]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2583
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 12.01.2023 @ 22:26
Time elapsed: 113 sec
---
SCM: https://github.com/melezhik/kris.git
Git sha: 5284bd2
Git comment: } typo
tasks:
  -
    name: main
    language: Raku
    default: true
    code: |
      say "Hello Kris! You say [{config()<message>}]";
      update_state %( MessagE => "///{config()<message>}///" );
    generator:
      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()<tasks>.perl;
      say config()<parent>.perl;
22:26:00 :: [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
22:26:04 :: [repository] - installing pack-unpack, version 0.000001
[task run: task.bash - unpack source archive]
[dump code: task.bash]
[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] 
[task stdout]
22:26:08 :: tar -xzf source.tar.gz 
[task run: task.raku - tasks/main]
[dump code: task.raku]
[1] say "Hello Kris! You say [{config()<message>}]";
[2] update_state %( MessagE => "///{config()<message>}///" );
[3] 
[task stdout]
22:26:10 :: Hello Kris! You say []
[task stderr]
22:26:10 :: Use of uninitialized value %{'message'} of type Any in string context.
22:26:10 :: Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.
22:26:10 ::   in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku line 1
22:26:10 :: Use of uninitialized value %{'message'} of type Any in string context.
22:26:10 :: Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.
22:26:10 ::   in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku line 2
22:26:37 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.raku - tasks/dump]
[dump code: task.raku]
[1] say config()<foo>;
[2] say config()<tasks>.perl;
[3] say config()<parent>.perl;
[4] 
[task stdout]
22:26:42 :: bar
22:26:42 :: Any
22:26:42 :: ${:state(${:MessagE("//////"), :__data__(${:task-check-err-cnt(Any)})})}