Page MenuHomeSoftware Heritage

Activate sentry for swh.loader.cvs
ClosedPublic

Authored by ardumont on Dec 17 2021, 4:44 PM.

Details

Summary

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

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.