-
Notifications
You must be signed in to change notification settings - Fork 507
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
[stable-2.15] Backport workflow automation #342
Merged
oraNod
merged 14 commits into
ansible:stable-2.15
from
gotmax23:stable-2.15-workflow-auto
Sep 5, 2023
Merged
[stable-2.15] Backport workflow automation #342
oraNod
merged 14 commits into
ansible:stable-2.15
from
gotmax23:stable-2.15-workflow-auto
Sep 5, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This moves around the requirements a little bit so newer antsibull-docs and sphinx versions can be tested independently of production ansible documentation builds. rstcheck and resolvelib constraints were moved out of constraints.in. This file will only be used for strict pins that we want to manually update separately from the rest of the dependencies. (cherry picked from commit c139877) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Don Naro <dnaro@redhat.com>
(cherry picked from commit 9e3af41)
(cherry picked from commit 886dfe3) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Currently, this only lints the noxfile itself and the issue labeler script. We can expand the noxfile to build docs and lint other new files in hacking. (cherry picked from commit 40285f8) Relates: ansible#54
This is copied from antsibull. (cherry picked from commit 059db40)
(cherry picked from commit 2f5f79e)
(cherry picked from commit ae24c09) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
This allows running the tests on an adhoc basis. (cherry picked from commit 70775c5)
(cherry picked from commit c074d63) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
7.2.0 breaks sphinx-notfound-page. This commit sets a general constraint that applies to the testing requirements (requirements-relaxed). (cherry picked from commit c07047f) Relates: ansible#327
This is based on ansible#316 but only changes requirements-relaxed.txt. (cherry picked from commit e1e8657)
(cherry picked from commit 4ec04d6) Co-authored-by: Github Actions <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 036d898) Co-authored-by: Github Actions <41898282+github-actions[bot]@users.noreply.github.com>
gotmax23
added
doc builds
Relates to building the documentation
no_backport
This PR should not be backported. devel only.
labels
Aug 27, 2023
github-actions
bot
added
the
needs_triage
Needs a first human triage before being processed.
label
Aug 27, 2023
This should be ready for review. |
`nox -e lint` runs the `static` and `formatters` sessions, but it does not run `nox -e typing` do to an oversight in the initial PR.
oraNod
removed
the
needs_triage
Needs a first human triage before being processed.
label
Sep 5, 2023
oraNod
approved these changes
Sep 5, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you @gotmax23
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
doc builds
Relates to building the documentation
no_backport
This PR should not be backported. devel only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR backports the workflow automation from the devel branch. It includes:
pip-compile
Included PRs
This backport includes commits from the following PRs:
Initial workflow automation: nox and automated pip-compile #258
See the PR's description for more information.
The commits that add the pip-compile workflow are omitted. The workflow is not needed on
stable-*
branches. It can be triggered manually by going to https://github.com/ansible/ansible-documentation/actions/workflows/pip-compile-docs.yml, clickingRun workflow
, and settingbase-branch
tostable-2.15
.Create requirements-relaxed file #271
The entirety of this PR is backported. See the PR's description for more information.
Limit sphinx to < 7.2.0 in requirements-relaxed #329
The entirety of this PR is backported. See the PR's description for more information.
ci: refresh docs build dependencies #316
This is an automated github-actions dependency refresh PR. Only the changed to the requirements-relaxed lockfile are included. The requirements-relaxed dependencies are not used in production.