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

SparrowCI Report - gh-melezhik-sparrowdo | [image: melezhik/sparrow:debian]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2706
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 19.01.2023 @ 22:34
Time elapsed: 718 sec
---
SCM: https://github.com/melezhik/sparrowdo.git
Git sha: a27e611
Git comment: try to fix arch bootstrap issue
image:
  - melezhik/sparrow:alpine
  - melezhik/sparrow:archlinux
  - melezhik/sparrow:debian

secrets:
  - FEZ_TOKEN

tasks:
  -
    name: test
    default: true
    language: Bash
    code: |
      set -e
      set -x
      cd source 
      tomty --all --show-failed --color 
    depends:
      -
        name: install-deps
    followup:
      -
        name: release

  -
    name: release
    if:
      language: Raku
      code: |
        if %*ENV<SCM_COMMIT_MESSAGE> ~~ /'release!'/ and os() eq "debian" {
          say "pass to release";
        } else {
          update_state %( status => 'skip' )
        }
    language: Bash
    code: |
      set -e

      zef install --/test \
        https://github.com/tony-o/raku-fez.git

      cat << HERE > ~/.fez-config.json
       {"groups":[],"un":"melezhik","key":"$FEZ_TOKEN"}
      HERE

      cd source/

      tom --clean
      fez upload --unattended
      
  -
    name: install-deps
    language: Bash
    code: |
      set -e
      cd source
      zef install . --/test
22:31:08 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/install-deps]
[dump code: task.bash]
[1] set -e
[2] cd source
[3] zef install . --/test
[4] 
[task stdout]
22:31:12 :: ===> Installing: Sparrowdo:ver<0.1.25>:auth<zef:melezhik>
22:31:14 :: 
22:31:14 :: 1 bin/ script [sparrowdo] installed to:
22:31:14 :: /home/worker/.raku/bin
22:30:29 :: [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
22:30:31 :: [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]
22:30:34 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/test]
[dump code: task.bash]
[1] set -e
[2] set -x
[3] cd source 
[4] tomty --all --show-failed --color 
[5] 
[task stdout]
22:31:24 :: [1/3] / [00-sparrowdo-help] .......  3 sec. OK
22:31:26 :: [2/3] / [10-sparrowdo-localhost] .......  2 sec. OK
22:34:11 :: [3/3] / [bootstrap] .......  165 sec. OK
22:34:11 :: =========================================
22:34:11 :: (=: / [3] tests in 170 sec / (3) tests passed
[task stderr]
22:34:11 :: ++ cd source
22:34:11 :: ++ tomty --all --show-failed --color
22:34:37 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.raku - tasks/release-if]
[dump code: task.raku]
[1] if %*ENV<SCM_COMMIT_MESSAGE> ~~ /'release!'/ and os() eq "debian" {
[2]   say "pass to release";
[3] } else {
[4]   update_state %( status => 'skip' )
[5] }
[6] 
[task stdout]