Skip to content

Activate sentry for swh.loader.cvs

Those are currently running and failing in staging without talking to sentry.

Related to T3788

Test Plan

octo-diff:

$SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging worker0.internal.staging.swh.network
...
I, [2021-12-17T16:43:14.204984 #26715]  INFO -- : Catalogs compiled for worker0.internal.staging.swh.network
I, [2021-12-17T16:43:14.511464 #26715]  INFO -- : Diffs computed for worker0.internal.staging.swh.network
diff origin/production/worker0.internal.staging.swh.network current/worker0.internal.staging.swh.network
*******************************************
  File[/etc/systemd/system/swh-worker@loader_cvs.service.d/parameters.conf] =>
   parameters =>
     content =>
      @@ -6,4 +6,7 @@
       Environment=MAX_TASKS_PER_CHILD=5
       Environment=LOGLEVEL=info
      +Environment=SWH_SENTRY_DSN=https://swh::deploy::loader_svn::sentry_token@sentry.softwareheritage.org/14
      +Environment=SWH_SENTRY_ENVIRONMENT=staging
      +Environment=SWH_MAIN_PACKAGE=swh.loader.cvs
      _
      _
*******************************************
  Systemd::Dropin_file[swh-worker@loader_cvs/parameters.conf] =>
   parameters =>
     content =>
      @@ -6,4 +6,7 @@
       Environment=MAX_TASKS_PER_CHILD=5
       Environment=LOGLEVEL=info
      +Environment=SWH_SENTRY_DSN=https://swh::deploy::loader_svn::sentry_token@sentry.softwareheritage.org/14
      +Environment=SWH_SENTRY_ENVIRONMENT=staging
      +Environment=SWH_MAIN_PACKAGE=swh.loader.cvs
      _
      _
*******************************************
*** End octocatalog-diff on worker0.internal.staging.swh.network

Migrated from D6863 (view on Phabricator)

Merge request reports

Loading