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

SparrowCI Report - gh-melezhik-hub-example | [image: NA]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2616
Status: FAIL
Image:
Worker status: OK
---
Date: 16.01.2023 @ 01:57
Time elapsed: 18 sec
---
SCM: https://github.com/melezhik/hub-example.git
Git sha: 90b5b08
Git comment: Create sparrow.yaml
tasks:
  -
    name: main
    language: Raku
    code: |
      for config()<tasks><multifetch><stat><> -> \i {
        say "url: {i<url>} - [{i<status>}]";
      }
    depends:
      -
        name: multifetch

  -
    name: multifetch
    language: Raku
    code: |
      if "{cache_root_dir()}/status.OK".IO ~~ :e {
        update_status %( url => config()<url>, status => "OK" );
      } else {
        update_status %( url => config()<url>, status => "FAIL" );
      }
    init:
      task_run "fetch"
    subtasks:
      -
        name: fetch
        language: Bash
        code: |
          curl -f $(config url) && touch $cache_root_dir/status.OK
          echo $?
    hub:
      language: Raku
      code: |
        update_status %(
          list => [
              config => { url => "https://raku.org" },
              config => { url => "https://raku.land" },
              config => { url => "http://irclogs.raku.org" },
          ],
        );
Couldn't parse YAML: Problem with indentatiton in map at 22:4.