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

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

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2547
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 10.01.2023 @ 21:27
Time elapsed: 93 sec
---
SCM: https://github.com/melezhik/sparrowci-sandbox.git
Git sha: 5913569
Git comment: Example of conditional task. release!
image:
  - melezhik/sparrow:debian

secrets:
  - FEZ_TOKEN
tasks:
  - 
    name: test
    default: true
    followup:
      -
        name: release
    language: Bash
    code: |
      set -e
      env|grep SCM
      cd source
      zef test .
  -
    name: release
    if:
      language: Raku
      code: |
        update_state %( status => 'skip' )
          unless %*ENV<SCM_COMMIT_MESSAGE> ~~ /'release!'/;
    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/
      zef install --/test fez

      tom --clean
      fez upload --unattended
21:26:33 :: [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
21:26:37 :: [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]
21:26:39 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/test]
[dump code: task.bash]
[1] set -e
[2] env|grep SCM
[3] cd source
[4] zef test .
[5] 
[task stdout]
21:26:40 :: SCM_URL=https://github.com/melezhik/sparrowci-sandbox.git
21:26:40 :: SCM_SHA=5913569
21:26:40 :: SCM_COMMIT_MESSAGE=Example of conditional task. release!
21:26:41 :: ===> Testing: SparrowCI-SandBox:ver<0.0.6>:auth<zef:melezhik>
21:26:41 :: ===> Testing [OK] for SparrowCI-SandBox:ver<0.0.6>:auth<zef:melezhik>
21:26:51 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/release]
[dump code: task.bash]
[1] set -e
[2] zef install --/test https://github.com/tony-o/raku-fez.git
[3] 
[4] cat << HERE > ~/.fez-config.json
[5]  {"groups":[],"un":"melezhik","key":"$FEZ_TOKEN"}
[6] HERE
[7] 
[8] cd source/
[9] zef install --/test fez
[10] 
[11] tom --clean
[12] fez upload --unattended
[13] 
[task stdout]
21:26:58 :: ===> Installing: fez:ver<39>:auth<zef:tony-o>:api<0>
21:27:08 :: 
21:27:08 :: 1 bin/ script [fez] installed to:
21:27:08 :: /home/worker/.raku/bin
21:27:10 :: No reason to proceed. Use --force-install to continue anyway
21:27:11 :: cleaning /var/.sparrowdo/env/test/.sparrowdo/source/.tom/.cache ...
21:27:12 :: >>= Looking in "sdist/ymKLhatN.tar.gz" for META6.json
21:27:14 :: >>= meta<provides> looks OK
21:27:14 :: >>= meta<resources> looks OK
21:27:14 :: >>= SparrowCI-SandBox:ver<0.0.6>:auth<zef:melezhik> looks OK
21:27:14 :: >>= Hey! You did it! Your dist will be indexed shortly.
[task stderr]
21:27:14 :: All candidates are currently installed