Page MenuHomePhabricator

Mock commons db in docker
Closed, ResolvedPublic

Description

Some of the scripts (e.g. unused_images) cannot be tested locally as they rely on access to commonswiki_p on labsdb.

Introducing a thin commonswiki db (likely only needs the page table) as one of the docket build options would allow for more confident development of these scripts.

Event Timeline

@JeanFred Is this a silly idea?
You've already laid the groundwork for this by making the db settings configurable. I'm envisioning a one table db with something that looks like the page table (but without any connections to other tables).

@JeanFred This is essentially what you solved with the proxies right?

Lokal_Profil assigned this task to JeanFred.

For archive happiness this was solved using https://gerrit.wikimedia.org/r/448552