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: 2524
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 09.01.2023 @ 15:27
Time elapsed: 92 sec
---
SCM: https://github.com/melezhik/sparrowci-sandbox.git
Git sha: 90c4f53
Git comment: Document `--unattended` option , release!
image:
  - melezhik/sparrow:debian

secrets:
  - FEZ_TOKEN
tasks:
  - name: test-and-release
    default: true
    language: Raku
    init: |
      run_task "test";
      if %*ENV<SCM_COMMIT_MESSAGE> ~~ /'release!'/ {
        run_task "upload"
      }
    subtasks:
    - 
      name: test
      language: Bash
      code: |
        set -e
        env|grep SCM

        cd source
        zef test .
    -
      name: upload
      language: Bash
      code: |
        set -e

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

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

        tom --clean
        fez upload --unattended
15:27:16 :: [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
15:27:19 :: [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]
15:27:22 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/test-and-release]
[dump code: task.bash]
[1] set -e
[2] env|grep SCM
[3] 
[4] cd source
[5] zef test .
[6] 
[task stdout]
15:27:25 :: SCM_URL=https://github.com/melezhik/sparrowci-sandbox.git
15:27:25 :: SCM_SHA=90c4f53
15:27:25 :: SCM_COMMIT_MESSAGE=Document `--unattended` option , release!
15:27:27 :: ===> Testing: SparrowCI-SandBox:ver<0.0.5>:auth<zef:melezhik>
15:27:27 :: ===> Testing [OK] for SparrowCI-SandBox:ver<0.0.5>:auth<zef:melezhik>
[task run: task.bash - tasks/test-and-release]
[dump code: task.bash]
[1] set -e
[2] 
[3] cat << HERE > ~/.fez-config.json
[4]   {"groups":[],"un":"melezhik","key":"$FEZ_TOKEN"}
[5] HERE
[6] 
[7] cd source/
[8] zef install --/test https://github.com/tony-o/raku-fez.git
[9] 
[10] tom --clean
[11] fez upload --unattended
[12] 
[task stdout]
15:27:30 :: ===> Installing: fez:ver<39>:auth<zef:tony-o>:api<0>
15:27:40 :: 
15:27:40 :: 1 bin/ script [fez] installed to:
15:27:40 :: /home/worker/.raku/bin
15:27:41 :: cleaning /var/.sparrowdo/env/test-and-release/.sparrowdo/source/.tom/.cache ...
15:27:42 :: >>= Looking in "sdist/BAZ6lNfR.tar.gz" for META6.json
15:27:43 :: >>= meta<provides> looks OK
15:27:43 :: >>= meta<resources> looks OK
15:27:43 :: >>= SparrowCI-SandBox:ver<0.0.5>:auth<zef:melezhik> looks OK
15:27:43 :: >>= Hey! You did it! Your dist will be indexed shortly.