gitlab-ci-pipelines-exporter
gitlab-ci-pipelines-exporter copied to clipboard
webhook with error
trafficstars
When trying to use the webhook, I see this error in the log.
{"ip-address":"10.6.0.96:37224","level":"debug","msg":"webhook request","time":"2023-10-04T13:50:43Z","user-agent":"GitLab/16.3.4-ee"}
{"error":"context canceled","level":"error","msg":"reading ref from the store","project-name":"group/frontend","ref":"aloisio-test1","ref-kind":"branch","time":"2023-10-04T13:50:43Z"}
Below is the configuration of my helm chart
config:
log:
level: debug
gitlab:
url: https://gitlab.mycompany.com
token: <token>
enable_health_check: false
enable_tls_verify: true
server:
enable_pprof: true
webhook:
enabled: true
secret_token: <token>
pull:
projects_from_wildcards:
on_init: false
scheduled: false
environments_from_projects:
on_init: false
scheduled: false
refs_from_projects:
on_init: false
scheduled: false
metrics:
on_init: false
scheduled: false
projects:
- name: group/frontend
serviceMonitor:
enabled: true
redis:
enabled: true
metrics:
enabled: true
serviceMonitor:
enabled: true
ingress:
enabled: true
hosts:
- gitlab-ci-pipelines-exporter.mycompany.com
Gitlab webhook status:
Am I doing something wrong?
I have very similar helm values and exactly the same error. One more info - when the scheduled pulls are enabled, they work just fine on this configuration.
doesn't work for me with the latest release image (with redis, but works without redis), which is default in helm chart. Works fine with latest tag though.
The same issue in my case, @Art3mK your "solution" works fine. It looks like a bug in v.0.5.5