BuildID: 2943
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 09.02.2023 @ 16:05
Time elapsed: 126 sec
---
SCM:
https://github.com/melezhik/sparrowci-sandbox.git
Git sha: bb655e7
Git comment: install tar, release!
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
sudo apk add unzip
sudo apk add tar --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
zef install --/test https://github.com/tony-o/raku-fez/archive/refs/heads/dist.zip
cat << HERE > ~/.fez-config.json
{"groups":[],"un":"melezhik","key":"$FEZ_TOKEN"}
HERE
cd source/
zef install --/test fez
tom --clean
fez upload --unattended
[35m16:04:45[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:04:47[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:04:49[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.bash - tasks/test][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
[35m16:04:49[0m :: SCM_URL=https://github.com/melezhik/sparrowci-sandbox.git
[35m16:04:49[0m :: SCM_SHA=bb655e7
[35m16:04:49[0m :: SCM_COMMIT_MESSAGE=install tar, release!
[35m16:04:49[0m :: SCM_BRANCH=HEAD
[35m16:04:51[0m :: ===> Testing: SparrowCI-SandBox:ver<0.0.7>:auth<zef:melezhik>
[35m16:04:51[0m :: ===> Testing [OK] for SparrowCI-SandBox:ver<0.0.7>:auth<zef:melezhik>
[35m16:05:20[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.raku - tasks/release-if][0m
[1;36m[dump code: task.raku][0m
[1] update_state %( status => 'skip' )
[2] unless %*ENV<SCM_COMMIT_MESSAGE> ~~ /'release!'/;
[3]
[1;36m[task stdout][0m
[1;36m[task run: task.bash - tasks/release][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2]
[3] sudo apk add unzip
[4] sudo apk add tar --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
[5]
[6] zef install --/test https://github.com/tony-o/raku-fez/archive/refs/heads/dist.zip
[7]
[8] cat << HERE > ~/.fez-config.json
[9] {"groups":[],"un":"melezhik","key":"$FEZ_TOKEN"}
[10] HERE
[11]
[12] cd source/
[13] zef install --/test fez
[14]
[15] tom --clean
[16] fez upload --unattended
[17]
[1;36m[task stdout][0m
[35m16:05:24[0m :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
[35m16:05:24[0m :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
[35m16:05:24[0m :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
[35m16:05:25[0m :: (1/1) Installing unzip (6.0-r9)
[35m16:05:25[0m :: Executing busybox-1.35.0-r17.trigger
[35m16:05:25[0m :: OK: 710 MiB in 61 packages
[35m16:05:25[0m :: fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
[35m16:05:26[0m :: (1/2) Installing libacl (2.3.1-r0)
[35m16:05:26[0m :: (2/2) Installing tar (1.34-r0)
[35m16:05:26[0m :: Executing busybox-1.35.0-r17.trigger
[35m16:05:26[0m :: OK: 711 MiB in 63 packages
[35m16:05:28[0m :: ===> Installing: fez:ver<40>:auth<zef:tony-o>:api<0>
[35m16:05:38[0m ::
[35m16:05:38[0m :: 1 bin/ script [fez] installed to:
[35m16:05:38[0m :: /home/worker/.raku/bin
[35m16:05:39[0m :: No reason to proceed. Use --force-install to continue anyway
[35m16:05:40[0m :: cleaning /var/.sparrowdo/env/test/.sparrowdo/source/.tom/.cache ...
[35m16:05:41[0m :: >>= Looking in "sdist/KXIWsJ84.tar.gz" for META6.json
[35m16:05:43[0m :: >>= meta<provides> looks OK
[35m16:05:43[0m :: >>= meta<resources> looks OK
[35m16:05:43[0m :: >>= SparrowCI-SandBox:ver<0.0.7>:auth<zef:melezhik> looks OK
[35m16:05:43[0m :: >>= Hey! You did it! Your dist will be indexed shortly.
[1;36m[task stderr][0m
[35m16:05:43[0m :: All candidates are currently installed