Skip to content
Snippets Groups Projects

Normalize the scheduler db for better `swh db` compatibility

Merged David Douard requested to merge douardda/swh-scheduler:db-compat into master
1 unresolved thread

In the next version of swh.core, we expect all the swh.core.db based swh backends to register themselves in the swh.<package>.classes entry point so the swh db tools can easily handle the whole lifecycle of the backend's db easily (especially in integration tests like the docker env or the mirror deployment project).

So be it.

Will need a dependency bump on swh.core before merging.

Edited by David Douard

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • David Douard changed the description

    changed the description

  • David Douard added 1 commit

    added 1 commit

    • 5764a7aa - Declare scheduler backends in the swh.scheduler.classes entry point

    Compare with previous version

  • David Douard changed the description

    changed the description

  • Jenkins job DSCH/gitlab-builds #259 failed in 1 min 21 sec.
    See Console Output, Blue Ocean and Coverage Report for more details.

  • Antoine R. Dumont resolved all threads

    resolved all threads

  • 35 35 "swh.scheduler" = "swh.scheduler.cli"
    36 36 "swh.scheduler.journal" = "swh.scheduler.cli.journal"
    37 37
    38 [project.entry-points."swh.scheduler.classes"]
    39 "postgresql" = "swh.scheduler.backend:SchedulerBackend"
    40 "remote" = "swh.scheduler.api.client:RemoteScheduler"
    41 "temporary" = "swh.scheduler.backend:TemporarySchedulerBackend"
  • David Douard added 12 commits

    added 12 commits

    • 5764a7aa...da126619 - 11 commits from branch swh/devel:master
    • 772bfe56 - Declare scheduler backends in the swh.scheduler.classes entry point

    Compare with previous version

  • Jenkins job DSCH/gitlab-builds #280 failed in 7 min 19 sec.
    See Console Output, Blue Ocean and Coverage Report for more details.

  • David Douard added 1 commit

    added 1 commit

    • a08abb96 - Declare scheduler backends in the swh.scheduler.classes entry point

    Compare with previous version

  • Jenkins job DSCH/gitlab-builds #281 succeeded in 7 min 9 sec.
    See Console Output, Blue Ocean and Coverage Report for more details.

  • David Douard added 1 commit

    added 1 commit

    • 8f341cfe - Replace remaining 'local' cls with 'postgresql'

    Compare with previous version

  • Jenkins job DSCH/gitlab-builds #282 succeeded in 7 min 16 sec.
    See Console Output, Blue Ocean and Coverage Report for more details.

  • merged

  • Please register or sign in to reply
    Loading