Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Test Instance + S3 Bucket for latest version of Bandersnatch #73

Open
cooperlees opened this issue Apr 12, 2022 · 1 comment
Open

Comments

@cooperlees
Copy link
Collaborator

Hi all,

pypi/warehouse#8569 has sat dormant for awhile and I was wondering if I could have an instance and a s3 bucker for the sprints to proof of concept using S3 vs. the large posix storage volume for the internal PyPI bandersnatch mirror. I believe this could save PSF $$$s/tokens.

Bandersnatch s3 documentation: https://bandersnatch.readthedocs.io/en/latest/storage_options.html#amazon-s3

  • 1 instance that's only going to sync
    • Syncing would run in a Docker container - I've made our bandersnatch docker publish a s3 container
    • Service would move to s3 static sites
  • A s3 bucket
    • Would then need an access_key_id + secret_accss_key with write privledges

I am happy to ansible/salt infra by code all this however wanted. The deployment will be in docker. I would need help / skills with the S3 static sites as I've never done that.

Once this is up and POC'd (I can even do it with a subset of packages if we wanted) we can then look at the options to move PyPI from current bandersnatch fallback to s3 fallback and decommision the old system once happy.

In an ideal world, I would then love to get a second bucket where I could test new versions of bandersnatch (from same instance) with a subset of packages before upgrading in the future to do safer docker pulls etc.

@cooperlees
Copy link
Collaborator Author

We're now all python3.11 and PEP691 ready ... Is there any chance of this ever happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant