Make apt installations much less noisy

This commit is contained in:
Olivier 'reivilibre' 2021-11-14 11:58:23 +00:00
parent d41d9f7c1a
commit 23458d6a6e
1 changed files with 3 additions and 3 deletions

View File

@ -13,14 +13,14 @@ pipeline:
unitTests: unitTests:
image: rust:1.54.0-slim image: rust:1.54.0-slim
commands: 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 build --all
- cargo test --all - cargo test --all
testSuite: testSuite:
image: rust:1.54.0-slim-bullseye image: rust:1.54.0-slim-bullseye
commands: 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 - pg_ctlcluster 13 main start
- "mysqld_safe &" - "mysqld_safe &"
- su postgres -c 'createuser root' - su postgres -c 'createuser root'
@ -42,7 +42,7 @@ pipeline:
- deploy_ssh_key - deploy_ssh_key
commands: # warning! Doesn't seem to like hashed known_hosts... commands: # warning! Doesn't seem to like hashed known_hosts...
- cargo install -q mdbook - 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 - mdbook build
- echo "$DEPLOY_SSH_KEY" > /tmp/rsync_key - echo "$DEPLOY_SSH_KEY" > /tmp/rsync_key
- chmod u=rw,go= /tmp/rsync_key - chmod u=rw,go= /tmp/rsync_key