Skip to content

gitserver: Perform prefix match on hostname

Administrator requested to merge hostname-check into main

Created by: ryanslade

We need to match the gitserver hostname with a value from the SRC_GIT_SERVERS values which often include a domain and port too.

We could override the HOSTNAME environment but we'd need to remember do this for customer deployments too so it seems simpler to handle it in code.

Merge request reports

Loading