mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
Fix Gitea mirror: use service=git instead of service=gitlab
service=gitlab invokes Gitea's GitLab-API-based downloader (for issues/ PRs/releases metadata), which calls the source's /api/v4/projects/... REST API rather than doing a plain git clone. That was 404ing against home GitLab and getting swallowed into a generic 'InternalServerError: 404 Not Found' with no further detail. We only want a plain pull-mirror of the git repo itself, so service=git forces the plain git-clone downloader instead.
This commit is contained in:
@@ -77,7 +77,7 @@ spec:
|
||||
\"private\": false,
|
||||
\"auth_username\": \"${GITLAB_USER}\",
|
||||
\"auth_password\": \"${GITLAB_TOKEN}\",
|
||||
\"service\": \"gitlab\"
|
||||
\"service\": \"git\"
|
||||
}"
|
||||
|
||||
echo "==> Done."
|
||||
|
||||
Reference in New Issue
Block a user