Skip to content

staging: Actually schedule bzr and cvs repositories in scn

Without this, the runner does not schedule those origins.

Test Plan

octo-stuff:

$ $SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff scheduler0.internal.staging.swh.network
...
diff origin/production/scheduler0.internal.staging.swh.network current/scheduler0.internal.staging.swh.network
*******************************************
  File[/etc/systemd/system/swh-scheduler-runner-priority.service] =>
   parameters =>
     content =>
      @@ -16,5 +16,5 @@
       Environment=SWH_SENTRY_ENVIRONMENT=staging
       Environment=SWH_MAIN_PACKAGE=swh.scheduler
      -ExecStart=/usr/bin/swh --log-level INFO scheduler --config-file /etc/softwareheritage/scheduler/listener-runner.yml start-runner --period 10 --with-priority --task-type load-git --task-type load-svn --task-type load-archive-files --task-type load-hg
      +ExecStart=/usr/bin/swh --log-level INFO scheduler --config-file /etc/softwareheritage/scheduler/listener-runner.yml start-runner --period 10 --with-priority --task-type load-bzr --task-type load-cvs --task-type load-git --task-type load-svn --task-type load-archive-files --task-type load-hg
       Restart=always
       RestartSec=10
*******************************************
  Profile::Swh::Deploy::Scheduler::Service[runner-priority] =>
   parameters =>
     service_args =>
      - ["start-runner", "--period", "10", "--with-priority", "--task-type", "load-git", "--task-type", "load-svn", "--task-type", "load-archive-files", "--task-type", "load-hg"]
      + ["start-runner", "--period", "10", "--with-priority", "--task-type", "load-bzr", "--task-type", "load-cvs", "--task-type", "load-git", "--task-type", "load-svn", "--task-type", "load-archive-files", "--task-type", "load-hg"]
*******************************************
  Systemd::Unit_file[swh-scheduler-runner-priority.service] =>
   parameters =>
     content =>
      @@ -16,5 +16,5 @@
       Environment=SWH_SENTRY_ENVIRONMENT=staging
       Environment=SWH_MAIN_PACKAGE=swh.scheduler
      -ExecStart=/usr/bin/swh --log-level INFO scheduler --config-file /etc/softwareheritage/scheduler/listener-runner.yml start-runner --period 10 --with-priority --task-type load-git --task-type load-svn --task-type load-archive-files --task-type load-hg
      +ExecStart=/usr/bin/swh --log-level INFO scheduler --config-file /etc/softwareheritage/scheduler/listener-runner.yml start-runner --period 10 --with-priority --task-type load-bzr --task-type load-cvs --task-type load-git --task-type load-svn --task-type load-archive-files --task-type load-hg
       Restart=always
       RestartSec=10
*******************************************
*** End octocatalog-diff on scheduler0.internal.staging.swh.network

Migrated from D7191 (view on Phabricator)

Merge request reports