-
-
Notifications
You must be signed in to change notification settings - Fork 60
Automatically deploy cherry_picker (and/or blurb) to PyPI #222
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
Comments
TravisCI docs: https://docs.travis-ci.com/user/deployment/script/ CircleCI example https://circleci.com/blog/continuously-deploying-python-packages-to-pypi-with-circleci/ |
My own idea is to write a bot that does |
I can do it. If needed, I'll send a PR to travis-ci/dpl for the existing pypi provider (I wrote Pages provider, so I'm familiar with the tool), but it's likely that it won't be necessary. Another thing to consider would be the deployment flow trigger. Normally, I would do deploy for every tag pushed and even use that version-tag as a version of current distribution (see setuptools_scm). Regarding bot, I've got some ideas and having ongoing investigation of how GitHub Deployments APIs work along with GitHub Apps (login as a bot) + OAuth there. I don't have any public demo yet, but the plan is to make some UI with a button, which would trigger a deployment event and then the event listener part of app will react on such events and do whatever needed. I'm also considering another scenario where CIs will send such events. If I understand correctly, one may even add a condition into such trigger in API to wait for all CIs to complete, which is going to be very useful for aio-libs (where I originally intended to apply this), because in case of several CIs building OS-specific wheels asynchronously the wheels appear in PYPI during 8-hour interval, which seems to be very confusing to users. So this bot could be a nice "synchronization point" for such processes. But it all is just a theory for now. I'll start with what I know best: built-in deployment provider. |
Resolves python#222 @Mariatta still needs to update secret
Resolves python#222 @Mariatta still needs to update secret
Resolves python#222 @Mariatta still needs to update secret
Resolves python#222 @Mariatta still needs to update secret
Resolves python#222 @Mariatta still needs to update secret
Resolves python#222 @Mariatta still needs to update secret
Resolves python#222 @Mariatta still needs to update secret
Resolves python#222 @Mariatta still needs to update secret
Allow publishing cherry_picker to PyPI via Travis CI. Disable this for blurb. Resolves #222
I heard that this can be accomplished using TravisCI or CircleCI.
The text was updated successfully, but these errors were encountered: