#Question about how I should do my own CD pipeline

1 messages · Page 1 of 1 (latest)

fast venture
#

Hi, I've read the documentation and dagger is presented as a CI pipeline tool. I want to build a local dev environment to spin up services so that my team of developers can easily test our plugins on our minecraft server. I'm going to build a gradle plugin that will be responsible to use dagger to manage the pipelines, however I have no idea how I will deploy the minecraft server + other services we want to use like a postgresql server. I asked Claude already and he told me to use the docker/compose:latest with dagger but the image is not up to date anymore and I think using ansible would be overkill, its mainly for testing our code in local.

kind thistle
# fast venture Hi, I've read the documentation and dagger is presented as a CI pipeline tool. I...

@fast venture similarly to working with docker-compose, you have the Services primitive (https://docs.dagger.io/api/services/) in Dagger which allows your pipelines to spin any kind of dependency and inject it to whatever your pipeline needs to do. So if your plugins require a postgres DB, you can create a Dagger service for that and bind it to your main plugin Dagger pipeline.

Dagger Functions support service containers, enabling users to spin up additional long-running services (as containers) and communicate with those services from Dagger Functions.