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

SparrowCI Report - branch-melezhik-sparrowci-docker-task-alpine | [image: melezhik/sparrow:alpine]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2977
Status: FAIL
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 09.02.2023 @ 20:30
Time elapsed: 66 sec
---
SCM: https://github.com/melezhik/sparrowci-docker-task.git
Git sha: a9b2cc8
Git comment: Update sparrow.yaml
tasks:
  -
    name: run-docker
    language: Bash
    default: true
    code: |
      sudo apk add docker-cli
      sudo docker run hello-world
      sudo docker build {{ CWD }} 
20:29:49 :: [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
20:29:51 :: [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]
20:29:54 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/run-docker]
[dump code: task.bash]
[1] sudo apk add docker-cli
[2] sudo docker run hello-world
[3] sudo docker build  
[4] 
[task stdout]
20:29:54 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
20:29:54 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
20:29:54 :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
20:29:55 :: (1/1) Installing docker-cli (20.10.20-r0)
20:29:55 :: Executing busybox-1.35.0-r17.trigger
20:29:55 :: OK: 752 MiB in 61 packages
20:29:55 :: 
20:29:55 :: Hello from Docker!
20:29:55 :: This message shows that your installation appears to be working correctly.
20:29:55 :: 
20:29:55 :: To generate this message, Docker took the following steps:
20:29:55 ::  1. The Docker client contacted the Docker daemon.
20:29:55 ::  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
20:29:55 ::     (amd64)
20:29:55 ::  3. The Docker daemon created a new container from that image which runs the
20:29:55 ::     executable that produces the output you are currently reading.
20:29:55 ::  4. The Docker daemon streamed that output to the Docker client, which sent it
20:29:55 ::     to your terminal.
20:29:55 :: 
20:29:55 :: To try something more ambitious, you can run an Ubuntu container with:
20:29:55 ::  $ docker run -it ubuntu bash
20:29:55 :: 
20:29:55 :: Share images, automate workflows, and more with a free Docker ID:
20:29:55 ::  https://hub.docker.com/
20:29:55 :: 
20:29:55 :: For more examples and ideas, visit:
20:29:55 ::  https://docs.docker.com/get-started/
20:29:55 :: 
[task stderr]
20:29:56 :: "docker build" requires exactly 1 argument.
20:29:56 :: See 'docker build --help'.
20:29:56 :: 
20:29:56 :: Usage:  docker build [OPTIONS] PATH | URL | -
20:29:56 :: 
20:29:56 :: Build an image from a Dockerfile
20:29:56 :: task exit status: 1
20:29:56 :: task tasks/run-docker FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/run-docker/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 1, signal: 0)
  in block <unit> at /home/sparrow/.rakubrew/versions/moar-2022.12/share/perl6/site/resources/D89191B85489D8D1AA2CA29B23BB54732926E4C8 line 13
  in sub MAIN at /home/sparrow/.rakubrew/versions/moar-2022.12/share/perl6/site/bin/sparrowdo line 3
  in block <unit> at /home/sparrow/.rakubrew/versions/moar-2022.12/share/perl6/site/bin/sparrowdo line 1