From d1647b7a056f04ad5828976dd5a7e2e06b431feb Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 26 Jan 2025 23:55:50 +0100 Subject: Stop using current user in git hooks Want to support any authentication for the git server, so use git commiter as username for creating reviews instead of the local user that logged in to git. Also verify that pushed commits has a valid author in pre-receive. This is tricky as pre-receive must do this check in the hook, because pre-receive runs when before the objects are pushed so the server can't read the commits, the hook must do this. --- docker/dev/docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/dev/docker-compose.yaml') diff --git a/docker/dev/docker-compose.yaml b/docker/dev/docker-compose.yaml index bfb6ab6..dc8cf74 100644 --- a/docker/dev/docker-compose.yaml +++ b/docker/dev/docker-compose.yaml @@ -7,8 +7,8 @@ services: environment: - LDAP_ADMIN_USERNAME=admin - LDAP_ADMIN_PASSWORD=adminpassword - - LDAP_USERS=the_jk,user01,user02 - - LDAP_PASSWORDS=password,password1,password2 + - LDAP_USERS=user01,user02 + - LDAP_PASSWORDS=password1,password2 volumes: - 'openldap_data:/bitnami/openldap' mariadb: -- cgit v1.2.3-70-g09d2