BuildID: 2520
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 09.01.2023 @ 15:10
Time elapsed: 51 sec
---
SCM:
https://github.com/melezhik/sparrowci-sandbox.git
Git sha: 0705fa9
Git comment: zef -> fez
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 fez
tom --clean
fez upload
[35m15:10:42[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
[35m15:10:46[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
[35m15:10:49[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.bash - tasks/test-and-release][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] env|grep SCM
[3] cd source
[4] zef test .
[5]
[1;36m[task stdout][0m
[35m15:10:50[0m :: SCM_URL=https://github.com/melezhik/sparrowci-sandbox.git
[35m15:10:50[0m :: SCM_SHA=0705fa9
[35m15:10:50[0m :: SCM_COMMIT_MESSAGE=zef -> fez
[35m15:10:52[0m :: ===> Testing: SparrowCI-SandBox:ver<0.0.3>:auth<zef:melezhik>
[35m15:10:52[0m :: ===> Testing [OK] for SparrowCI-SandBox:ver<0.0.3>:auth<zef:melezhik>