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

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

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2864
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 06.02.2023 @ 13:52
Time elapsed: 150 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);

13:52:28 :: [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]
13:52:30 :: hello task_B
13:52:32 :: No reason to proceed. Use --force-install to continue anyway
[task stderr]
13:52:32 :: All candidates are currently installed
13:51:30 :: [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]
13:51:33 :: hello task_A1
13:51:16 :: [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]
13:51:38 :: hello from task_A if ...
13:51:38 :: {
13:51:38 ::   foo   => "bar".Str,
13:51:38 ::   tasks => {
13:51:38 ::     task_A1 => {
13:51:38 ::       state => {
13:51:38 ::         __data__ => {
13:51:38 ::           task-check-err-cnt => (Nil),
13:51:38 ::         },
13:51:38 ::         message  => "I am task_A1".Str,
13:51:38 ::       },
13:51:38 ::     },
13:51:38 ::   },
13:51:38 :: }
[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]
13:51:40 :: {
13:51:40 ::   foo   => "bar".Str,
13:51:40 ::   tasks => {
13:51:40 ::     task_A1 => {
13:51:40 ::       state => {
13:51:40 ::         __data__ => {
13:51:40 ::           task-check-err-cnt => (Nil),
13:51:40 ::         },
13:51:40 ::         message  => "I am task_A1".Str,
13:51:40 ::       },
13:51:40 ::     },
13:51:40 ::   },
13:51:40 :: }
[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]
13:51:41 :: hello task_A
13:51:41 :: {
13:51:41 ::   aaa   => "vvv".Str,
13:51:41 ::   foo   => "bar".Str,
13:51:41 ::   tasks => {
13:51:41 ::     task_A1 => {
13:51:41 ::       state => {
13:51:41 ::         __data__ => {
13:51:41 ::           task-check-err-cnt => (Nil),
13:51:41 ::         },
13:51:41 ::         message  => "I am task_A1".Str,
13:51:41 ::       },
13:51:41 ::     },
13:51:41 ::   },
13:51:41 :: }
[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]
13:51:42 :: hello task_A
13:51:42 :: {
13:51:42 ::   aaa   => "vvvVVV".Str,
13:51:42 ::   foo   => "bar".Str,
13:51:42 ::   tasks => {
13:51:42 ::     task_A1 => {
13:51:42 ::       state => {
13:51:42 ::         __data__ => {
13:51:42 ::           task-check-err-cnt => (Nil),
13:51:42 ::         },
13:51:42 ::         message  => "I am task_A1".Str,
13:51:42 ::       },
13:51:42 ::     },
13:51:42 ::   },
13:51:42 :: }
13:52:00 :: [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]
13:52:03 :: hello dump
13:52:03 :: {
13:52:03 ::   foo1   => "foo1".Str,
13:52:03 ::   param1 => 1000.Int,
13:52:03 ::   parent => {
13:52:03 ::     state => [
13:52:03 ::       {
13:52:03 ::         __data__ => {
13:52:03 ::           task-check-err-cnt => (Nil),
13:52:03 ::         },
13:52:03 ::         time     => "vvv".Str,
13:52:03 ::       },
13:52:03 ::       {
13:52:03 ::         __data__ => {
13:52:03 ::           task-check-err-cnt => (Nil),
13:52:03 ::         },
13:52:03 ::         time     => "vvvVVV".Str,
13:52:03 ::       },
13:52:03 ::     ],
13:52:03 ::   },
13:52:03 ::   tasks  => {
13:52:03 ::     task_A1 => {
13:52:03 ::       state => {
13:52:03 ::         __data__ => {
13:52:03 ::           task-check-err-cnt => (Nil),
13:52:03 ::         },
13:52:03 ::         message  => "I am task_A1".Str,
13:52:03 ::       },
13:52:03 ::     },
13:52:03 ::   },
13:52:03 :: }
13:50:55 :: [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
13:50:57 :: [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]
13:50:59 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/main]
[dump code: task.bash]
[1] echo "hello main"
[2] 
[task stdout]
13:52:37 :: hello main