Hi all,
I’d like to spin up a lemmy instance with some changes I’d like to make this upcoming weekend, and I’d like to self host a ci/cd pipeline for it.
At work, we use Jenkins tied to Jira.
Our procedure is as follows:
- We feature branch, build/deploy to dev (manual), self/peer verify.
- Merge to master, build/deploy to dev (triggered by jira), QA tests
- Promote to stage (deploy artifact from previous build, triggered by Jira), QA tests
- Promote to prod, and pray we didn’t miss any edge cases lol
I’m not married to Jenkins and I’d be open to other options, if there’s something you’ve tried that you think is better, I’d love to hear it!
Would be nice to have auto triggers that are tied to kanban stories, but not necessary.
- Nick ( @nick_99@sh.itjust.works ) English2•1 year ago
I use gitea and metroline. I’m pretty sure gitea has their own pipeline now, but I haven’t used it.
- MoistHoagie ( @MoistHoagie@beehaw.org ) English1•1 year ago
I haven’t used Jenkins, but I have used GitHub Actions and Gitlab CI and really like both.
- Aurailious ( @Aurailious@beehaw.org ) English1•1 year ago
I currently use DroneCI, but I’ve thought about migrating to Gitea Actions since I also use Gitea. My use case is relatively simple, just deploying various docker containers like Jellyfin or Vikunja.
I’ll look in to Gitea! Do you know if it can be set up to track remotes in github (lemmy/ lemmyUi in my case)
- Aurailious ( @Aurailious@beehaw.org ) English1•1 year ago
You can have it occasionally pull as a mirror:
- amino ( @amino@fediverse.omaramin.me ) 1•1 year ago
@ultraHQ @selfhost I have used WoodpeckerCI with gitea and it works really well. The pipeline syntax is really easy to use as well. I wrote some posts on working through the options - https://omaramin.me/posts/questforcicd/
- RollOnSummer ( @RollOnSummer@sh.itjust.works ) English1•1 year ago
If you’re already using GitHub or Gitlab you could look at their CI/CD tools within their platforms. I’m using GitHub actions with a self hosted runner and quite like the simplicity of it compared to building & managing a Jenkins instance.