-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Deployement of wheels and website: Remaing tasks #405
Comments
alright, I'll try to do that today. Thanks so much for your help so far! Btw, this is somewhat unrelated, but maybe interesting for scikit-ci: I also want to auto-build the docs and upload to github-pages and that's a common task that I don't think is very automated yet. |
This will happen later tonight Few options:
|
Thanks. That doesn't have the sphinx build, though, right? That's an important part, and with |
The solution you posted pushes the whole website every time, no matter the amount of changes, right? Or is the cloning part just not part of that comment? I'm not that familiar with worktree. The scikit-learn website is 650mb. The wordcloud website is not as big, but if you want to put a solution into scikit-ci, I would favor a scalable one. Doing just |
(and "of course" building the docs requires a whole different conda environment, and system package like texlive installed...) |
The process to build the website would be the following:
I suggest we move forward with such an approach. To support this, would it be possible to add the user @scikit-build-bot as a collaborator to the project with write access. We would then create a personal token with that bot user and use that to publish the site. scalable approach to documentation site building and publishing
Make sense. To address this, we usually decouple the documentation building by having a "service" listening a webhook associated with the repo. Based on the payload, a circleci build on a different project is triggered and will take care of updating the different website and also posting an update on the original PR or commit. For reference, and for a different project, here are the building block allowing to have doxygen documentation automatically deployed when a master is updated, a release is created or a PR is pushed:
From the contributor, the following check is posted on the PR: And when master is updated, similar build is also triggered: |
wow that's pretty cool! |
can we get that on scikit-learn? The doc build there works but you need a browser plugin to view it directly. |
alright, tried to set the password and push a tag |
For the deployment step to work, the tag has to match the following regex: word_cloud/.circleci/config.yml Lines 168 to 170 in 88d6ab4
I suggest to delete the Later, will also add |
oh lol. |
Yeap. And adding me as a maintainer too. Look like there is a package now 😄 https://test.pypi.org/project/wordcloud/ On windows it failed because two tags were associated with the same commit and appveyor was confused. I just deleted the On travis, it looks the secure variable are incorrect ... |
ah, sorry, didn't realize I had to change those as well... |
I used mine and they should have work. Fixing things now |
you're the maintainer on test.pypi.org btw ;) |
Version bumped in aa54ef8 And has just been tag re-pushed. I expect the wheels to all be available on test.pypi.org .. if that looks good, I will remove reference to Later tonight I should also have the website updated. Then, we could do |
Sounds great. You're the best!
Sent from phone. Please excuse spelling and brevity.
…On Tue, Jul 24, 2018, 19:04 Jean-Christophe Fillion-Robin < ***@***.***> wrote:
Version bumped in aa54ef8
<aa54ef8>
And has just been tag re-pushed. I expect the wheels to all be available
on test.pypi.org .. if that looks good, I will remove reference to --repository-url
https://test.pypi.org and re-push the tag.
Later tonight I should also have the website updated.
Then, we could do 1.5 instead ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#405 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbcFr1Fjo8HqeZlmkBi0Yn8sZnVTez5ks5uJ6gDgaJpZM4VcGRf>
.
|
Travis wheel are now uploaded. Waiting for windows to show up. That said, it look like there is a "random" error showing up on linux python 3.5 ... will see if I can reproduce locally
|
@amueller upload on Appveyor failed because you haven't verified your PyPi account on the test server. Assuming you used the same password as the production server, this shouldn't prevent from moving forward with the release.
|
Yes they are the same and just verified the email.
Sent from phone. Please excuse spelling and brevity.
…On Tue, Jul 24, 2018, 19:44 Jean-Christophe Fillion-Robin < ***@***.***> wrote:
@amueller <https://github.com/amueller> upload on Appveyor failed because
you haven't verified your PyPi account on the test server. Assuming you
used the same password as the production server, this shouldn't prevent
from moving forward with the release.
HTTPError: 400 Client Error: User '*****' does not have a verified primary email address. Please add a verified primary email before attempting to upload to PyPI. See https://test.pypi.org/help/#verified-email for more
information.for more information. for url: https://test.pypi.org/legacy
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#405 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbcFq6RI8fN6qjRGuz8Mv0CSJWdwXA1ks5uJ7FXgaJpZM4VcGRf>
.
|
Closing. All sub-tasks have been completed. |
omg this is amazing! the website builds of master, not tags, right? |
yes When is the website deployed ?Each time a PR is done (or master updated), the website always build. This allows to know if something is broken during the generation process. It is then only deployed when the branch is merged to master (or master updated) word_cloud/.circleci/config.yml Lines 95 to 111 in 107a5db
That said we could easily decide to:
(also agreed .. this may be overkill for this particular project, this is just to show case what is possible ..) |
no this is great and exactly what I want :) |
Remaining tasks are copied from #403:
PYPI_USER
andPYPI_PASSWORD
for all three services:pip install -i https://test.pypi.org/simple wordcloud
--repository-url https://test.pypi.org/legacy/
fromappveyor.yml
,.circleci/config.yml
and.travis.yml
Once this is integrated, we could:
flake8
The text was updated successfully, but these errors were encountered: