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

Jani Nikula jani.nikula at linux.intel.com
Tue Dec 11 14:45:05 UTC 2018


On Fri, 07 Dec 2018, Daniel Vetter <daniel.vetter at 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 at intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at 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


More information about the igt-dev mailing list