This fork carries the DevSH operational branch for the self-hosted Rocket.Chat deployment.
devshis the production build branch used by DevSH infrastructure.devshstarts from an upstream Rocket.Chat release tag.- Upstream updates should be pulled into
devshintentionally, then validated through the image workflow before TerraInfra rolls forward. - Runtime production changes belong in TerraInfra. This fork should stay close to upstream Rocket.Chat source.
The DevSH FOSS image workflow builds a fully self-hosted FOSS Rocket.Chat image:
- Check out the
devshbranch. - Install Node, Yarn, Deno, and Meteor.
- Build shared packages.
- Run
yarn fossify, which removes Enterprise and commercial source directories. - Build the Meteor production bundle.
- Keep a DevSH FOSS compatibility license package for shared Community code paths that import
@rocket.chat/license. - Build the Docker image.
- Publish immutable semver-compatible tags to
ghcr.io/devsh-graphics-programming/rocketchat-foss.
Runtime validation happens after deployment through the TerraInfra Rocket.Chat E2E checks. The image workflow stays focused on producing and publishing the DevSH FOSS container.
Pushes to devsh publish:
<rocket-version>-devsh.YYYYMMDDHHMMSS.<sha>as the immutable rollout tag.devshas a moving convenience tag.
Terraform/Flux uses only immutable semver-compatible DevSH tags for production rollouts because the upstream Helm chart runs semver checks against .Values.image.tag.
TerraInfra watches the GHCR package with Flux image automation:
ImageRepository:ghcr.io/devsh-graphics-programming/rocketchat-fossImagePolicy: newest immutable semver-compatible DevSH tagImageUpdateAutomation: commits the selected tag toenv/prod
After Flux commits the tag update, the Rocket.Chat HelmRelease rolls the deployment on prod-rocket-01.
Do not use Rocket.Chat official Enterprise-flavored container images for the isolated DevSH deployment. The DevSH production service uses this FOSS image route so the workspace stays self-hosted without a cloud/license dependency for basic chat functionality.