Skip to content

Activate sentry for indexer journal client

Related to T3664

Test Plan

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

Migrated from D6482 (view on Phabricator)

Merge request reports