Giter Site home page Giter Site logo

Move backend for CDN to S3 or similar about get-pip HOT 3 OPEN

pypa avatar pypa commented on August 17, 2024
Move backend for CDN to S3 or similar

from get-pip.

Comments (3)

chrahunt avatar chrahunt commented on August 17, 2024 1

This should be a bit easier now with GitHub Actions, which can take care of the triggering and holding secrets.

An example of uploading to an s3 bucket on push can be found here.

from get-pip.

ewdurbin avatar ewdurbin commented on August 17, 2024

salt states that "build" bootstrap.pypa.io's assets: https://github.com/python/psf-salt/tree/master/salt/pypa/bootstrap

from get-pip.

dstufft avatar dstufft commented on August 17, 2024

The main "problem" with that, which isn't really a problem problem, just something to solve is currently the setup pulls from repositories, so we don't need to distribute secrets anywhere (other than VCS secrets, which we need anyways). Switching to a push based model would mean that we need to distribute S3 keys to all of the projects that are currently publishing to bootstrap.pypa.io.

Another option might be to only support Github repositories as a source of truth, and use lambda to listen for push hooks from GitHub, and automatically fetch and upload to S3 in response to them?

from get-pip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.