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

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

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2906
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 08.02.2023 @ 01:30
Time elapsed: 148 sec
---
SCM: https://github.com/melezhik/sparrowci-test.git
Git sha: cc46bfa
Git comment: Update sparrow.yaml
tasks:
    -
        name: main
        default: true
        language: Bash
        code: |
            echo "hello main"
        depends:
            -
                name: task_A
                queue: tasks
                priority: 10
            -
                name: task_B
                queue: tasks
                priority: 1000
    -
        name: task_A
        language: Raku
        config:
            foo: bar
        code: |
            say "hello task_A";
            use Data::Dump;
            say Dump(config(),:color);
            update_state %( time => config()<aaa>);
        depends:
            -
                name: task_A1
        if:
            language: Raku
            code: |
                use Data::Dump;    
                say "hello from task_A if ...";
                say Dump(config(),:color);
        hub:
            language: Raku
            code: |
                use Data::Dump;
                say Dump(config(),:color);
                update_state %(
                    list => [
                        { config => { aaa => "vvv" }  },
                        { config => { aaa => "vvvVVV" }  }
                    ]
                );
        followup:
            -
                name: dump
                config:
                    param1: 1000
    -
        name: task_B
        language: Bash
        code: |
            echo "hello task_B"
            zef install Data::Dump --/test
    -
        name: task_A1
        language: Raku
        code: |
            say "hello task_A1";
            update_state %( message => "I am task_A1" );

    -
        name: dump
        language: Raku
        config:
            foo1: foo1
        code: |
            say "hello dump";
            use Data::Dump;
            say Dump(config(),:color);

01:30:35 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/task_B]
[dump code: task.bash]
[1] echo "hello task_B"
[2] zef install Data::Dump --/test
[3] 
[task stdout]
01:30:37 :: hello task_B
01:30:39 :: No reason to proceed. Use --force-install to continue anyway
[task stderr]
01:30:39 :: All candidates are currently installed
01:29:35 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.raku - tasks/task_A1]
[dump code: task.raku]
[1] say "hello task_A1";
[2] update_state %( message => "I am task_A1" );
[3] 
[task stdout]
01:29:38 :: hello task_A1
01:29:23 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.raku - tasks/task_A-if]
[dump code: task.raku]
[1] use Data::Dump;    
[2] say "hello from task_A if ...";
[3] say Dump(config(),:color);
[4] 
[task stdout]
01:29:44 :: hello from task_A if ...
01:29:44 :: {
01:29:44 ::   foo   => "bar".Str,
01:29:44 ::   tasks => {
01:29:44 ::     task_A1 => {
01:29:44 ::       state => {
01:29:44 ::         __data__ => {
01:29:44 ::           task-check-err-cnt => (Nil),
01:29:44 ::         },
01:29:44 ::         message  => "I am task_A1".Str,
01:29:44 ::       },
01:29:44 ::     },
01:29:44 ::   },
01:29:44 :: }
[task run: task.raku - tasks/task_A-hub]
[dump code: task.raku]
[1] use Data::Dump;
[2] say Dump(config(),:color);
[3] update_state %(
[4]     list => [
[5]         { config => { aaa => "vvv" }  },
[6]         { config => { aaa => "vvvVVV" }  }
[7]     ]
[8] );
[9] 
[task stdout]
01:29:46 :: {
01:29:46 ::   foo   => "bar".Str,
01:29:46 ::   tasks => {
01:29:46 ::     task_A1 => {
01:29:46 ::       state => {
01:29:46 ::         __data__ => {
01:29:46 ::           task-check-err-cnt => (Nil),
01:29:46 ::         },
01:29:46 ::         message  => "I am task_A1".Str,
01:29:46 ::       },
01:29:46 ::     },
01:29:46 ::   },
01:29:46 :: }
[task run: task.raku - tasks/task_A]
[dump code: task.raku]
[1] say "hello task_A";
[2] use Data::Dump;
[3] say Dump(config(),:color);
[4] update_state %( time => config()<aaa>);
[5] 
[task stdout]
01:29:47 :: hello task_A
01:29:47 :: {
01:29:47 ::   aaa   => "vvv".Str,
01:29:47 ::   foo   => "bar".Str,
01:29:47 ::   tasks => {
01:29:47 ::     task_A1 => {
01:29:47 ::       state => {
01:29:47 ::         __data__ => {
01:29:47 ::           task-check-err-cnt => (Nil),
01:29:47 ::         },
01:29:47 ::         message  => "I am task_A1".Str,
01:29:47 ::       },
01:29:47 ::     },
01:29:47 ::   },
01:29:47 :: }
[task run: task.raku - tasks/task_A]
[dump code: task.raku]
[1] say "hello task_A";
[2] use Data::Dump;
[3] say Dump(config(),:color);
[4] update_state %( time => config()<aaa>);
[5] 
[task stdout]
01:29:48 :: hello task_A
01:29:48 :: {
01:29:48 ::   aaa   => "vvvVVV".Str,
01:29:48 ::   foo   => "bar".Str,
01:29:48 ::   tasks => {
01:29:48 ::     task_A1 => {
01:29:48 ::       state => {
01:29:48 ::         __data__ => {
01:29:48 ::           task-check-err-cnt => (Nil),
01:29:48 ::         },
01:29:48 ::         message  => "I am task_A1".Str,
01:29:48 ::       },
01:29:48 ::     },
01:29:48 ::   },
01:29:48 :: }
01:30:04 :: [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 "hello dump";
[2] use Data::Dump;
[3] say Dump(config(),:color);
[4] 
[task stdout]
01:30:07 :: hello dump
01:30:07 :: {
01:30:07 ::   foo1   => "foo1".Str,
01:30:07 ::   param1 => 1000.Int,
01:30:07 ::   parent => {
01:30:07 ::     state => [
01:30:07 ::       {
01:30:07 ::         __data__ => {
01:30:07 ::           task-check-err-cnt => (Nil),
01:30:07 ::         },
01:30:07 ::         time     => "vvv".Str,
01:30:07 ::       },
01:30:07 ::       {
01:30:07 ::         __data__ => {
01:30:07 ::           task-check-err-cnt => (Nil),
01:30:07 ::         },
01:30:07 ::         time     => "vvvVVV".Str,
01:30:07 ::       },
01:30:07 ::     ],
01:30:07 ::   },
01:30:07 ::   tasks  => {
01:30:07 ::     task_A1 => {
01:30:07 ::       state => {
01:30:07 ::         __data__ => {
01:30:07 ::           task-check-err-cnt => (Nil),
01:30:07 ::         },
01:30:07 ::         message  => "I am task_A1".Str,
01:30:07 ::       },
01:30:07 ::     },
01:30:07 ::   },
01:30:08 :: }
01:29:02 :: [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
01:29: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]
01:29:06 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/main]
[dump code: task.bash]
[1] echo "hello main"
[2] 
[task stdout]
01:30:43 :: hello main