BuildID: 2255
Status: OK
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 20.12.2022 @ 23:36
Time elapsed: 67 sec
---
SCM:
https://github.com/melezhik/sparrowci-bugzilla.git
Git sha: 65d6d50
Git comment: Update sparrow.yaml
secrets:
- BUGZILLA_RESTAPI_KEY
tasks:
-
name: main
default: true
language: Bash
code: |
set -e
cat << HERE > data.json
{
"comment" : "This comment is made by SparrowCI",
"is_private" : false
}
HERE
curl -f -H "Content-Type: application/json" -X POST \
--data @data.json \
https://bugzilla-dev.allizom.org/rest/bug/1632727/comment?api_key=$BUGZILLA_RESTAPI_KEY
echo "comment has been added to https://bugzilla-dev.allizom.org/show_bug.cgi?id=1632727"
[35m23:36:38[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
[35m23:36:42[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
[35m23:36:45[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.bash - tasks/main][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2]
[3] cat << HERE > data.json
[4] {
[5] "comment" : "This comment is made by SparrowCI",
[6] "is_private" : false
[7] }
[8] HERE
[9]
[10] curl -f -H "Content-Type: application/json" -X POST \
[11] --data @data.json \
[12] https://bugzilla-dev.allizom.org/rest/bug/1632727/comment?api_key=$BUGZILLA_RESTAPI_KEY
[13]
[14] echo "comment has been added to https://bugzilla-dev.allizom.org/show_bug.cgi?id=1632727"
[15]
[1;36m[task stdout][0m
[35m23:36:46[0m :: {"id":2298}comment has been added to https://bugzilla-dev.allizom.org/show_bug.cgi?id=1632727
[1;36m[task stderr][0m
[35m23:36:46[0m :: % Total % Received % Xferd Average Speed Time Time Time Current
[35m23:36:46[0m :: Dload Upload Total Spent Left Speed
[35m23:36:46[0m ::
[35m23:36:46[0m :: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
[35m23:36:46[0m :: 100 80 0 0 100 80 0 389 --:--:-- --:--:-- --:--:-- 388
[35m23:36:46[0m :: 100 91 0 11 100 80 19 140 --:--:-- --:--:-- --:--:-- 159