How to configure CloudQuery to pull plugins from GitLab instead of GitHub

Hello, is there any way to have CloudQuery pull a plugin from GitLab instead of GitHub?

Hi! So for now, the best bet would be to download it via curl locally and then use the file registry from the CloudQuery documentation.

Spoiler alert: We are going to release the CQ registry soon, so you will be able to publish your plugin from any CI and then download it from our registry. This way, we won’t need to integrate with all CI systems as it’s not really possible to track all CI APIs and their changes, but it’s easy to upload from any CI to our registry and then support it.

That’s what I do currently (all of a sudden I started getting this):

fork/exec: no such file or directory.

When I ls, I can see the file, so it may be a system permissions issue.

Yeah, seems like the file doesn’t exist or maybe it downloaded the wrong architecture. Which plugin is it?

It’s a custom plugin.

GOOS=linux GOWORK=off go build main.go

I think I may add GOARCH=amd64.