Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update CircleCI and add direct artifact link #16672

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

Merged
merged 2 commits into from
Mar 6, 2020

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Mar 5, 2020

CircleCI is turning on Pipelines next week. @tacaswell flipped the switch, but they also say to update the version in the config file (to be able use new stuff), which is done here. In Cartopy, I tried to convert to their new reusable config format, but it didn't really have much benefit, so I didn't bother here.

Additionally, I dropped the printing of the link to the documentation in the build, because it stopped working. When you're already on the build page, it's easier to go through the artifacts tab at the top. For a quick link directly from the PR, I've added a GitHub Action that posts a status with the correct link (the Action knows the right way to get the link.) Note, it does note post here yet because the Action is not in this repo, but you can see it if you look at the commit in my repo (Cartopy):

image

The App (an older version of the Action) is used in, e.g., scikit-learn/scikit-learn#14731 and scipy/scipy#10707.

QuLogic added 2 commits March 5, 2020 02:59
CircleCI changed their artifact layout, so our printed link in the build
log no longer works. Instead of figuring out how to fix it, switch to a
GitHub Action that is able to post the link as a PR status. This is
easier to find, and probably easier for them to keep up-to-date.
@tacaswell tacaswell added this to the 3.2-doc milestone Mar 6, 2020
@timhoffm timhoffm merged commit 4595bbd into matplotlib:master Mar 6, 2020
@lumberbot-app
Copy link

lumberbot-app bot commented Mar 6, 2020

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
$ git checkout v3.2.0-doc
$ git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
$ git cherry-pick -m1 4595bbd4def83093699ecc67ca8ede32a91db383
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
$ git commit -am 'Backport PR #16672: Update CircleCI and add direct artifact link '
  1. Push to a named branch :
git push YOURFORK v3.2.0-doc:auto-backport-of-pr-16672-on-v3.2.0-doc
  1. Create a PR against branch v3.2.0-doc, I would have named this PR:

"Backport PR #16672 on branch v3.2.0-doc"

And apply the correct labels and milestones.

Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon!

If these instruction are inaccurate, feel free to suggest an improvement.

@QuLogic QuLogic deleted the circleci-update branch March 7, 2020 04:55
@QuLogic
Copy link
Member Author

QuLogic commented Mar 7, 2020

@tacaswell this milestone should backport to v3.2.x as well, right?

@tacaswell
Copy link
Member

We can also manage that my merging v3.2.0-doc into v3.2.x. We have done it both ways in the past, not sure which way is better.

QuLogic pushed a commit to QuLogic/matplotlib that referenced this pull request Mar 13, 2020
tacaswell added a commit that referenced this pull request Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants