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

SparrowCI Report - gh-melezhik-sparrowci-docker-task | [image: melezhik/sparrow:debian]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2985
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 09.02.2023 @ 22:22
Time elapsed: 120 sec
---
SCM: https://github.com/melezhik/sparrowci-docker-task.git
Git sha: d68003f
Git comment: Update sparrow.yaml
image:
  - melezhik/sparrow:debian
  
tasks:
  -
    name: run-docker
    default: true
    language: Bash
    code: |
      docker run hello-world
    depends:
      -
        name: install-docker-cli     
  -
    name: install-docker-cli
    plugin: docker-engine
    config:
      cli_only: true
22:22:30 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
22:22:32 :: [repository] - installing docker-engine, version 0.001017
[task run: task.bash - install-docker-cli]
[dump code: task.bash]
[1] set -e
[2] 
[3] cli_only=$(config cli_only)
[4] 
[5] set -x
[6] 
[7] echo "cli_only: ${cli_only}"
[8] 
[9] export DEBIAN_FRONTEND=noninteractive
[10] 
[11] sudo apt-get update
[12] 
[13] sudo apt-get update
[14] sudo apt-get install -y \
[15]     ca-certificates \
[16]     curl \
[17]     gnupg \
[18]     lsb-release
[19] 
[20] 
[21] sudo mkdir -m 0755 -p /etc/apt/keyrings
[22] 
[23] curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
[24] 
[25] echo \
[26]   "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
[27]   $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
[28] 
[29] sudo apt-get update
[30] 
[31] if test "$cli_only" = "True"; then
[32]   sudo apt-get install -y docker-ce-cli
[33] else
[34]   sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
[35] fi
[36] 
[37] 
[38] 
[task stdout]
22:22:34 :: cli_only: True
22:22:34 :: Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
22:22:34 :: Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
22:22:34 :: Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
22:22:34 :: Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
22:22:35 :: Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [222 kB]
22:22:35 :: Get:6 https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/deb/debian bullseye InRelease [5264 B]
22:22:36 :: Fetched 8618 kB in 1s (6259 kB/s)
22:22:36 :: Reading package lists...
22:22:36 :: Hit:1 http://deb.debian.org/debian bullseye InRelease
22:22:36 :: Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
22:22:36 :: Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
22:22:36 :: Get:4 https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/deb/debian bullseye InRelease [5264 B]
22:22:37 :: Fetched 5264 B in 0s (11.5 kB/s)
22:22:37 :: Reading package lists...
22:22:38 :: Reading package lists...
22:22:38 :: Building dependency tree...
22:22:38 :: Reading state information...
22:22:38 :: ca-certificates is already the newest version (20210119).
22:22:38 :: ca-certificates set to manually installed.
22:22:38 :: gnupg is already the newest version (2.2.27-2+deb11u2).
22:22:38 :: gnupg set to manually installed.
22:22:38 :: lsb-release is already the newest version (11.1.0).
22:22:38 :: The following additional packages will be installed:
22:22:38 ::   libcurl4
22:22:38 :: The following packages will be upgraded:
22:22:38 ::   curl libcurl4
22:22:38 :: 2 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
22:22:38 :: Need to get 616 kB of archives.
22:22:38 :: After this operation, 2048 B of additional disk space will be used.
22:22:38 :: Get:1 http://deb.debian.org/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u5 [270 kB]
22:22:38 :: Get:2 http://deb.debian.org/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u5 [346 kB]
22:22:38 :: Fetched 616 kB in 0s (10.6 MB/s)
22:22:38 :: (Reading database ... 
22:22:38 :: (Reading database ... 5%
22:22:38 :: (Reading database ... 10%
22:22:38 :: (Reading database ... 15%
22:22:38 :: (Reading database ... 20%
22:22:38 :: (Reading database ... 25%
22:22:38 :: (Reading database ... 30%
22:22:38 :: (Reading database ... 35%
22:22:38 :: (Reading database ... 40%
22:22:38 :: (Reading database ... 45%
22:22:38 :: (Reading database ... 50%
22:22:38 :: (Reading database ... 55%
22:22:38 :: (Reading database ... 60%
22:22:38 :: (Reading database ... 65%
22:22:38 :: (Reading database ... 70%
22:22:38 :: (Reading database ... 75%
22:22:38 :: (Reading database ... 80%
22:22:38 :: (Reading database ... 85%
22:22:38 :: (Reading database ... 90%
22:22:38 :: (Reading database ... 95%
22:22:38 :: (Reading database ... 100%
22:22:38 :: (Reading database ... 19016 files and directories currently installed.)
22:22:38 :: Preparing to unpack .../curl_7.74.0-1.3+deb11u5_amd64.deb ...
22:22:38 :: Unpacking curl (7.74.0-1.3+deb11u5) over (7.74.0-1.3+deb11u3) ...
22:22:38 :: Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u5_amd64.deb ...
22:22:38 :: Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u5) over (7.74.0-1.3+deb11u3) ...
22:22:39 :: Setting up libcurl4:amd64 (7.74.0-1.3+deb11u5) ...
22:22:39 :: Setting up curl (7.74.0-1.3+deb11u5) ...
22:22:39 :: Processing triggers for libc-bin (2.31-13+deb11u5) ...
22:22:39 :: Hit:1 http://deb.debian.org/debian bullseye InRelease
22:22:39 :: Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
22:22:39 :: Get:3 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
22:22:39 :: Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
22:22:39 :: Get:5 https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/deb/debian bullseye InRelease [5264 B]
22:22:39 :: Get:6 https://download.docker.com/linux/debian bullseye/stable amd64 Packages [18.1 kB]
22:22:39 :: Fetched 66.7 kB in 0s (144 kB/s)
22:22:40 :: Reading package lists...
22:22:40 :: Reading package lists...
22:22:40 :: Building dependency tree...
22:22:40 :: Reading state information...
22:22:41 :: The following additional packages will be installed:
22:22:41 ::   docker-buildx-plugin docker-compose-plugin docker-scan-plugin
22:22:41 :: The following NEW packages will be installed:
22:22:41 ::   docker-buildx-plugin docker-ce-cli docker-compose-plugin docker-scan-plugin
22:22:41 :: 0 upgraded, 4 newly installed, 0 to remove and 13 not upgraded.
22:22:41 :: Need to get 52.3 MB of archives.
22:22:41 :: After this operation, 164 MB of additional disk space will be used.
22:22:41 :: Get:1 https://download.docker.com/linux/debian bullseye/stable amd64 docker-buildx-plugin amd64 0.10.2-1~debian.11~bullseye [25.9 MB]
22:22:41 :: Get:2 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce-cli amd64 5:23.0.0-1~debian.11~bullseye [13.2 MB]
22:22:41 :: Get:3 https://download.docker.com/linux/debian bullseye/stable amd64 docker-compose-plugin amd64 2.15.1-1~debian.11~bullseye [9572 kB]
22:22:41 :: Get:4 https://download.docker.com/linux/debian bullseye/stable amd64 docker-scan-plugin amd64 0.23.0~debian-bullseye [3623 kB]
22:22:41 :: Fetched 52.3 MB in 1s (72.4 MB/s)
22:22:41 :: Selecting previously unselected package docker-buildx-plugin.
22:22:41 :: (Reading database ... 
22:22:41 :: (Reading database ... 5%
22:22:41 :: (Reading database ... 10%
22:22:41 :: (Reading database ... 15%
22:22:41 :: (Reading database ... 20%
22:22:41 :: (Reading database ... 25%
22:22:41 :: (Reading database ... 30%
22:22:41 :: (Reading database ... 35%
22:22:41 :: (Reading database ... 40%
22:22:41 :: (Reading database ... 45%
22:22:41 :: (Reading database ... 50%
22:22:41 :: (Reading database ... 55%
22:22:41 :: (Reading database ... 60%
22:22:41 :: (Reading database ... 65%
22:22:41 :: (Reading database ... 70%
22:22:41 :: (Reading database ... 75%
22:22:41 :: (Reading database ... 80%
22:22:41 :: (Reading database ... 85%
22:22:41 :: (Reading database ... 90%
22:22:41 :: (Reading database ... 95%
22:22:41 :: (Reading database ... 100%
22:22:41 :: (Reading database ... 19016 files and directories currently installed.)
22:22:41 :: Preparing to unpack .../docker-buildx-plugin_0.10.2-1~debian.11~bullseye_amd64.deb ...
22:22:41 :: Unpacking docker-buildx-plugin (0.10.2-1~debian.11~bullseye) ...
22:22:43 :: Selecting previously unselected package docker-ce-cli.
22:22:43 :: Preparing to unpack .../docker-ce-cli_5%3a23.0.0-1~debian.11~bullseye_amd64.deb ...
22:22:43 :: Unpacking docker-ce-cli (5:23.0.0-1~debian.11~bullseye) ...
22:22:44 :: Selecting previously unselected package docker-compose-plugin.
22:22:44 :: Preparing to unpack .../docker-compose-plugin_2.15.1-1~debian.11~bullseye_amd64.deb ...
22:22:44 :: Unpacking docker-compose-plugin (2.15.1-1~debian.11~bullseye) ...
22:22:45 :: Selecting previously unselected package docker-scan-plugin.
22:22:45 :: Preparing to unpack .../docker-scan-plugin_0.23.0~debian-bullseye_amd64.deb ...
22:22:45 :: Unpacking docker-scan-plugin (0.23.0~debian-bullseye) ...
22:22:45 :: Setting up docker-scan-plugin (0.23.0~debian-bullseye) ...
22:22:45 :: Setting up docker-buildx-plugin (0.10.2-1~debian.11~bullseye) ...
22:22:45 :: Setting up docker-compose-plugin (2.15.1-1~debian.11~bullseye) ...
22:22:45 :: Setting up docker-ce-cli (5:23.0.0-1~debian.11~bullseye) ...
[task stderr]
22:22:45 :: ++ echo 'cli_only: True'
22:22:45 :: ++ export DEBIAN_FRONTEND=noninteractive
22:22:45 :: ++ DEBIAN_FRONTEND=noninteractive
22:22:45 :: ++ sudo apt-get update
22:22:45 :: ++ sudo apt-get update
22:22:45 :: ++ sudo apt-get install -y ca-certificates curl gnupg lsb-release
22:22:45 :: debconf: delaying package configuration, since apt-utils is not installed
22:22:45 :: ++ sudo mkdir -m 0755 -p /etc/apt/keyrings
22:22:45 :: ++ curl -fsSL https://download.docker.com/linux/debian/gpg
22:22:45 :: ++ sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
22:22:45 :: ++ sudo tee /etc/apt/sources.list.d/docker.list
22:22:45 :: +++ dpkg --print-architecture
22:22:45 :: +++ lsb_release -cs
22:22:45 :: ++ echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian   bullseye stable'
22:22:45 :: ++ sudo apt-get update
22:22:45 :: ++ test True = True
22:22:45 :: ++ sudo apt-get install -y docker-ce-cli
22:22:45 :: debconf: delaying package configuration, since apt-utils is not installed
22:21:50 :: [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
22:21:52 :: [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]
22:21:54 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/run-docker]
[dump code: task.bash]
[1] docker run hello-world
[2] 
[task stdout]
22:22:48 :: 
22:22:48 :: Hello from Docker!
22:22:48 :: This message shows that your installation appears to be working correctly.
22:22:48 :: 
22:22:48 :: To generate this message, Docker took the following steps:
22:22:48 ::  1. The Docker client contacted the Docker daemon.
22:22:48 ::  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
22:22:48 ::     (amd64)
22:22:48 ::  3. The Docker daemon created a new container from that image which runs the
22:22:48 ::     executable that produces the output you are currently reading.
22:22:48 ::  4. The Docker daemon streamed that output to the Docker client, which sent it
22:22:48 ::     to your terminal.
22:22:48 :: 
22:22:48 :: To try something more ambitious, you can run an Ubuntu container with:
22:22:48 ::  $ docker run -it ubuntu bash
22:22:48 :: 
22:22:48 :: Share images, automate workflows, and more with a free Docker ID:
22:22:48 ::  https://hub.docker.com/
22:22:48 :: 
22:22:48 :: For more examples and ideas, visit:
22:22:48 ::  https://docs.docker.com/get-started/
22:22:48 ::