ebmdatalab / bennettbot

slackbot for DataLab stuff
1 stars 1 forks source link

Rename this repo to bennettbot #551

Closed rebkwok closed 1 month ago

rebkwok commented 2 months ago

It's somewhat confusing that we've kept the old repo name, especially as the lingering legacy bot called ebmbot is still around. The dokku app on dokku3 is already named bennettbot, as is the docker image.

The user in docker is added by name, and still called ebmbot (for ssh, according to comments in the Dockerfile). This is so that the I think this is so that bennettbot can run fabric commands on openprescribing and trials tracker. Note openprescribing runs commands as the ebmbot user, and trials tracker doesn't, but they both require the ebmbot user to have ssh access to their respective hosts. dokku3 users are set up via this ansible script. IIRC the other servers (lageweb2 and smallweb1) are setup manually.

Tasks:

[^1]: Can be done manually with usermod and groupmod but will need to check this is (a) how we should do it and (b) the order of all the things to minimise risk of breaking everything. It might be best to make a new bennettbot user instead of renaming the ebmbot one, in case we need to roll back changes.

rebkwok commented 1 month ago

Note: suppress OP deploys while all the remaining steps (everything after renaming the ebmbot module)

rebkwok commented 1 month ago

Steps:

On each of smallweb1 and largeweb2

On dokku3