Commit Graph

53523 Commits

Author SHA1 Message Date
patchback[bot]
2b4a086b4a Fix supported Python list for 2.15. (#2968) (#2971)
(cherry picked from commit 9c0f0dba01)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-08-07 14:24:41 -04:00
patchback[bot]
0d9999450e Only run pr_labeler on devel or stable-* branches (#2552) (#2603)
(cherry picked from commit a2067ce183)

Co-authored-by: Lyle McKarns <x1101@users.noreply.github.com>
2025-05-14 15:59:48 -04:00
Maxwell G
da89ac4dca Merge pull request #2507 from oraNod/backport-stable-2.14
[stable-2.14] ci: use official create-github-app-token action (#2499)
2025-04-09 17:48:45 -05:00
Maxwell G
1724504337 ci: use official create-github-app-token action (#2499)
We should use the official action for retrieving the token to use for
the issue/PR triage and dependency update workflows instead of the one
we were using before.
2025-04-09 13:18:43 +01:00
Don Naro
3004a4c875 [stable 2.14] remove the relaxed reqs (#2365)
* rm relaxed reqs and base constraints

* move pins and requirements out of relaxed

* sync requirements lock file

* update noxfile to rm relaxed reqs

* update docs

* remove tagger session
2025-01-20 17:43:22 +00:00
Don Naro
03bd9fa54a fixes #2177 for stable-2.14 (#2265) 2024-12-10 10:34:31 -05:00
Don Naro
635dc37915 LICENSE in CODEOWNERS (#2209)
This change adds the COPYING file to CODEOWNERS and
specifies the community docs maintainers team as owners.
The purpose of this change is to prevent any unintentional or
unauthorized modifications to this file. Resolves #2178
2024-11-20 15:02:35 -05:00
patchback[bot]
fd435c3803 remove swiftype search engine (#2140) (#2150)
(cherry picked from commit e427a22bb4)

Co-authored-by: Sandra McCann <samccann@redhat.com>
2024-11-18 10:46:26 -05:00
ansible-documentation-bot[bot]
602f188740 ci: refresh dev dependencies (#2123)
Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-11-12 13:49:14 +00:00
ansible-documentation-bot[bot]
3caffead06 ci: refresh dev dependencies (#2081) 2024-11-05 20:31:43 -06:00
patchback[bot]
e90a8dedee nox pip-compile: temporarily pin pip version (#2085) (#2111)
Relates: https://github.com/ansible/ansible-documentation/pull/1950#issuecomment-2443949725
Relates: https://github.com/jazzband/pip-tools/issues/2131
(cherry picked from commit ef750f6dcf)

Co-authored-by: Maxwell G <maxwell@gtmx.me>
2024-11-05 18:33:03 -06:00
patchback[bot]
7d38de3b27 Add details of interactions between notifications and loops (#597) (#2064)
* Add details of interactions between notifications and loops

This clarifies behaviour raised in https://github.com/ansible/ansible/issues/81950 and https://github.com/ansible/ansible/issues/77550 as expected and documented.

* Apply suggestions from code review

Co-authored-by: Maxwell G <maxwell@gtmx.me>

* Incorporate suggestions from @felixfontein

Make the loop trigger even more explicit.

---------

Co-authored-by: Sandra McCann <samccann@redhat.com>
Co-authored-by: Maxwell G <maxwell@gtmx.me>
(cherry picked from commit 74b2c95dd4)

Co-authored-by: David Tulloh <github-david@tulloh.id.au>
2024-10-25 11:12:26 +01:00
Maxwell G
91ebd253b4 [stable-2.14] Backport pr_labeler changes (#1918)
* pr_labeler: improve create_boilerplate_comment logging

(cherry picked from commit 5730ba9a01)

* pr_labeler: add --force-process-closed flag

(cherry picked from commit 44ffe0f210)

* pr_labeler: add warning for porting_guides changes

This adds a warning message when PRs are created that edit
porting_guides by someone outside of the Release Management WG. These
files are automatically generated during the ansible release process and
should not be modified.

Fixes: https://github.com/ansible/ansible-documentation/issues/503
(cherry picked from commit d2e6625e8b)

* pr_labeler: use @release-management-wg team for porting_guide check

Instead of hardcoding the list of release managers, we can use the
Github API to retrieve the members of the
`@ansible/release-management-wg` team.

(cherry picked from commit dddfd7eb55)

* pr_labeler: exempt bots from porting_guide check

For example, patchback is not a release manager, but we still want it to
backport Porting Guide PRs.

(cherry picked from commit 746662c255)

* pr_labeler: improve porting_guide_changes template wording

Co-authored-by: Sandra McCann <samccann@redhat.com>
(cherry picked from commit 95ece7e9d6)

* pr_labeler: refactor new_contributor_welcome code (#990)

* pr_labeler: add GlobalArgs.full_repo property

* pr_labeler: refactor new_contributor_welcome code

As of https://github.com/ansible/ansible-documentation/issues/69, the
pr_labeler responds with a welcome message when an issue or PR is opened
by a new contributor. It turns out this never actually worked properly.

The previous method that relied on Github's `author_association` flag
did not work with the app token that the pr_labeler uses. This refactors
the code to figure out whether a user is a new contributor by
searching the list of issues and PRs.

Fixes: https://github.com/ansible/ansible-documentation/issues/204

* pr_labeler: address potential race condition

(cherry picked from commit 763815d1ad)

* Bump actions/setup-python from 4 to 5 (#966)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

(cherry picked from commit 466b1fdc43)

* pr_labeler: re-architect triager script (#1882)

This commit reorganizes the issue/PR triager script and updates the
workflow to run more efficiently.

- Make the script a proper Python package instead of an unwieldy single
  file
- Use locked dependencies and UV to decrease workflow runtime to under
  10 seconds.

(cherry picked from commit 7138e42716)
(cherry picked from commit 1cf9f7917b)

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-20 10:49:10 +01:00
Maxwell G
566dadc5ab ci: avoid interpolating inputs into run: scripts (#740) (#1914)
Github Actions makes it easy to inject arbitrary shell code into Github
Actions scripts thanks to the way its templating language works.
This change mediates that issue by passing action inputs to the `run:`
scripts as env vars instead of using `${{ }}` expansions directly in the
script bodies.

The pr_labeler job is the only one that both runs on pull requests and
has access to secrets, but we don't interpolate anything other than
`github.event.number`, so that wouldn't allow any malicious person to
steal credentials.
reusable-pip-compile has access to secrets and accepts user input, but
only from trusted sources (i.e., developers who already have write
access to this repository) and can manually trigger workflows.
Still, it's a good to tighten this up.

(cherry picked from commit 5ebf9f1686)
(cherry picked from commit 7d810c6c33)
2024-09-18 11:48:21 +01:00
ansible-documentation-bot[bot]
729b5c09b7 ci: refresh dev dependencies (#1886) 2024-09-14 23:18:05 -05:00
ansible-documentation-bot[bot]
dbf4372837 ci: refresh dev dependencies (#1843)
Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-09-10 09:25:46 +01:00
ansible-documentation-bot[bot]
da5d2e3475 ci: refresh dev dependencies (#1833) 2024-09-08 14:12:09 -05:00
ansible-documentation-bot[bot]
4bdbe05480 ci: refresh dev dependencies (#1823)
Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-09-02 16:38:40 +01:00
patchback[bot]
89961634ba nox: support nox uv backend (#1757) (#1808)
Nox now has a separate venv backend that uses the Rust-based pip
replacement, uv. Let's add support for this to our install function so
that the constraints are respected when using the uv backend.

(cherry picked from commit a74da7db41)

Co-authored-by: Maxwell G <maxwell@gtmx.me>
2024-08-26 17:28:03 +01:00
ansible-documentation-bot[bot]
8ead12f6bc [stable-2.14] ci: refresh dev dependencies (#1793)
* ci: refresh dev dependencies

* ci: refresh dev dependencies

---------

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-08-26 11:22:10 +01:00
Maxwell G
80f9fdd281 tests: update dependencies for compatibility with new Pythons (#1791)
Closes: https://github.com/ansible/ansible-documentation/issues/1784
2024-08-26 11:09:16 +01:00
Don Naro
8522010496 ci: ensure ansible-core files exist before running docs build (#1756) (#1783)
Also, make KEEP_DIRS and KEEP_FILES constants to make the main function
cleaner.

Fixes: https://github.com/ansible/ansible-documentation/issues/1056
(cherry picked from commit 0d35022030)

Co-authored-by: Maxwell G <maxwell@gtmx.me>
2024-08-22 09:07:41 +01:00
ansible-documentation-bot[bot]
38df81222e ci: refresh dev dependencies (#1766) 2024-08-20 19:45:39 -05:00
ansible-documentation-bot[bot]
f8acac31dd ci: refresh dev dependencies (#1752)
Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-08-19 15:33:12 +01:00
patchback[bot]
646e01c1bd ci: refresh dev dependencies (#1730) (#1733)
Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
(cherry picked from commit a8036fa565)

Co-authored-by: ansible-documentation-bot[bot] <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-08-06 10:52:04 +01:00
patchback[bot]
4e7c938c4e ci: refresh dev dependencies (#1722) (#1724)
Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
(cherry picked from commit dc4f370b00)

Co-authored-by: ansible-documentation-bot[bot] <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-07-29 09:44:19 +01:00
Don Naro
4e97f82a03 ci: refresh dev dependencies (#1707) (#1714)
* ci: refresh dev dependencies

* ci: refresh dev dependencies

---------

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
(cherry picked from commit 141ca118dc)

Co-authored-by: ansible-documentation-bot[bot] <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-07-25 17:21:50 -04:00
patchback[bot]
df14d685be ci: refresh dev dependencies (#1675) (#1678)
Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
(cherry picked from commit 47e25cdb73)

Co-authored-by: ansible-documentation-bot[bot] <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-07-08 10:01:23 +01:00
Don Naro
49c1002a9a ci: refresh dev dependencies (#1674)
Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-07-04 10:35:36 +01:00
Don Naro
a716bf0011 Merge pull request #1604 from oraNod/cherry-pick-nox-bump-214
[backport stable-2.14] ci: refresh dev dependencies
2024-06-17 10:16:10 +01:00
Ansible Documentation Bot
53049c1e86 ci: refresh dev dependencies 2024-06-17 10:06:40 +01:00
Ansible Documentation Bot
956369b631 ci: refresh dev dependencies 2024-06-17 10:06:12 +01:00
Don Naro
6df249bdc1 Merge pull request #1548 from ansible/patchback/backports/stable-2.14/664a7a853ace76f62cc99fd0d367ef4289467c01/pr-1527
[PR #1527/664a7a85 backport][stable-2.14] ci: refresh dev dependencies
2024-06-04 10:46:50 +01:00
Don Naro
d521427c21 Merge pull request #1527 from ansible/pip-compile/devel/dev
ci: refresh dev dependencies
(cherry picked from commit 664a7a853a)
2024-06-04 09:44:06 +00:00
Don Naro
5862af7ea4 Merge pull request #1532 from ansible/patchback/backports/stable-2.14/8abd1c22ba37d9e33557813ba5c100da1aae9cad/pr-1530
[PR #1530/8abd1c22 backport][stable-2.14] fix minor typo in Makefile
2024-05-28 09:34:52 +01:00
Don Naro
adf4d3e8a2 Merge pull request #1530 from oraNod/fix-spelling
fix minor typo in Makefile

(cherry picked from commit 8abd1c22ba)
2024-05-28 08:30:47 +00:00
Don Naro
9ffe1d2bea Merge pull request #1501 from oraNod/cherry-pick-nox-bump-214
[backport stable-2.14] ci: refresh dev dependencies
2024-05-23 08:05:51 +01:00
patchback[bot]
8ecb6046d1 mark 2.14 EOL in the release table (#1502) (#1519)
(cherry picked from commit 19ce4c9e58)

Co-authored-by: Sandra McCann <samccann@redhat.com>
2024-05-22 15:14:39 -04:00
Sandra McCann
ab065dcce8 EOL 2.14 docs (#1503) 2024-05-22 14:42:21 -04:00
Don Naro
a9b35f1f2c Merge pull request #1512 from ansible/patchback/backports/stable-2.14/c216a1a9e874dbf0698ef8634089be6040379dec/pr-1321
[PR #1321/c216a1a9 backport][stable-2.14] Muni tech writers: Ansible include_task search documentation incorrect #357
2024-05-22 14:52:16 +01:00
Don Naro
444e81a857 Merge pull request #1321 from vojtam/feature/#357
Muni tech writers: Ansible include_task search documentation incorrect #357

(cherry picked from commit c216a1a9e8)
2024-05-22 13:50:08 +00:00
Ansible Documentation Bot
4281479dac ci: refresh dev dependencies 2024-05-21 11:09:00 +01:00
Don Naro
512a785e21 Merge pull request #1474 from ansible/patchback/backports/stable-2.14/b42de8c0179c14a3d4601d36c903a27f0387fc36/pr-1416
[PR #1416/b42de8c0 backport][stable-2.14] MUNI Tech Writers: Timeout with retry in loops documentation
v2.14.17
2024-05-17 16:03:17 +01:00
Don Naro
71c481eb0d Merge pull request #1416 from sourn00dl/feature#881
MUNI Tech Writers: Timeout with retry in loops documentation

(cherry picked from commit b42de8c017)
2024-05-17 15:00:33 +00:00
Don Naro
407db10f58 Merge pull request #1455 from ansible/patchback/backports/stable-2.14/78aaeb4ffb37147bcb58b152cea34ccdd5dd3c2e/pr-1408
[PR #1408/78aaeb4f backport][stable-2.14] ci: refresh dev dependencies
2024-05-14 17:08:36 +01:00
Don Naro
bf055b9d25 Merge pull request #1408 from ansible/pip-compile/devel/dev
ci: refresh dev dependencies
(cherry picked from commit 78aaeb4ffb)
2024-05-14 15:59:05 +00:00
Don Naro
793487966b Merge pull request #1377 from oraNod/cherry-pick-nox-bump-214
[Stable-2.14] ci: refresh dev dependencies
2024-05-14 12:21:37 +01:00
patchback[bot]
24571d081d clarify backup_file (#1391) (#1440)
* add conditional

Also backup_file would not be present if updated is not changed

* clarify docs too

* better desc

(cherry picked from commit ba398559c0)

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
v2.14.17rc1
2024-05-09 17:18:43 -04:00
patchback[bot]
8025c52e78 Restore the umask note for building docs (#1400) (#1436)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 757b8943fc)

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-05-09 17:17:57 -04:00
patchback[bot]
d8b886763a Update playbooks_reuse_roles.rst (#1415) (#1428)
Updated the link for the Ansible Galaxy documentation to reflect the galaxy-ng documentation.

Decided to remove the line completely ('A page that refers back to this one frequently is the...' ) which referred to a documentation page that no longer exists, as it seemed superfluous and slightly confusing.

(cherry picked from commit 6e2bf9688c)

Co-authored-by: Chyna Sanders <chynaesan@gmail.com>
2024-05-09 16:03:35 -04:00