#Org Compliance of Dagger plans on Jenkins
1 messages · Page 1 of 1 (latest)
Awesome!
Can't say I have too many requirements gathered.
One idea I had in mind is using Cue itself to impose a structure and certain steps to be present. But I'm not sure imposing structure is necessary. We just need to ensure that certain steps are part of the pipeline.
Would it be sufficient to ensure that certain organizational/pipeline-owned Dagger Actions are performed at the beginning/end of the pipeline or its stages?
I sent you a friend request on Discord so we can DM to set up a meeting time 🙂
Happy to help think about how we might use CUE to enforce aspects of the pipeline. That’s something I’ve given a good deal of thought to…
The high level goal is to make sure that a specific action is executed.
One question is how do we define an action? By name? By it's definition?
For example, I want to make sure that an action I defined in a central repository is executed when I run dagger do ci.
Can we use plain CUE to do that? I suspect we can, but there might be other rules to enforce where CUE might not be enough.
@somber siren love you blog post and your project using Dagger!
https://github.com/sagikazarmark/todobackend-go-kit
Would you consider making a PR of your golangci lint?
https://github.com/sagikazarmark/todobackend-go-kit/blob/main/ci/golangci/lint.cue
It would be amazing to see that at https://github.com/dagger/dagger/tree/main/pkg/universe.dagger.io/alpha/go/lint.cue
So it could be used by all and promoted up into the official Universe go package when it's ready.
What do you think?
Thanks, I'm glad you liked it. Sure, I'd love to send a PR.
This PR adds GolangCI linter to alpha universe.
@jpadams originally suggested to add it under universe.dagger.io/alpha/go/lint.cue, but Go has a plethora of lint tools (including the now deprecated...
FTR I started experimenting with a collection of dagger actions here: https://github.com/sagikazarmark/dagger
I started adding various linters that I use in my projects, but there is a lot, so I was wondering if it would make sense to use something like megalinter (a fork of GitHub's superlinter): https://megalinter.github.io/latest/
I gave it a try and it's unbelievably slow, so that's certainly an argument against using megalinter.
Dagger library. Contribute to sagikazarmark/dagger development by creating an account on GitHub.