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.
This commit is contained in:
Jakub Rusz 2021-08-19 19:51:32 +02:00 committed by jrusz
parent 231499c5d4
commit ad41022f4a

View file

@ -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"