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: 2808
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 01.02.2023 @ 16:17
Time elapsed: 196 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);

16:17:15 :: [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]
16:17:17 :: hello task_B
16:17:18 :: No reason to proceed. Use --force-install to continue anyway
[task stderr]
16:17:18 :: All candidates are currently installed
16:16:17 :: [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]
16:16:21 :: hello task_A1
16:15:20 :: [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]
16:16:23 :: hello from task_A if ...
16:16:23 :: {
16:16:23 ::   foo   => "bar".Str,
16:16:23 ::   tasks => {
16:16:23 ::     task_A1 => {
16:16:23 ::       state => {
16:16:23 ::         __data__ => {
16:16:23 ::           task-check-err-cnt => (Nil),
16:16:23 ::         },
16:16:23 ::         message  => "I am task_A1".Str,
16:16:23 ::       },
16:16:23 ::     },
16:16:23 ::   },
16:16:23 :: }
[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]
16:16:24 :: {
16:16:24 ::   foo   => "bar".Str,
16:16:24 ::   tasks => {
16:16:24 ::     task_A1 => {
16:16:24 ::       state => {
16:16:24 ::         __data__ => {
16:16:24 ::           task-check-err-cnt => (Nil),
16:16:24 ::         },
16:16:24 ::         message  => "I am task_A1".Str,
16:16:24 ::       },
16:16:24 ::     },
16:16:24 ::   },
16:16:24 :: }
[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]
16:16:25 :: hello task_A
16:16:25 :: {
16:16:25 ::   aaa   => "vvv".Str,
16:16:25 ::   foo   => "bar".Str,
16:16:25 ::   tasks => {
16:16:25 ::     task_A1 => {
16:16:25 ::       state => {
16:16:25 ::         __data__ => {
16:16:25 ::           task-check-err-cnt => (Nil),
16:16:25 ::         },
16:16:25 ::         message  => "I am task_A1".Str,
16:16:26 ::       },
16:16:26 ::     },
16:16:26 ::   },
16:16:26 :: }
[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]
16:16:27 :: hello task_A
16:16:27 :: {
16:16:27 ::   aaa   => "vvvVVV".Str,
16:16:27 ::   foo   => "bar".Str,
16:16:27 ::   tasks => {
16:16:27 ::     task_A1 => {
16:16:27 ::       state => {
16:16:27 ::         __data__ => {
16:16:27 ::           task-check-err-cnt => (Nil),
16:16:27 ::         },
16:16:27 ::         message  => "I am task_A1".Str,
16:16:27 ::       },
16:16:27 ::     },
16:16:27 ::   },
16:16:27 :: }
16:16:46 :: [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]
16:16:50 :: hello dump
16:16:50 :: {
16:16:50 ::   foo1   => "foo1".Str,
16:16:50 ::   param1 => 1000.Int,
16:16:50 ::   parent => {
16:16:50 ::     state => [
16:16:50 ::       {
16:16:50 ::         __data__ => {
16:16:50 ::           task-check-err-cnt => (Nil),
16:16:50 ::         },
16:16:50 ::         time     => "vvv".Str,
16:16:50 ::       },
16:16:50 ::       {
16:16:50 ::         __data__ => {
16:16:50 ::           task-check-err-cnt => (Nil),
16:16:50 ::         },
16:16:50 ::         time     => "vvvVVV".Str,
16:16:50 ::       },
16:16:50 ::     ],
16:16:50 ::   },
16:16:50 ::   tasks  => {
16:16:50 ::     task_A1 => {
16:16:50 ::       state => {
16:16:50 ::         __data__ => {
16:16:50 ::           task-check-err-cnt => (Nil),
16:16:50 ::         },
16:16:50 ::         message  => "I am task_A1".Str,
16:16:50 ::       },
16:16:50 ::     },
16:16:50 ::   },
16:16:50 :: }
16:14:57 :: [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
16:15:00 :: [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]
16:15:02 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/main]
[dump code: task.bash]
[1] echo "hello main"
[2] 
[task stdout]
16:17:21 :: hello main