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: 2694
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 19.01.2023 @ 20:44
Time elapsed: 780 sec
---
SCM: https://github.com/melezhik/sparrowdo.git
Git sha: b08fefb
Git comment: release! version 0.1.25
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
20:40:56 :: [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]
20:41:00 :: ===> Installing: Sparrowdo:ver<0.1.25>:auth<zef:melezhik>
20:41:02 :: 
20:41:02 :: 1 bin/ script [sparrowdo] installed to:
20:41:02 :: /home/worker/.raku/bin
20:40:17 :: [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
20:40:20 :: [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]
20:40:22 :: 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]
20:41:07 :: [1/3] / [00-sparrowdo-help] .......  3 sec. OK
20:41:10 :: [2/3] / [10-sparrowdo-localhost] .......  3 sec. OK
20:44:01 :: [3/3] / [bootstrap] .......  171 sec. OK
20:44:01 :: =========================================
20:44:01 :: (=: / [3] tests in 177 sec / (3) tests passed
[task stderr]
20:44:01 :: ++ cd source
20:44:01 :: ++ tomty --all --show-failed --color
20:44:24 :: [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]
20:44:28 :: pass to release
[task run: task.bash - tasks/release]
[dump code: task.bash]
[1] set -e
[2] 
[3] zef install --/test \
[4]   https://github.com/tony-o/raku-fez.git
[5] 
[6] cat << HERE > ~/.fez-config.json
[7]  {"groups":[],"un":"melezhik","key":"$FEZ_TOKEN"}
[8] HERE
[9] 
[10] cd source/
[11] 
[12] tom --clean
[13] fez upload --unattended
[14] 
[task stdout]
20:44:31 :: ===> Installing: fez:ver<39>:auth<zef:tony-o>:api<0>
20:44:39 :: 
20:44:39 :: 1 bin/ script [fez] installed to:
20:44:39 :: /home/worker/.raku/bin
20:44:40 :: cleaning /var/.sparrowdo/env/test/.sparrowdo/source/.tom/.cache ...
20:44:41 :: >>= Looking in "sdist/wYK0kvJR.tar.gz" for META6.json
20:44:43 :: >>= meta<provides> looks OK
20:44:43 :: >>= meta<resources> looks OK
20:44:43 :: >>= Sparrowdo:ver<0.1.25>:auth<zef:melezhik> looks OK
20:44:43 :: >>= Hey! You did it! Your dist will be indexed shortly.