BuildID: 2391
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 31.12.2022 @ 22:35
Time elapsed: 67 sec
---
SCM:
https://github.com/melezhik/SparrowCI.git
Git sha: ccd7d83
Git comment: remove old code
image:
- melezhik/sparrow:debian
secrets:
- FEZ_TOKEN
tasks:
- name: release
default: true
language: Raku
code: |
say "OK"
init: |
if %*ENV<SCM_COMMIT_MESSAGE> ~~ /'release!'/ {
run_task "upload"
}
subtasks:
-
name: upload
language: Bash
code: |
set -e
cat << HERE > ~/.fez-config.json
{"groups":[],"un":"melezhik","key":"$FEZ_TOKEN"}
HERE
cd source/
zef install --/test fez
tom --clean
fez upload
[35m22:35:37[0m :: [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
[35m22:35:41[0m :: [repository] - installing pack-unpack, version 0.000001
[1;36m[task run: task.bash - unpack source archive][0m
[1;36m[dump code: task.bash][0m
[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]
[1;36m[task stdout][0m
[35m22:35:43[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.raku - tasks/release][0m
[1;36m[dump code: task.raku][0m
[1] say "OK"
[2]
[1;36m[task stdout][0m
[35m22:35:45[0m :: OK