From ad41022f4af8f079e01c4033f3ad7fe2cc567f6e Mon Sep 17 00:00:00 2001 From: Jakub Rusz Date: Thu, 19 Aug 2021 19:51:32 +0200 Subject: [PATCH] tests/ci: set locale in deploy.sh This hides warnings that are seen whenever dnf is called and also it is no longer possible to initialize postresql database without it which is used in base tests now. --- schutzbot/deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/schutzbot/deploy.sh b/schutzbot/deploy.sh index e8e5176da..2c496c3c8 100755 --- a/schutzbot/deploy.sh +++ b/schutzbot/deploy.sh @@ -9,6 +9,10 @@ set -euxo pipefail # pull the -test package from. PROJECT=${1:-osbuild-composer} +# set locale to en_US.UTF-8 +sudo dnf install -y glibc-langpack-en +localectl set-locale LANG=en_US.UTF-8 + # Colorful output. function greenprint { echo -e "\033[1;32m${1}\033[0m"