• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. Auto checkout merge requests

      Do @tildes mr=X where X is the merge request number from tildes-community/tildes-cf to pull the MR from GitLab and restart the following services: gunicorn.service 'consumer-*.service' This does...

      Do @tildes mr=X where X is the merge request number from tildes-community/tildes-cf to pull the MR from GitLab and restart the following services:

      • gunicorn.service
      • 'consumer-*.service'

      This does not yet handle alembic or other changes but this is an okay starting point.

      It may take up to a minute to apply, the script uses a cronjob and checks every minute for new mentions. And it only handles the latest mention.

      Do @tildes master to checkout back to master.

      Approved users that can use this:

      • bauke
      • talklittle
      • cfabbro
      • deimos

      ! ! ! Temporarily Unavailable

      I'm an idiot an accidentally deleted the code for this while migrating the server to use the tildes/tildes staging branch. x) I'm gonna remake it over the weekend and commit it somewhere.

      0 votes
    2. Server Info

      Some info about the server running this instance: Hetzner CX32 VPS hosted in Nuremberg, Germany Debian 12 Restarts daily at 04:00 UTC Running commit a45ce28 The server auto-pulls the master branch...

      Some info about the server running this instance:

      • Hetzner CX32 VPS hosted in Nuremberg, Germany
      • Debian 12
      • Restarts daily at 04:00 UTC
      • Running commit a45ce28
      • The server auto-pulls the master branch from GitLab every day at 14:00 UTC and restarts Gunicorn (the commit hash in this topic does not automatically get updated).
        • At the moment it does not run alembic upgrade head automatically since I don't want to add it blindly. When a database change lands in a commit I'll add it, that way I can test that upgrading works as expected.
      • Third-party API services are currently not running (Embedly, YouTube scraper)
      0 votes