[wiki-web] These env vars are needed for git to not fail with "fatal: unable to look up current user in the pas



commit b2b6f188fc115c7e3a802237fec75b3688fc1915
Author: Andrea Veri <averi redhat com>
Date:   Wed Aug 14 16:55:01 2019 +0200

    These env vars are needed for git to not fail with "fatal: unable to look up current user in the passwd 
file: no such user". Issue is fixed on git >= 2.6.5

 templates/static-web-cron.yaml | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/templates/static-web-cron.yaml b/templates/static-web-cron.yaml
index 0c0fc99..0ce681f 100644
--- a/templates/static-web-cron.yaml
+++ b/templates/static-web-cron.yaml
@@ -21,6 +21,11 @@ spec:
             volumeMounts:
             - mountPath: /srv/http/data/static.gnome.org
               name: moinmoin-data
+            env:
+              - name: GIT_COMMITTER_NAME
+                value: "GNOME Sysadmins"
+              - name: GIT_COMMITTER_EMAIL
+                value: "gnome-sysadmin gnome org"
           dnsPolicy: ClusterFirst
           restartPolicy: Never
           terminationGracePeriodSeconds: 30


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]