Page MenuHomePhabricator

[mwcli mwdd] Decide on what to do with the "default" service set and create / destroy commands
Closed, ResolvedPublic

Description

Copied from the v1 branch of mwdd there are top level commands for create and destroy of the "default" containers, whatever they are.

create         Create the Default containers
destroy        Destroy the Default containers
resume         Resume the Default containers
suspend        Suspend the Default containers

Right now these commands are either not implemented (for suspend and resume) or they just alias to mediawiki.

There could be a case for allowing users to have some nice default set of services that they want to startup somehow?
This could for example be mediawiki & mysql & mysql-replica for example.
They could interact with this set via these high levels commands then?

But for now perhaps it is easiest to just get rid of them, until this is implemented as an actual feature?

Event Timeline

Addshore added a project: UX-Debt.
Addshore raised the priority of this task from Low to High.Oct 16 2021, 1:39 PM
Addshore moved this task from Discuss & Decide to Priority Backlog on the mwcli board.

In https://gitlab.wikimedia.org/repos/releng/cli/-/commit/ef8192a502411ea186f7ceccce13d9dbce33618e as part of T299631: Don't show unused services as "failed" when resuming mwcli some behaviour here changed.

Now resume and suspend only resume and suspect services that have already been created.

Probably another step for this ticket would be having a user be able to specify what services by default they want to start up!

Addshore claimed this task.

Resolving for now as the behaviour is rather OK