BuildID: 4163
Status: OK
Image: melezhik/sparrow:debian_arm
Worker status: OK
---
Date: 04.02.2024 @ 16:17
Time elapsed: 86 sec
---
SCM:
https://github.com/melezhik/Sparrow6.git
Git sha: 2750ce5
Git comment: Fix English grammar
image:
- melezhik/sparrow:debian_arm
secrets:
- FEZ_TOKEN
tasks:
- name: fez-upload
default: true
language: Raku
init: |
if config()<tasks><git-commit><state><comment> ~~ /'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
head Changes
tom --clean
fez upload
depends:
-
name: git-commit
- name: git-commit
plugin: git-commit-data
config:
dir: source
[35m16:16:55[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[35m16:16:57[0m :: [repository] - installing git-commit-data, version 0.000004
[1;36m[task run: task.bash - git-commit][0m
[1;36m[dump code: task.bash][0m
[1] cd $(config dir)
[2]
[3] echo "get commit data from $(pwd) ..."
[4]
[5] git show -s --format=%h > $cache_root_dir/sha.txt
[6] git show -s --format=%s > $cache_root_dir/comment.txt
[7]
[1;36m[task stdout][0m
[35m16:17:00[0m :: get commit data from /var/.sparrowdo/env/fez-upload/.sparrowdo/source ...
[1;36m[task run: task.pl6 - git-commit][0m
[1;36m[dump code: task.pl6][0m
[1] say "git commit: ", "{cache_root_dir()}/sha.txt".IO.slurp.chomp;
[2] say "git comment: ", "{cache_root_dir()}/comment.txt".IO.slurp.chomp;
[3]
[4]
[5] update_state({
[6] sha => "{cache_root_dir()}/sha.txt".IO.slurp.chomp,
[7] comment => "{cache_root_dir()}/comment.txt".IO.slurp.chomp
[8] });
[9]
[1;36m[task stdout][0m
[35m16:17:00[0m :: git commit: 2750ce5
[35m16:17:00[0m :: git comment: Fix English grammar
[35m16:16:30[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
[35m16:16:33[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
[35m16:16:35[0m :: tar -xzf source.tar.gz