From 23458d6a6e2910fac827d250f0f57c3d51e6d45c Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Sun, 14 Nov 2021 11:58:23 +0000 Subject: [PATCH] Make apt installations much less noisy --- .woodpecker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 91a4683..1259cb0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -13,14 +13,14 @@ pipeline: unitTests: image: rust:1.54.0-slim commands: - - apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev + - DEBIAN_FRONTEND=noninteractive apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev > /dev/null - cargo build --all - cargo test --all testSuite: image: rust:1.54.0-slim-bullseye commands: - - apt-get -qq update && apt-get -yqq -o=Dpkg::Use-Pty=0 install pkg-config libssl-dev build-essential libsqlite3-dev python3.9 python3.9-venv postgresql postgresql-client mariadb-server mariadb-client zstd lz4 + - DEBIAN_FRONTEND=noninteractive apt-get -qq update && apt-get -yqq -o=Dpkg::Use-Pty=0 install pkg-config libssl-dev build-essential libsqlite3-dev python3.9 python3.9-venv postgresql postgresql-client mariadb-server mariadb-client zstd lz4 > /dev/null - pg_ctlcluster 13 main start - "mysqld_safe &" - su postgres -c 'createuser root' @@ -42,7 +42,7 @@ pipeline: - deploy_ssh_key commands: # warning! Doesn't seem to like hashed known_hosts... - cargo install -q mdbook - - apt-get -qq update && apt-get -yqq install rsync ssh + - DEBIAN_FRONTEND=noninteractive apt-get -qq update && apt-get -yqq install rsync ssh > /dev/null - mdbook build - echo "$DEPLOY_SSH_KEY" > /tmp/rsync_key - chmod u=rw,go= /tmp/rsync_key