cloudfoundry-incubator / kubecf

Cloud Foundry on Kubernetes
Apache License 2.0
115 stars 62 forks source link

fix: lint: yamllint: force locale #1653

Closed mook-as closed 3 years ago

mook-as commented 3 years ago

Description

If the locale was set incorrectly, yaml linting will fail as the GitHub pipelines are using UTF-8. As we can't guarantee Python 3.7 yet, we have to override LC_ALL rather than just set PYTHONUTF8=1 (see PEP 540).

Motivation and Context

I had LC_ALL=C set for some insane reason, and linting was failing.

How Has This Been Tested?

Ran make yamllint before & after changes.

Types of changes

Checklist: