Make apt output less verbose to avoid pipeline step logs to exceed max size
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Benjamin Renard 2022-04-27 17:45:09 +02:00
parent e3931e50da
commit 735ba92646

View file

@ -2,9 +2,9 @@ pipeline:
test:
image: debian
commands:
- apt update
- apt -y upgrade
- apt install -y --no-install-recommends python3-all python3-dev python3-pip python3-venv build-essential pkg-config libsystemd-dev libldap2-dev libsasl2-dev libpq-dev libmariadb-dev wget unzip
- apt-get -qq update
- apt-get -y -qq upgrade
- apt-get -qq -o=Dpkg::Use-Pty=0 -y install --no-install-recommends python3-all python3-dev python3-pip python3-venv build-essential pkg-config libsystemd-dev libldap2-dev libsasl2-dev libpq-dev libmariadb-dev wget unzip
- wget --no-verbose -O /opt/instantclient-basic-linux.x64-21.4.0.0.0dbru.zip https://download.oracle.com/otn_software/linux/instantclient/214000/instantclient-basic-linux.x64-21.4.0.0.0dbru.zip
- unzip -d /opt /opt/instantclient-basic-linux.x64-21.4.0.0.0dbru.zip
- echo /opt/instantclient_* > /etc/ld.so.conf.d/oracle-instantclient.conf
@ -16,9 +16,9 @@ pipeline:
build:
image: debian
commands:
- apt update
- apt -y upgrade
- apt -y install --no-install-recommends git sed python3-all python3-dev python3-pip python3-venv dpkg-dev build-essential debhelper dh-python bash-completion lsb-release
- apt-get -qq update
- apt-get -y -qq upgrade
- apt-get -qq -o=Dpkg::Use-Pty=0 -y install --no-install-recommends git sed python3-all python3-dev python3-pip python3-venv dpkg-dev build-essential debhelper dh-python bash-completion lsb-release
- ./build.sh
- rm -fr deb_dist/python3-mylib-*
publish: