#update and dependency issue
1 messages ยท Page 1 of 1 (latest)
are you have a link to guide me how to define the module.cue file and use it?
As time will pass, your Dagger configuration will grow. You will feel the need to better organise your config by splitting it into multiple files.
I added my module to module.cue file like this:
module: "github.com/mlkmhd/dagger-maven"
and after that I ran the following command:
$ dagger project update
but it did not created the cue.mod/pkg/github.com/mlkmhd/dagger-maven directory!
I expected from dagger to download my module from Github. Am I doing something wrong?
Oh, I see. You want to use your remote package ? https://docs.dagger.io/1239/making-reusable-package
It should be: dagger project update github.com/mlkmhd/dagger-maven@tag, so dagger project update github.com/mlkmhd/dagger-maven@main or any other tag if you applied one
it's working with dagger project update github.com/mlkmhd/dagger-maven@main command, but is it possible to just add this dependency in the cue.mod file and run dagger project update?
I mean something like go mod download...
Helder from our team (on holidays this week) is working on the package manager. Cue currently doesn't have one
we share the same pain ๐
thank you ๐ I'll be wait for this feature. currently I'm gonna migrate our projects pipeline to dagger ๐
Adding @hard wadi to the conversation. Did you have a chance to already talk to him ?
Please ask us any question, all the team is here to help transition to Dagger ๐ Jeremy is the best person to help see how Dagger may fit perfectly with your pipelines
thanks @native bluff
I found a issue on Github about this:
https://github.com/dagger/dagger/issues/2496
maybe I could help to code contribution to add this feature ๐ because it's very necessary for me. I like to migrate ASAP from gitlab-ci templating to dagger
Problem dagger project update, with no arguments, vendors the entire content of universe.dagger.io in ./cue.mod/pkg/. This causes surprise, confusion and frustration for our developers. Solution Mo...
I found the project cuemod that resolving cue dependencies:
https://github.com/octohelm/cuemod
@white crown, did you know about that ?
Yes I did. We've talked about it.
what's up here? is it going forward?
Hey, can you remind me what's the issue?
The package manager for cue files. I have a github repository of cue files and I want to import that into the my project with "dagger project update" command
Yes, but what I'm wondering is what exactly isn't working for you? The related docs are in https://docs.dagger.io/1239/making-reusable-package/#push-package-on-repository
@white crown
I added my module to module.cue file like this:
module: "github.com/mlkmhd/dagger-maven"
and after that I ran the following command:
$ dagger project update
but it did not created the cue.mod/pkg/github.com/mlkmhd/dagger-maven directory!
I expected from dagger to download my module from Github. Am I doing something wrong?
it's working with dagger project update github.com/mlkmhd/dagger-maven@main command, but is it possible to just add this dependency in the cue.mod file and run dagger project update?