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:
parent
231499c5d4
commit
ad41022f4a
1 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue