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

Automate PYPI wheels & Read The Docs with Travis #70

Open
wearpants opened this issue Oct 20, 2017 · 4 comments
Open

Automate PYPI wheels & Read The Docs with Travis #70

wearpants opened this issue Oct 20, 2017 · 4 comments
Milestone

Comments

@wearpants
Copy link
Owner

No description provided.

@wearpants wearpants added this to the 0.5 milestone Oct 20, 2017
@wearpants
Copy link
Owner Author

ok @abadger i gave you collab access here & on pypi

abadger added a commit to abadger/twiggy that referenced this issue Oct 23, 2017
Implementation of the Pypi portion of wearpants#70.  This commit uses the
test.pypi.org server rather than the real server.  When we're satisfied
that this does the right thing we'll need to switch over.
@abadger
Copy link
Collaborator

abadger commented Oct 23, 2017

Okay, PR #75 will let travis push to pypi. There's some information in the PR about finishing up the work (it's currently pushing to testpypi.org so that we can check it the first time to make sure it's doing what we want.) We should also create the twiggy-uploader user in the real pypi infrastructure and use that to upload there when we're ready. That way we won't lose either of our accounts passwords if there's a compromise of travis.

@abadger
Copy link
Collaborator

abadger commented Oct 23, 2017

For setting up readthedocs I'll need to have access to admin the readthedocs twiggy project. You should be able to grant that to me on readthedocs once you've logged in: https://readthedocs.org/dashboard/twiggy/users/

abadger added a commit that referenced this issue Oct 25, 2017
Implementation of the Pypi portion of #70.  This commit uses the
test.pypi.org server rather than the real server.  When we're satisfied
that this does the right thing we'll need to switch over.
@abadger
Copy link
Collaborator

abadger commented Oct 25, 2017

TODO:

  • Add the twiggy-uploader password to the .travis.yml file:
    • lwGo2bGY8NHj96K+l0jzUiJX2+ZUs/DACwZt94VXKmOTOeqU1sPOBunh4ajSGUJCo2KSG17QasiHEBNPQKnA3DjKm76v4DdpNKwHxzsENyy2B4QicJa/qur3OzpY0ozW0oei0Nj7oFydrfFZoY6NBrt0ox4bjJcQHoj+S4XmNKk=
  • Add the readthedocs webhook to github: https://docs.readthedocs.io/en/latest/webhooks.html#github

Release procedure:

  • Make final changes for the release
  • git push
  • Check that the commit passes in travis
  • git tag $RELEASE
  • git push --tags

Goal:

Once git push --tags is performed above:

PyPi:

Status: Pypi is being tested. The next release to be built should push to test.pypi.org. We should review it and if it looks correct we can update to use the real pypi.org credentials and url.

  • travis should push to pypi once the tags are pushed.

Readthedocs

Status: Read the doc is now working as outlined here

Readthedocs will also rebuild docs whenever new commits are pushed to the master branch. These builds will end up at:

Going to http://twiggy.readthedocs.io/ will redirect to http://twiggy.readthedocs.io/en/stable/

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

2 participants