Re: [igt-dev] [PATCH i-g-t] gitlab-CI: Force a UTF-8 local

Jani Nikula
2018-12-11T14:44:52Z

On Fri, 07 Dec 2018, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> python is brittle otherwise and loves to just blow up. Especially
> when you have commits with non-ASCII characters, which gitlab CI
> injects into the docker env.

Lots of words but I'm not sure what you're saying. :p

> Strangely we've only seen this go boom on the ninja test target
> in the arm64 cross-compile. For paranoia roll it out everywhere.

Failure mode? Logs?

BR,
Jani.

>
> v2: gitlab-ci has global variables (Petri)
>
> Cc: Petri Latvala <petri.latvala@intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
> .gitlab-ci.yml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index efd01be0ea07..776c62788a90 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -10,6 +10,7 @@ variables:
> -Dbuild_tests=true
> -Dbuild_runner=true
> -Dwith_libunwind=true
> + LANG: "C.UTF-8"
>
> stages:
> - containers

--
Jani Nikula, Intel Open Source Graphics Center