Commit Graph

93 Commits

Author SHA1 Message Date
Don Naro
337f2fe1e1 update devel workflows for stable-2.19 (#2523)
* update devel workflows for stable-2.19

* Update .github/workflows/pip-compile-dev.yml

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

* Update .github/workflows/pip-compile-dev.yml

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

* update pip compile dev workflow

* update tagger

---------

Co-authored-by: Maxwell G <maxwell@gtmx.me>
2025-04-17 09:32:34 +01:00
Don Naro
a23e6693aa add 12 to package docs build workflow (#2525) 2025-04-16 18:22:24 +01:00
Maxwell G
25368e7d54 ci pip-compile-dev: remove invalid sessions (#2517)
This pip-compile lockfile only exists on the devel branch. Oops.

Fixes: 040fcce431
2025-04-16 09:10:58 +01:00
Maxwell G
79878619b1 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:06:06 +01:00
Maxwell G
040fcce431 ci: add missing pip-compile lockfile to pip-compile-dev workflow
The lockfiles for the pip-compile session itself were never updated
because I forgot to add them to the update workflow.

The pr_labeler lockfile is still excluded, but that's intentional for
now. I'd like this to happen manually or as part of a separate automated
workflow for now, as there's no automated tests for that script as of
yet, so I don't want it to randomly break when we merge these general
pip-compile-dev PRs.
2025-04-08 12:56:17 -05:00
Maxwell G
4c56e9f103 ci pip-compile: always create PR when one doesn't exist (#2477)
Previously, this only would create a PR when the branch was newly
created earlier in the workflow (assuming that branches would be deleted
once the previous dependency update PR was merged), but it was possible
for the branch to already exist but not have a PR open against it.
This uses the Github API to properly check whether a PR already exists.
2025-03-26 22:37:19 -05:00
Felix Fontein
c7c3eea9dc Add yamllint check for RST code listings (#2385)
* Add yamllint check for RST code listings.

* Address review comments.

* Sort languages and remove no longer needed duplicates.

* Enable warnings, but disable all failing rules.

* Improve formulation.

Co-authored-by: Don Naro <dnaro@redhat.com>

* Show allowed languages when no or invalid language is supplied. Improve line lengths.

* Make sure that 'yamllint .' passes.

* Fix indentation issues introduced in #2095.

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
2025-03-21 19:41:40 +01:00
Don Naro
285cd39a3b restore default values for scheduled builds (#2430)
Follows up on 902f060579
2025-03-05 08:04:08 +00:00
Don Naro
902f060579 Restructure package docs workflow (#2348)
* fixes #2047 restructure package docs workflow

This change splits the package docs workflow into reusable parts for
flexibility so that we can run different builds on various schedules.

---------

Co-authored-by: Felix Fontein <5781356+felixfontein@users.noreply.github.com>
2025-03-03 10:04:26 +00:00
dependabot[bot]
9fae140b5f Bump wntrblm/nox from 2024.10.09 to 2025.02.09 (#2405)
Bumps [wntrblm/nox](https://github.com/wntrblm/nox) from 2024.10.09 to 2025.02.09.
- [Release notes](https://github.com/wntrblm/nox/releases)
- [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wntrblm/nox/compare/2024.10.09...2025.02.09)

---
updated-dependencies:
- dependency-name: wntrblm/nox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-12 18:37:35 +01:00
Don Naro
8d8047741c Remove the relaxed requirements (#2353)
* rm relaxed requirements

* rm base constraints file

* update requirements input file

* sync requirements lock file

* update noxfile to rm relaxed reqs

* update pip-compile workflow to rm relaxed reqs

* update docs

* fix noxfile issues

* tidy up pins and reqs

* Update tests/constraints.in

Co-authored-by: Felix Fontein <felix@fontein.de>

* add all version ranges to constraints

* Update tests/requirements.in

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update tests/constraints.in

Co-authored-by: Felix Fontein <felix@fontein.de>

* sync req lock file

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-01-17 09:40:41 +00:00
Maxwell G
0fa9e783ab ci pip-compile: specify the correct Python version for each branch (#2304)
CI jobs for stable-2.18 and stable-2.17 were failing before this; they
use a different Python version for lockfile generation that was not
incidentally installed like Python 3.11.
2024-12-16 15:35:35 -06:00
Don Naro
48e44386f3 Update noxfile and pip-compile sessions to fix failing workflows (#2260)
* update python version syntax in pip-compile session

* change pip-compile names in workflows
2024-12-11 11:57:59 +00:00
Don Naro
8a81cd5081 update pip compile dev workflow for 2.18 (#2130)
* update pip compile dev workflow for 2.18

* add maintainer docs about updating the workflow
2024-11-12 21:03:06 +00:00
dependabot[bot]
e80f481e51 Bump wntrblm/nox from 2024.04.15 to 2024.10.09 (#2006)
Bumps [wntrblm/nox](https://github.com/wntrblm/nox) from 2024.04.15 to 2024.10.09.
- [Release notes](https://github.com/wntrblm/nox/releases)
- [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wntrblm/nox/compare/2024.04.15...2024.10.09)

---
updated-dependencies:
- dependency-name: wntrblm/nox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 10:07:46 +01:00
Maxwell G
ac8886120b Pip compile check mode (#1950)
* nox pip-compile: support check mode

Support a custom --check flag to fail if pip-compile made any changes so
we can check that that lockfiles are in sync with the input (.in) files.

* ci: remove push trigger for pip-compile workflows

Now that we have the pip-compile-check job, this is redundant. PR checks
will fail if lockfiles are out-of-sync, so there's no need to run the
complete pip-compile workflow that performs a full update of the
dependencies. Complete updates are still performed on a weekly basis.
2024-10-15 19:07:44 +01:00
Maxwell G
b5e957a567 lint actionlint: enable shellcheck integration 2024-09-17 14:55:12 -05:00
Maxwell G
107a3c4383 nox: add actionlint to lint Github Actions workflows
This PR integrates [actionlint](https://github.com/rhysd/actionlint)
into our CI pipeline to check our Github Actions for best practices and
common errors.
2024-09-17 14:55:12 -05:00
Maxwell G
7138e42716 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.
2024-09-17 14:07:31 -05:00
Don Naro
1c004b00bf Nightly builds for package docs publishing workflow (#1869)
* Nightly builds for package docs publishing workflow (#1663)
2024-09-17 09:24:14 +01:00
Felix Fontein
08e87b5cdb Give tag workflow access to github-bot environment. (#1866) 2024-09-11 13:43:48 +02:00
Maxwell G
d06c4b1524 ci: add workflow to create core tags automatically (#1863)
Fixes: https://github.com/ansible/ansible-documentation/issues/66
2024-09-11 12:33:07 +01:00
Don Naro
d4e77888a4 add check-deploy job to publish workflow (#1814)
* add check-deploy job to publish workflow

---------

Co-authored-by: Maxwell G <9920591+gotmax23@users.noreply.github.com>
Co-authored-by: Maxwell G <maxwell@gtmx.me>
2024-09-05 17:16:01 +01:00
Lyle McKarns
6c48f78850 Issue1682_nightly_build_default_values (#1727)
* WIP

* setting in-line defaults for running on a schedule

* ci: refresh dev dependencies (#1634)

Remove latest symlink from publishing workflow (#1615)

* remove latest symlink

Read The Docs allows you to configure which version corresponds to
"latest" which means the symlink is no longer necessary.

* add 11 to version list

Co-authored-by: Sandra McCann <30267855+samccann@users.noreply.github.com>

ci: refresh docs build dependencies (#1635)

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>

fix Validate data against set criteria with Ansible doc (#1636)

fixed following example playbook

fix Ansible architecture docs (#1637)

I fixed example Inventory  ini format file contains '---' used in Yaml

Integrate the `alls-green` action into the main GHA CI workflow (#1639)

* Integrating all-greens into ci.yml

* removing non-existing references

When rebuilding this work after repo cleanup, I missed removing these. Thanks for catching that.

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

* Update .github/workflows/ci.yaml

---------

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Don Naro <dnaro@redhat.com>

Remove reference of scp_if_ssh option (#1346)

* Remove reference of scp_if_ssh option

* scp_if_ssh is removed in Ansible 2.17, remove the references

Fixes: #1341

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

* review changes

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

* details about the smart setting

---------

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Maxwell G <maxwell@gtmx.me>
Co-authored-by: Don Naro <dnaro@redhat.com>

Remove references to archived ansible/ansible-examples repository (#1653)

docs/docsite/rst/dev_guide/developing_program_flow_modules.rst: avoid using aliases (#1539)

* docs/docsite/rst/dev_guide/developing_program_flow_modules.rst: don't use aliases

* Update docs/docsite/rst/dev_guide/developing_program_flow_modules.rst

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update docs/docsite/rst/dev_guide/developing_program_flow_modules.rst

Co-authored-by: flowerysong <junk+github@flowerysong.com>

---------

Co-authored-by: Sandra McCann <samccann@redhat.com>
Co-authored-by: flowerysong <junk+github@flowerysong.com>

[WIP, needs vote before merging] collection_requirements.rst: update (#1422)

* collection_requirements.rst: update

* general updates

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>

* releasing policy MUST -> SHOULD

* Remove setting upper bound warning

* fix formatting

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Sandra McCann <samccann@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Remove the Requirements for collections to be included in the Ansible Package section

* Update galaxy section

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Remove extra line

* Update Documentation requirements section

* CoC feedback incorporate

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Felix Fontein <felix@fontein.de>

* Fix unnoticed conflict

* Reformulate changelog section

* Restructure Contributor Workflow section

* Fix typo

* Add sentence back

* Restructure section

* Handle Naming section

* Handle Licensing section

* Restructure Licensing section

* Fix typo

* Update repo management section

* Update branch name and protection section

* Undate CI testing section

* Update When moving modules between collections section

* Update Development conventions section

* Update Collection dependencies section

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Restructure backwards compatibility section

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Fix formatting|

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
Co-authored-by: Don Naro <dnaro@redhat.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

communication guide: overhaul (#1667)

communication guide: overhaul

* Forum as default
* Reorder so important information is at the top
* remove old information

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
Co-authored-by: John Barker <john@johnrbarker.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>

ci: refresh dev dependencies (#1657)

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>

ci: refresh docs build dependencies (#1658)

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>

Output workflow parameters for approval details (#1650)

* Output workflow parameters for approval details

---------

Co-authored-by: Don Naro <dnaro@redhat.com>

ci: refresh dev dependencies (#1675)

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>

ci: refresh docs build dependencies (#1676)

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>

Nightly builds for package docs publishing workflow (#1663)

Adding daily schedule to CI build (#1659)

* Adding daily schedule to CI build

* Change from 0 minute to 23, per discussion and referenced suggestion.

remove the schedule from the workflow dispatch job (#1683)

Relates to issue #1682. This change removes the schedule to stop the
workflow from failing due to null input values. We can either add this
back with some expressions to set defaults for scheduled runs or create
a simplified build workflow that runs on a schedule.

notify docs matrix channel on docs build failures (#1651)

* notify docs matrix channel on docs build failures

* add url with run id

Remove language option from workflow (#1681)

* Remove deprecated language input from the publishing workflow

collection_requirements: fix typo (#1684)

* collection_requirements: fix typo

* Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

---------

Co-authored-by: Don Naro <dnaro@redhat.com>

WIP

restore anchor in communication guide (#1692)

Add porting guide for Ansible 10.2.0. (#1697)

Add porting guide for Ansible 9.8.0. (#1698)

Move community_topics_workflow to docs.ansible.com (#1028)

* Move community_topics_workflow to docs.ansible.com

* Simplify

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Mario Lenz <m@riolenz.de>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Mario Lenz <m@riolenz.de>

* Improve

* Replacing Creating a topic section content

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Clarify

* Update docs/docsite/rst/community/steering/community_topics_workflow.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

---------

Co-authored-by: Mario Lenz <m@riolenz.de>
Co-authored-by: Don Naro <dnaro@redhat.com>

ci: refresh docs build dependencies (#1691)

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>

Issue #1633 nox session for tagging (#1649)

* WIP tagger session for nox

* First pass tagging nox session

* Formatting fixup

* Adding removal of tmpdir as per discussion

* tag session checks for, and uses, existing ansible checkout if it exists, removes tmpdir if it created one.

* isort fixup

* Working out suggested changes.

* Linting cleanup on changes

* Different approach to noted chagnes

* Reducing tagging session to a bare bones wrapper around the script, leaving all repo management alone

* Staging deletion per discussion

* Adding tag session to dependency update job

* after removing hacking/tagger/requirements.txt moved "gitpython" here for the typing test session requiremnts.

* Adding that here didd not accomplish what I'd expected. Removing it and revisiting how to do that.

* I think this is where the call needed added to get the tags dependencies automatically updated

* remove gitpython, add tag.txt, add blank line

* Comment cleanup per OraNod

* doc README: document nox tag session instead of manual mode

* Update tests/typing.in

Per suggestion from @webnjaz

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

---------

Co-authored-by: Maxwell G <maxwell@gtmx.me>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

ci: refresh dev dependencies (#1707)

* ci: refresh dev dependencies

* ci: refresh dev dependencies

---------

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>

Be more explicit about registering with a loop (#1709)

add vault password file example (#1696)

* add vault password file example

* remove duplicate word in vault password file example

Co-authored-by: Sandra McCann <samccann@redhat.com>

---------

Co-authored-by: Sandra McCann <samccann@redhat.com>

ci: refresh dev dependencies (#1722)

Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>

setting in-line defaults for running on a schedule

* Implementing comments

---------

Co-authored-by: ansible-documentation-bot[bot] <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
2024-08-26 14:30:34 +01:00
Maxwell G
e38e2c5cd4 dev pip-compile: switch devel branch pip-compile to 3.11 (#1616)
* dev pip-compile: switch devel branch pip-compile to 3.11

This adjusts the devel branch to use Python 3.11 to generate
dependencies with pip-compile. This also adjusts the pip-compile-dev
workflow to run separate jobs for the stable branches, which will still
use Python 3.10 for requirements files.

Fixes: https://github.com/ansible/ansible-documentation/issues/1614
Fixes: https://github.com/ansible/ansible-documentation/issues/1450

* ci pip-compile-docs.yml: wrap line with `>-`

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

---------

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2024-08-20 17:45:51 -05:00
Lyle McKarns
be4c7259aa Issue #1633 nox session for tagging (#1649)
* WIP tagger session for nox

* First pass tagging nox session

* Formatting fixup

* Adding removal of tmpdir as per discussion

* tag session checks for, and uses, existing ansible checkout if it exists, removes tmpdir if it created one.

* isort fixup

* Working out suggested changes.

* Linting cleanup on changes

* Different approach to noted chagnes

* Reducing tagging session to a bare bones wrapper around the script, leaving all repo management alone

* Staging deletion per discussion

* Adding tag session to dependency update job

* after removing hacking/tagger/requirements.txt moved "gitpython" here for the typing test session requiremnts.

* Adding that here didd not accomplish what I'd expected. Removing it and revisiting how to do that.

* I think this is where the call needed added to get the tags dependencies automatically updated

* remove gitpython, add tag.txt, add blank line

* Comment cleanup per OraNod

* doc README: document nox tag session instead of manual mode

* Update tests/typing.in

Per suggestion from @webnjaz

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

---------

Co-authored-by: Maxwell G <maxwell@gtmx.me>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2024-07-23 15:15:34 -05:00
Sandra McCann
0b1fa3f8eb Remove language option from workflow (#1681)
* Remove deprecated language input from the publishing workflow
2024-07-11 10:07:56 +01:00
Don Naro
db0560c93c notify docs matrix channel on docs build failures (#1651)
* notify docs matrix channel on docs build failures

* add url with run id
2024-07-11 10:06:29 +01:00
Don Naro
b7f528e063 remove the schedule from the workflow dispatch job (#1683)
Relates to issue #1682. This change removes the schedule to stop the
workflow from failing due to null input values. We can either add this
back with some expressions to set defaults for scheduled runs or create
a simplified build workflow that runs on a schedule.
2024-07-10 17:06:04 +01:00
Lyle McKarns
7085c949b8 Adding daily schedule to CI build (#1659)
* Adding daily schedule to CI build

* Change from 0 minute to 23, per discussion and referenced suggestion.
2024-07-09 14:07:44 +01:00
Don Naro
ed3c4fe850 Nightly builds for package docs publishing workflow (#1663) 2024-07-08 10:13:27 +01:00
Sandra McCann
09b49cadf8 Output workflow parameters for approval details (#1650)
* Output workflow parameters for approval details

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
2024-07-04 10:13:09 +01:00
Lyle McKarns
a732a1ee7c Integrate the alls-green action into the main GHA CI workflow (#1639)
* Integrating all-greens into ci.yml

* removing non-existing references

When rebuilding this work after repo cleanup, I missed removing these. Thanks for catching that.

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

* Update .github/workflows/ci.yaml

---------

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Don Naro <dnaro@redhat.com>
2024-06-25 11:45:14 +01:00
Don Naro
fa772df74f Remove latest symlink from publishing workflow (#1615)
* remove latest symlink

Read The Docs allows you to configure which version corresponds to
"latest" which means the symlink is no longer necessary.

* add 11 to version list

Co-authored-by: Sandra McCann <30267855+samccann@users.noreply.github.com>
2024-06-25 09:43:10 +01:00
Don Naro
c3cd7bd7e0 rm translation from rtd url
The Read The Docs project for the package docs builds use the "Multiple versions without translations" versioning scheme. The resulting url has the `<version>/<filename>` format.
2024-06-18 11:22:32 +01:00
Don Naro
4c4afe3663 use the package version as the branch name (#1600)
This change configures the publishing workflow to use the package
version as the branch name in the destination repository. For example
the branch name should be "10" for the Ansible 10 package. This ensures
that the resulting url for the published docs uses the version and not
the branch name.
2024-06-18 11:11:45 +01:00
Don Naro
e7ebe3d238 add steps to deploy doc build assets (#1353)
* add steps to deploy doc build assets to prod

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

* Update .github/workflows/build-package-docs.yaml

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

* use GH actions bot

* environment name and url

* add input for deploy job and target

* add git diff-index quiet head

* use deploy key and git push

* add steps to deploy to gh-pages as a test site

* update branch name input for prod

* make envs more consistent

* use same branch name for destination

* rm extra empty line

* Update .github/workflows/build-package-docs.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

* github env consistency

* simplify tar extract step to use one-top-level

* Update .github/workflows/build-package-docs.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

* set environment url

---------

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-06-13 14:05:36 -04:00
Don Naro
0b29daad32 Merge pull request #1348 from oraNod/fix-symlink-input
update symlink step syntax in docs build workflow
2024-04-29 12:38:06 +01:00
Don Naro
4f825d6337 Update .github/workflows/build-package-docs.yaml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2024-04-29 09:45:13 +01:00
Don Naro
22bc86912e improve workflow syntax 2024-04-26 10:29:31 +01:00
Don Naro
36a52b86c7 update symlink step syntax in docs build workflow
this change fixes an issue with the docs build workflow so that the
input to create a symlink is applied correctly, otherwise the symlink is
always created
2024-04-25 17:34:23 +01:00
Don Naro
1af3ca3d55 Merge pull request #1309 from oraNod/fix-upload-name
Fixes name of the upload artifact
2024-04-25 11:07:05 +01:00
Don Naro
f2c6008336 ci pip-compile-dev: add backport-2.17 label to PRs (#1310) 2024-04-22 17:59:57 -05:00
Don Naro
2700fd0730 fixes name of the upload artifact 2024-04-22 10:11:47 +01:00
dependabot[bot]
584ee0ee70 Bump wntrblm/nox from 2024.03.02 to 2024.04.15
Bumps [wntrblm/nox](https://github.com/wntrblm/nox) from 2024.03.02 to 2024.04.15.
- [Release notes](https://github.com/wntrblm/nox/releases)
- [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wntrblm/nox/compare/2024.03.02...2024.04.15)

---
updated-dependencies:
- dependency-name: wntrblm/nox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 06:47:22 +00:00
Don Naro
60332eb223 tar cmd update 2024-04-08 19:17:35 +01:00
Don Naro
2889770550 Update .github/workflows/build-package-docs.yaml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2024-04-08 16:18:45 +01:00
Don Naro
67062fc502 Update .github/workflows/build-package-docs.yaml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2024-04-08 16:18:45 +01:00
Don Naro
68e308ce2a Update .github/workflows/build-package-docs.yaml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2024-04-08 16:18:45 +01:00
Don Naro
9d2d095221 Update .github/workflows/build-package-docs.yaml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2024-04-08 16:18:45 +01:00