1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 13:22:36 +01:00

Switched pipe with echo to add-apt-repository

This commit is contained in:
Pavel Odintsov 2023-05-22 23:05:38 +01:00
parent 85f4b64cf8
commit 7062bc4ee0

@ -245,7 +245,7 @@ jobs:
- run: sudo docker run --name linux_docker -d -t << parameters.docker_image >> - run: sudo docker run --name linux_docker -d -t << parameters.docker_image >>
- run: sudo docker exec linux_docker apt-get update; true - run: sudo docker exec linux_docker apt-get update; true
- run: sudo docker exec linux_docker apt-get install -y perl wget git - run: sudo docker exec linux_docker apt-get install -y perl wget git
- run: sudo docker exec --env DEBIAN_FRONTEND linux_docker "<< parameters.s3cmd_install_command >>" - run: sudo docker exec --env DEBIAN_FRONTEND linux_docker << parameters.s3cmd_install_command >>
- run: sudo docker exec linux_docker git clone https://github.com/pavel-odintsov/fastnetmon.git - run: sudo docker exec linux_docker git clone https://github.com/pavel-odintsov/fastnetmon.git
- run: - run:
name: install_gcc name: install_gcc
@ -373,7 +373,7 @@ workflows:
name: "debian10" name: "debian10"
distro_name: "debian" distro_name: "debian"
# We do it this way because this version of Debian has no s3cmd in official repos for some reasons: https://packages.debian.org/buster-backports/s3cmd and then we install it from backports # We do it this way because this version of Debian has no s3cmd in official repos for some reasons: https://packages.debian.org/buster-backports/s3cmd and then we install it from backports
s3cmd_install_command: "echo 'deb http://deb.debian.org/debian buster-backports main' | tee /etc/apt/sources.list.d/buster_backports.list; apt-get update; apt-get install -t bullseye-backports -y s3cmd" s3cmd_install_command: "add-apt-repository --yes 'deb http://deb.debian.org/debian buster-backports main'; apt-get update; apt-get install -t bullseye-backports -y s3cmd"
- build_debian: - build_debian:
docker_image: "debian:bullseye" docker_image: "debian:bullseye"
distro_version: "11" distro_version: "11"