-
-
Notifications
You must be signed in to change notification settings - Fork 113
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When creating a merge request for gitlab, browsing to it:
- gitlab says: "Your merge request is almost ready!"
- browsing to Changes tab says: "Building your merge request… This page will update when the build is complete."
Expected Behavior
The MR should not have any issues
Steps To Reproduce
- create updatecli.d/manifest2.yaml file from below
- run
updatecli apply
Environment
- OS: macos
- updatecli:
# manifest.yaml
name: QuickStart example
# Defines how to get "source" information such as Jenkins version
sources:
lastRelease:
kind: "helmchart"
spec:
url: "https://prometheus-community.github.io/helm-charts"
name: "kube-prometheus-stack"
conditions: {}
# Defines "targets" which need to be updated if different than "source" information.
targets:
tf_file:
name: Bump Jenkins Docker Image Tag
kind: hcl
scmid: gitlab
spec:
file: "tf/harbor_replication_tkps.tf"
path: resource.harbor_replication.repl_tkps_helm_prometheus.filters.tag
actions:
default:
title: Bump axios version4
kind: gitlab/mergerequest
scmid: gitlab
scms:
gitlab:
kind: gitlab
spec:
owner: "wxs"
url: "https://gitlab.domain.com"
repository: "k8s/harbor"
branch: main
# For the change to be apply, we need to specify gitlab credentials
username: wladyx
token: glpat-privateAnything else?
- i don't have the repo under my user, i have a group (wxs) maybe this is causing the issue?
- when i look at the commits history there is no name for the author and no email, maybe this is causing the issue?
in the browser console i see 404 for:
https://gitlab.domain.com/wxs/k8s/harbor/-/merge_requests/9/diffs_batch.json
in the gitlab logs i see:
{"content_type":"application/json","correlation_id":"01J47CCR4B5FC8Y1Y5MQ9D70T2","duration_ms":296,"host":"gitlab.domain.com","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"https://gitlab.domain.com/wxs/k8s/harbor/-/merge_requests/9/diffs","remote_addr":"188.26.61.185:0","remote_ip":"188.26.61.185","route":"","status":404,"system":"http","time":"2024-08-01T16:29:27Z","ttfb_ms":295,"uri":"/wxs/k8s/harbor/-/merge_requests/9/diffs_metadata.json?diff_head=true\u0026view=inline\u0026w=0","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","written_bytes":0}
172.17.0.1 - - [01/Aug/2024:16:29:27 +0000] "GET /wxs/k8s/harbor/-/merge_requests/9/diffs_metadata.json?diff_head=true&view=inline&w=0 HTTP/1.1" 404 31 "https://gitlab.domain.com/wxs/k8s/harbor/-/merge_requests/9/diffs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" 0.00
{"component":"gitaly.StreamServerInterceptor","correlation_id":"01J47CD3ETEQ13A65N2CNV64S3","grpc.meta.auth_version":"v2","grpc.meta.client_name":"gitlab-workhorse","grpc.meta.deadline_type":"none","grpc.meta.method_operation":"accessor","grpc.meta.method_scope":"repository","grpc.meta.method_type":"server_stream","grpc.method":"InfoRefsUploadPack","grpc.request.fullMethod":"/gitaly.SmartHTTPService/InfoRefsUploadPack","grpc.request.glProjectPath":"wxs/k8s/radarr","grpc.request.glRepository":"project-80","grpc.request.repoPath":"@hashed/48/44/48449a14a4ff7d79bb7a1b6f3d488eba397c36ef25634c111b49baf362511afc.git","grpc.request.repoStorage":"default","grpc.service":"gitaly.SmartHTTPService","grpc.start_time":"2024-08-01T16:29:39.632","level":"info","msg":"getting stream","pid":1417,"remote_ip":"172.17.0.1","span.kind":"server","stream_path":"/var/opt/gitlab/git-data/repositories/+gitaly/cache/37/ea2a37cb5c5cc3722bb47798b2d839d86f3712404ea66cc29cf26d579f3dcc","system":"grpc","time":"2024-08-01T16:29:39.635Z","user_id":"user-11","username":"group_9_bot_c1d32da1c6614092276b8755515f8249"}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done