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: 2966
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 09.02.2023 @ 19:46
Time elapsed: 157 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);

19:46:25 :: [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]
19:46:27 :: hello task_B
19:46:28 :: No reason to proceed. Use --force-install to continue anyway
[task stderr]
19:46:28 :: All candidates are currently installed
19:45:21 :: [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]
19:45:25 :: hello task_A1
19:45:04 :: [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]
19:45:31 :: hello from task_A if ...
19:45:31 :: {
19:45:31 ::   foo   => "bar".Str,
19:45:31 ::   tasks => {
19:45:31 ::     task_A1 => {
19:45:31 ::       state => {
19:45:31 ::         __data__ => {
19:45:31 ::           task-check-err-cnt => (Nil),
19:45:31 ::         },
19:45:31 ::         message  => "I am task_A1".Str,
19:45:31 ::       },
19:45:31 ::     },
19:45:31 ::   },
19:45:31 :: }
[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]
19:45:32 :: {
19:45:32 ::   foo   => "bar".Str,
19:45:32 ::   tasks => {
19:45:32 ::     task_A1 => {
19:45:32 ::       state => {
19:45:32 ::         __data__ => {
19:45:32 ::           task-check-err-cnt => (Nil),
19:45:32 ::         },
19:45:32 ::         message  => "I am task_A1".Str,
19:45:32 ::       },
19:45:32 ::     },
19:45:32 ::   },
19:45:32 :: }
[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]
19:45:33 :: hello task_A
19:45:33 :: {
19:45:33 ::   aaa   => "vvv".Str,
19:45:33 ::   foo   => "bar".Str,
19:45:33 ::   tasks => {
19:45:33 ::     task_A1 => {
19:45:33 ::       state => {
19:45:33 ::         __data__ => {
19:45:33 ::           task-check-err-cnt => (Nil),
19:45:33 ::         },
19:45:33 ::         message  => "I am task_A1".Str,
19:45:33 ::       },
19:45:33 ::     },
19:45:33 ::   },
19:45:33 :: }
[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]
19:45:35 :: hello task_A
19:45:35 :: {
19:45:35 ::   aaa   => "vvvVVV".Str,
19:45:35 ::   foo   => "bar".Str,
19:45:35 ::   tasks => {
19:45:35 ::     task_A1 => {
19:45:35 ::       state => {
19:45:35 ::         __data__ => {
19:45:35 ::           task-check-err-cnt => (Nil),
19:45:35 ::         },
19:45:35 ::         message  => "I am task_A1".Str,
19:45:35 ::       },
19:45:35 ::     },
19:45:35 ::   },
19:45:35 :: }
19:45:53 :: [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]
19:45:57 :: hello dump
19:45:57 :: {
19:45:57 ::   foo1   => "foo1".Str,
19:45:57 ::   param1 => 1000.Int,
19:45:57 ::   parent => {
19:45:57 ::     state => [
19:45:57 ::       {
19:45:57 ::         __data__ => {
19:45:57 ::           task-check-err-cnt => (Nil),
19:45:57 ::         },
19:45:57 ::         time     => "vvv".Str,
19:45:57 ::       },
19:45:57 ::       {
19:45:57 ::         __data__ => {
19:45:57 ::           task-check-err-cnt => (Nil),
19:45:57 ::         },
19:45:57 ::         time     => "vvvVVV".Str,
19:45:57 ::       },
19:45:57 ::     ],
19:45:57 ::   },
19:45:57 ::   tasks  => {
19:45:57 ::     task_A1 => {
19:45:57 ::       state => {
19:45:57 ::         __data__ => {
19:45:57 ::           task-check-err-cnt => (Nil),
19:45:57 ::         },
19:45:57 ::         message  => "I am task_A1".Str,
19:45:57 ::       },
19:45:57 ::     },
19:45:57 ::   },
19:45:57 :: }
19:44:41 :: [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
19:44:44 :: [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]
19:44:46 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/main]
[dump code: task.bash]
[1] echo "hello main"
[2] 
[task stdout]
19:46:29 :: hello main