wellcomecollection / platform

Wellcome Collection Digital Platform
https://developers.wellcomecollection.org/
MIT License
48 stars 10 forks source link

Clear out the wellcome Docker Hub namespace #5722

Closed alexwlchan closed 1 year ago

alexwlchan commented 1 year ago

There's a whole bunch of stuff in the wellcome Docker Hub namespace and I think ~95% of it is unused.

We should go through this account and see whether we need to keep any of it, or if it can be safely deleted (and not handed over).

alexwlchan commented 1 year ago

Okay, so a brief recap of the structure: there's a Docker Hub account called wellcometravis with email address wellcomedigitalplatform@wellcome.ac.uk. I found the password for this account as part of #5723.

This account is the owner of the wellcome organization, but I'm not sure we still use it – I think we replaced it entirely with Amazon ECR.

As a first step, I've removed a bunch of ex-staff from the organisation.

alexwlchan commented 1 year ago

Working from the end of the list forwards: ❓

Not deleted images:

Deleted images:

alexwlchan commented 1 year ago

Down to a mere 8 images!

alexwlchan commented 1 year ago

I've copied the feature_similarity, palette_similarity and nginx_api-gw images into ECR repositories in the data account, and they're now running there, so I'm going to delete the copies in Docker Hub.

alexwlchan commented 1 year ago

The flake8 and tox images are both mirrored in ECR, and all the repos get the images from there, so those should be okay to delete.

alexwlchan commented 1 year ago

There are two repositories left: nginx:156 and pa11y_dashboard:latest. Both were pulled fairly recently, but I can't find any references to them in our codebases – I'm 99% sure these aren't us (and if they are, I have no idea where they're defined!).

I'm going to delete them so I can mop up the rest of the account.

alexwlchan commented 1 year ago

Done. The wellcome organization is gone and the wellcometravis user have both been deactivated.