Skip to content

Activate sentry for scheduler journal client

Related to T3664

Test Plan

$SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging saatchi
...
diff origin/production/saatchi.internal.softwareheritage.org current/saatchi.internal.softwareheritage.org
*******************************************
  File[/etc/systemd/system/swh-scheduler-journal-client.service] =>
   parameters =>
     content =>
      @@ -8,4 +8,7 @@
      _
       [Service]
      +Environment=SWH_SENTRY_DSN=https://swh::deploy::scheduler::sentry_token@sentry.softwareheritage.org/7
      +Environment=SWH_SENTRY_ENVIRONMENT=production
      +Environment=SWH_MAIN_PACKAGE=swh.scheduler
       User=swhscheduler
       Group=swhscheduler
*******************************************
  Systemd::Unit_file[swh-scheduler-journal-client.service] =>
   parameters =>
     content =>
      @@ -8,4 +8,7 @@
      _
       [Service]
      +Environment=SWH_SENTRY_DSN=https://swh::deploy::scheduler::sentry_token@sentry.softwareheritage.org/7
      +Environment=SWH_SENTRY_ENVIRONMENT=production
      +Environment=SWH_MAIN_PACKAGE=swh.scheduler
       User=swhscheduler
       Group=swhscheduler
*******************************************
*** End octocatalog-diff on saatchi.internal.softwareheritage.org

Migrated from D6483 (view on Phabricator)

Merge request reports