Hey Akki,
As Marcos said, Dagger can only pull modules from Git or local paths. Standard JFrog Artifactory can’t serve as a Git host, so to get around GitLab’s ~5 req/sec API limit you’ve got three workable routes:
- Internal Git mirror – Mirror the repo to Gitea/Gitolite or a bare SSH Git server.
How: Dagger fetches from the mirror, avoiding GitLab limits.
Pros: Same Git workflow, full history.
Cons: Needs infra + sync from GitLab.
- Pre-package archive – Have CI produce a
.tar.gz/.zip, push to Artifactory, fetch and unpack locally before dagger call.
How: Dagger loads from the unpacked folder, no Git at build time.
Pros: Zero Git calls during builds.
Cons: No live refs, adds a packaging step.
- Caching proxy – Put Nginx or Varnish in front of GitLab’s repo archive endpoint.
How: First fetch of a commit hits GitLab; all later requests are instant cache hits.
Pros: Almost no repeat API calls.
Cons: First fetch still goes to GitLab.
Let me know which one you want to explore and I’ll be happy to assist