this post was submitted on 13 Jun 2023
10 points (100.0% liked)

Self Hosted - Self-hosting your services.

506 readers
2 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

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:

  1. We feature branch, build/deploy to dev (manual), self/peer verify.
  2. Merge to master, build/deploy to dev (triggered by jira), QA tests
  3. Promote to stage (deploy artifact from previous build, triggered by Jira), QA tests
  4. 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.

top 7 comments
sorted by: hot top controversial new old
[–] nick_99@sh.itjust.works 2 points 1 year ago

I use gitea and metroline. I'm pretty sure gitea has their own pipeline now, but I haven't used it.

[–] Aurailious 1 points 1 year ago (1 children)

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.

[–] ultraHQ 2 points 1 year ago (1 children)

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 1 points 1 year ago

You can have it occasionally pull as a mirror:

https://docs.gitea.com/next/usage/repo-mirror

[–] amino@fediverse.omaramin.me 1 points 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@sh.itjust.works 1 points 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.

[–] MoistHoagie 1 points 1 year ago

I haven't used Jenkins, but I have used GitHub Actions and Gitlab CI and really like both.