mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Set localte in CI tests to en_US.UTF-8 (#450)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
33b28086ec
commit
2c88b822cf
3 changed files with 15 additions and 0 deletions
|
|
@ -2,6 +2,11 @@
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
|
# New requirement from ansible-core 2.14
|
||||||
|
export LC_ALL=en_US.UTF-8
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
export LANGUAGE=en_US.UTF-8
|
||||||
|
|
||||||
CON_TYPE="${1:-podman}"
|
CON_TYPE="${1:-podman}"
|
||||||
SUDO=${ROOT:+"sudo -E"}
|
SUDO=${ROOT:+"sudo -E"}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,11 @@
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# New requirement from ansible-core 2.14
|
||||||
|
export LC_ALL=en_US.UTF-8
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
export LANGUAGE=en_US.UTF-8
|
||||||
|
|
||||||
[[ -z "$TEST2RUN" || ! -f "ci/playbooks/containers/${TEST2RUN}.yml" ]] && {
|
[[ -z "$TEST2RUN" || ! -f "ci/playbooks/containers/${TEST2RUN}.yml" ]] && {
|
||||||
echo "Please specify test to run, for example TEST2RUN=podman_container";
|
echo "Please specify test to run, for example TEST2RUN=podman_container";
|
||||||
exit 1;
|
exit 1;
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,11 @@
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
|
# New requirement from ansible-core 2.14
|
||||||
|
export LC_ALL=en_US.UTF-8
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
export LANGUAGE=en_US.UTF-8
|
||||||
|
|
||||||
function run_ansible {
|
function run_ansible {
|
||||||
${SUDO:-} ${ANSIBLECMD:-ansible-playbook} ../connection/test_connection.yml -i "test_connection.inventory" \
|
${SUDO:-} ${ANSIBLECMD:-ansible-playbook} ../connection/test_connection.yml -i "test_connection.inventory" \
|
||||||
-e target_hosts="buildah" \
|
-e target_hosts="buildah" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue