Add release automation script#3832
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3832
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit e59b62d with merge base f6afe53 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
| post-release Disable the nightly workflow, update docker torch pin. | ||
| Modifies: .github/workflows/build-tutorials-nightly.yml | ||
| .ci/docker/requirements.txt | ||
| Docs repo (pytorch/docs) — each creates a PR against the 'site' branch: |
There was a problem hiding this comment.
Just a question (not a review) Would some of these options require running this script under a specific set up (OS, locally or something else)?
There was a problem hiding this comment.
yes, you would run all the commands from a local clone of the tutorials repo on your Linux server. At least for now, that's the route. Can think about automating further if we need to later.
|
Hi @svekars! Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention. You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
.release/release_docs.pywhich automates the mechanical steps of the PyTorch documentation release checklistpytorch-versions.json, stable symlink, noindex tags) by shallow-cloning, committing, and pushing branchesWhat it automates
requirements.txtand.jenkins/build.shpytorch-versions.jsoninpytorch/docspytorch/docsadd_noindex_tag.shfor the previous version inpytorch/docslintrunnerafter local changes (if available)What it does NOT automate
Test plan
python .release/release_docs.py --phase listto verify help output--phase enable-nightlywith--cudaand verify workflow YAML,build.sh, andpytorch-versions.jsonchanges--phase pre-releaseand verify 4 PRs are created (1 tutorials + 3 docs)--phase post-releaseand verify workflow is disabled and docker requirements updated