#Dragoonis DevOps Pro EU. Demos
1 messages ยท Page 1 of 1 (latest)
@copper salmon .. drop me some cool stuff to showcase ๐
a look has gone into Kyle's greetings-api lately
https://github.com/kpenfound/greetings-api
Contribute to kpenfound/greetings-api development by creating an account on GitHub.
There is new Quickstart content as well that brings together the CI use case with AI agent use case, since we're all looking at how to handle what coding agents produce.
https://docs.dagger.io/quickstart/
Of course the quickstarts are available in all of those languges ๐
Looking
Is --ssh= option functional, yeah? I want to give examples of using Git securely.
I have a python rest api example written with fastapi at https://github.com/vikram-dagger/fastapi-sample-app which also has a bunch of unit tests
- There is a Dagger pipeline with functions to test and serve it at https://github.com/vikram-dagger/fastapi-sample-app/blob/main/.dagger/src/book/main.py
- The above pipeline also has a working agent, which can be used to fix the code when tests fail - a self-healing pipeline. The agent can run locally (fix fn) or in CI (diagnose fn)
- This is an example of the agent in action, the user opens a PR causing tests to fail in CI and the agent steps in to diagnose, add a comment with explanation, and provide a diff and PR with fix https://github.com/vikram-dagger/fastapi-sample-app/pull/89#issuecomment-2863870915
- Workflow at https://github.com/vikram-dagger/fastapi-sample-app/blob/main/.github/workflows/dagger.yml
I also have a Golang rest api example written with gin at https://github.com/vikram-dagger/gin-sample-app, similar to the python one
- The Dagger pipeline for test/serve is at https://github.com/vikram-dagger/gin-sample-app/blob/main/.dagger/main.go
- This also has an agent - if a new PR adds endpoints to the API, it automatically updates the CHANGELOG and the OpenAPI spec for the new route definitions. This is an example PR showing how it works: https://github.com/vikram-dagger/gin-sample-app/pull/48.
- Workflows at https://github.com/vikram-dagger/gin-sample-app/tree/main/.github/workflows