diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-06-22 22:57:08 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-06-22 22:57:08 +0200 |
| commit | f9b7c2a14c939d0bb7d1ac2fcca3116e38e37f74 (patch) | |
| tree | cc20775f2d70416ef6414d265b7e1d44cce6fece /docker/integration_test/web/setup.sh | |
| parent | 9cb8a56b406c46244e936c2f40830d0e89dba785 (diff) | |
Add support for pushing changes to a translation review
Finally got around to fixing the pre-receive hook to include quarantined
objects so the hook actually can run git commands on the not-yet-accepted
commits. As part of that, had to make sure git hook and eyeballs server
had the same path to the repo or confusion will appear.
Diffstat (limited to 'docker/integration_test/web/setup.sh')
| -rwxr-xr-x | docker/integration_test/web/setup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/integration_test/web/setup.sh b/docker/integration_test/web/setup.sh index bd6c805..d8093b1 100755 --- a/docker/integration_test/web/setup.sh +++ b/docker/integration_test/web/setup.sh @@ -7,9 +7,9 @@ echo "session_max_age_days = 7" >> Rocket.toml echo "ldap_url = \"$LDAP_URL\"" >> Rocket.toml echo "ldap_users = \"ou=users,dc=example,dc=org\"" >> Rocket.toml echo "ldap_filter = \"(objectClass=posixAccount)\"" >> Rocket.toml -echo "git_server_root = \"/git/repos\"" >> Rocket.toml +echo "git_server_root = \"/srv/git\"" >> Rocket.toml echo "authorized_keys = \"/git/auth/authorized_keys\"" >> Rocket.toml -echo "git_hook = \"/git/repos/eyeballs-githook\"" >> Rocket.toml +echo "git_hook = \"/srv/git/eyeballs-githook\"" >> Rocket.toml echo "[default.databases.eyeballs]" >> Rocket.toml echo "url = \"$DB_URL\"" >> Rocket.toml @@ -20,6 +20,6 @@ echo "Host remote_git" > /app/.ssh/config echo " StrictHostKeyChecking no" >> /app/.ssh/config # Hardlinks cannot cross devices, so copy to the /git/repos mount. -cp /app/eyeballs-githook /git/repos/eyeballs-githook +cp /app/eyeballs-githook /srv/git/eyeballs-githook exec ./eyeballs |
