pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.8,filelock==3.13.1,identify==2.5.35,nodeenv==1.8.0,pip==24.0,platformdirs==4.2.0,pre-commit==3.7.0,PyYAML==6.0.1,setuptools==69.1.0,virtualenv==20.25.1,wheel==0.42.0 pre-commit: commands[0]> pre-commit run --all-files --show-diff-on-failure [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... Trim Trailing Whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing kubernetes/common/postgres-init/templates/job.yaml Fixing kubernetes/common/etcd-init/templates/job.yaml Fixing kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml Fixing kubernetes/common/mariadb-init/templates/job.yaml Fixing kubernetes/common/dgbuilder/values.yaml Tabs remover.............................................................Passed pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/kubernetes/common/dgbuilder/values.yaml b/kubernetes/common/dgbuilder/values.yaml index fb2b43b1c..68cb86bd7 100644 --- a/kubernetes/common/dgbuilder/values.yaml +++ b/kubernetes/common/dgbuilder/values.yaml @@ -168,7 +168,7 @@ resources: podAnnotations: # Workarround to exclude K8S API from istio communication - # as init-container (readinessCheck) does not work with the + # as init-container (readinessCheck) does not work with the # Istio CNI plugin, see: # (https://istio.io/latest/docs/setup/additional-setup/cni/#compatibility-with-application-init-containers) traffic.sidecar.istio.io/excludeOutboundPorts: "443" diff --git a/kubernetes/common/etcd-init/templates/job.yaml b/kubernetes/common/etcd-init/templates/job.yaml index 74358c6fa..55526a34a 100644 --- a/kubernetes/common/etcd-init/templates/job.yaml +++ b/kubernetes/common/etcd-init/templates/job.yaml @@ -29,7 +29,7 @@ spec: metadata: annotations: # Workarround to exclude K8S API from istio communication - # as init-container (readinessCheck) does not work with the + # as init-container (readinessCheck) does not work with the # Istio CNI plugin, see: # (https://istio.io/latest/docs/setup/additional-setup/cni/#compatibility-with-application-init-containers) traffic.sidecar.istio.io/excludeOutboundPorts: "443" diff --git a/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml b/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml index 133cc6398..1a174d1bb 100644 --- a/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml +++ b/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml @@ -35,7 +35,7 @@ spec: metadata: annotations: # Workarround to exclude K8S API from istio communication - # as init-container (readinessCheck) does not work with the + # as init-container (readinessCheck) does not work with the # Istio CNI plugin, see: # (https://istio.io/latest/docs/setup/additional-setup/cni/#compatibility-with-application-init-containers) traffic.sidecar.istio.io/excludeOutboundPorts: "443" diff --git a/kubernetes/common/mariadb-init/templates/job.yaml b/kubernetes/common/mariadb-init/templates/job.yaml index 5c2807dbe..2495e602f 100644 --- a/kubernetes/common/mariadb-init/templates/job.yaml +++ b/kubernetes/common/mariadb-init/templates/job.yaml @@ -33,7 +33,7 @@ spec: metadata: annotations: # Workarround to exclude K8S API from istio communication - # as init-container (readinessCheck) does not work with the + # as init-container (readinessCheck) does not work with the # Istio CNI plugin, see: # (https://istio.io/latest/docs/setup/additional-setup/cni/#compatibility-with-application-init-containers) traffic.sidecar.istio.io/excludeOutboundPorts: "443" diff --git a/kubernetes/common/postgres-init/templates/job.yaml b/kubernetes/common/postgres-init/templates/job.yaml index 4245a88c9..b62bef878 100644 --- a/kubernetes/common/postgres-init/templates/job.yaml +++ b/kubernetes/common/postgres-init/templates/job.yaml @@ -30,7 +30,7 @@ spec: metadata: annotations: # Workarround to exclude K8S API from istio communication - # as init-container (readinessCheck) does not work with the + # as init-container (readinessCheck) does not work with the # Istio CNI plugin, see: # (https://istio.io/latest/docs/setup/additional-setup/cni/#compatibility-with-application-init-containers) traffic.sidecar.istio.io/excludeOutboundPorts: "443" pre-commit: exit 1 (11.65 seconds) /w/workspace/oom-master-pre-commit-lint> pre-commit run --all-files --show-diff-on-failure pid=2274 pre-commit: FAIL code 1 (16.21=setup[4.56]+cmd[11.65] seconds) evaluation failed :( (16.40 seconds)