Hi, I try to use this plugin with gitlab.com, but I can't make it work.
Could you please share a minimal config for gitlab ?
So far I have:
Installed the plugin using LazyVim. It installs fine and I can open the pipeline view
Installed yq and glab
glab auth status shows that I'm logged into gitlab.com
When I open the pipeline view, there's nothing to see besides the 0 pipeline.nvim header
No plugin key binding seems to work
Even verbose nvim logging I cannot see any error / information about the plugin
$ glab auth status
gitlab.com
✓ Logged in to gitlab.com as … (/home/varac/.config/glab-cli/config.yml)
✓ Git operations for gitlab.com configured to use ssh protocol.
✓ API calls for gitlab.com are made over https protocol.
✓ REST API Endpoint: https://gitlab.com/api/v4/
✓ GraphQL Endpoint: https://gitlab.com/api/graphql/
! No token provided in configuration file.
! One of GITLAB_TOKEN, GITLAB_ACCESS_TOKEN, OAUTH_TOKEN environment variables is set. It will be used for all authentication.
My plugin config:
{
"topaxi/pipeline.nvim",
keys = {
{ "<leader>ci", "<cmd>Pipeline<cr>", desc = "Open pipeline.nvim" },
},
-- optional, you can also install and use `yq` instead.
-- build = "make",
---@type pipeline.Config
--- https://github.com/topaxi/pipeline.nvim?tab=readme-ov-file#options
opts = {
browser = "xdg-open",
allowed_hosts = {
"gitlab.com",
},
},
},
I haven't tried it on the public gitlab instance yet, only the one from my current employer. I will take a look later this evening or latest this weekend.
Hi, I try to use this plugin with gitlab.com, but I can't make it work. Could you please share a minimal config for gitlab ?
So far I have:
yq
andglab
glab auth status
shows that I'm logged into gitlab.com0 pipeline.nvim
headerMy plugin config:
Thanks !