Home Quick start All builds News Donations
More
Log In
Light Theme Docs
Workers

SparrowCI Report - gh-melezhik-sparrowci-bugzilla | [image: melezhik/sparrow:alpine]

  • Summary
  • Pipeline YAML
  • Report
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"
23:36:38 :: [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
23:36:42 :: [repository] - installing pack-unpack, version 0.000001
[task run: task.bash - unpack source archive]
[dump code: task.bash]
[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] 
[task stdout]
23:36:45 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/main]
[dump code: task.bash]
[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] 
[task stdout]
23:36:46 :: {"id":2298}comment has been added to https://bugzilla-dev.allizom.org/show_bug.cgi?id=1632727
[task stderr]
23:36:46 ::   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
23:36:46 ::                                  Dload  Upload   Total   Spent    Left  Speed
23:36:46 :: 
23:36:46 ::   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
23:36:46 :: 100    80    0     0  100    80      0    389 --:--:-- --:--:-- --:--:--   388
23:36:46 :: 100    91    0    11  100    80     19    140 --:--:-- --:--:-- --:--:--   159