Commit Graph

44 Commits

Author SHA1 Message Date
Felix Fontein
7129cc5a30
Simplifiy workflows. (#762) 2024-01-17 23:13:35 +01:00
Felix Fontein
5adac5216a
Add Galaxy import workflow (#754)
* Add Galaxy import workflow.

* A dependency of galaxy-importer does not work on Python 3.12.

* Make yamllint happy.
2024-01-13 19:25:22 +01:00
Felix Fontein
f429017d94
Add inventory filter capability (#698)
* Add inventory filter capability.

* Use community.library_inventory_filtering_v1 collection.

* Bump dependency to 1.0.0.

* Mention the new dependency in the changelog.
2024-01-13 15:51:02 +01:00
dependabot[bot]
74636e7f0e
Bump actions/setup-python from 4 to 5 (#724)
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
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 06:56:50 +01:00
Felix Fontein
48f48a0ef8 Install community.library_inventory_filtering_v1 for PR docs builds.
This is required to make CI in #698 pass.
2023-12-10 09:53:59 +01:00
Felix Fontein
4929ef603a
Integration tests: split up Docker setup, move docker_compose tests into own group (#718)
* Rename setup role.

* Create new CI group 6, and move docker_compose v1 tests into there.

* Split up Docker setup in integration tests.

* Change setup_docker_compose_v1 to install its own Docker SDK for Python.

* Docker SDK for Python not needed to set up registry or query host info.
2023-12-09 17:35:54 +01:00
Felix Fontein
2c633dadeb
CI: ansible-core devel drops support for Python 2.7 and 3.6 (#691)
* ansible-core devel drops support for Python 2.7 and 3.6.

* Force PyYAML 5.3.1 on Alpine.
2023-10-04 23:22:08 +02:00
Felix Fontein
d9f49fc073
Add ansible-core 2.16 to the matrix. (#686) 2023-09-19 17:51:26 +02:00
dependabot[bot]
128117bb1c
Bump actions/checkout from 3 to 4 (#685)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 18:57:44 +02:00
Felix Fontein
1d0b6ddef3
Install and use Python 3.11 on RHEL UBI 9. (#666) 2023-07-12 19:24:48 +02:00
Felix Fontein
3f6d5a96d9
Disable EE with ansible-core devel for now until UBI 9 has Python 3.10 support. (#664) 2023-07-12 08:13:05 +02:00
Felix Fontein
cad2ecca3d
Move ansible-core 2.12 to EOL CI (#640)
* https://github.com/ansible/ansible/pull/79734 has been merged and backported for all branches but stable-2.10 and stable-2.11.

* Move ansible-core 2.12 to EOL CI.
2023-05-29 17:01:07 +02:00
Felix Fontein
2259246f4f
Rewrite EE test workflow to use ansible-builder 3.0.0. (#630) 2023-05-20 11:21:25 +02:00
Felix Fontein
39f2e9b9c4
Make compatible with requests 2.29.0 and urllib3 2.0 (#613)
* Make compatible with requests 2.29.0.

* This fix should also work with urllib3 2.0 according to urllib3 maintainer.

* Add changelog fragment.

* We still need the constraint for CI until Docker SDK for Python has a new release with a fix.

* Make modifications to response_class as small as possible.

* Revert "We still need the constraint for CI until Docker SDK for Python has a new release with a fix."

This reverts commit 698d544a1e08308e8bf8b4e56ab78c5079f9a17b.

* The pip coming with the ansible-core 2.11 alpine3 image seems to be too old.
2023-05-05 22:09:02 +02:00
Felix Fontein
d0e61097f1 Cancel concurrent workflow runs in PRs. 2023-02-23 09:56:26 +01:00
Felix Fontein
0e1152a630 Use branch from https://github.com/ansible-community/github-docs-build/pull/67. 2023-02-03 15:37:02 +01:00
Felix Fontein
01429108d3 Use stable-2.x branches from my work to get the patch from https://github.com/ansible/ansible/pull/79734. 2023-01-13 20:30:02 +01:00
Felix Fontein
839ad6086e Improve docsite build. 2022-12-18 21:50:41 +01:00
Felix Fontein
f3e77c193d Switch to my fork of ansible-test-gh-action. 2022-12-18 09:54:09 +01:00
Felix Fontein
5cb24d2e69 The ansible-test patch has been backported to stable-2.12. 2022-12-17 19:39:36 +01:00
Felix Fontein
b318c02148 Allow triggering docs workflow manually. 2022-12-07 19:54:23 +01:00
Felix Fontein
f823555ae3
Backports to stable-2.13 and stable-2.14 have been merged. (#525)
https://github.com/ansible/ansible/pull/79538
https://github.com/ansible/ansible/pull/79507
2022-12-07 08:58:58 +01:00
Felix Fontein
11351839ee
Fix CI image selection. (#521) 2022-12-03 15:31:00 +01:00
Felix Fontein
019712b09f
Only use ubuntu-20.04 if necessary. (#520) 2022-12-02 07:59:10 +01:00
Felix Fontein
549de87ab5
Switch CI from ubuntu-latest to ubuntu-20.04 to avoid problems with ansible-test from ansible-core 2.12, 2.13, 2.14. (#519) 2022-12-01 23:02:19 +01:00
Felix Fontein
70d68dd2bd
ansible-core 2.11 is EOL. Move CI runs to GHA. (#504) 2022-11-27 22:37:54 +01:00
Felix Fontein
d043fc6cbc Include collection name into docs workflows. 2022-11-27 17:44:21 +01:00
Felix Fontein
20492e940f Add GH Pages publishing. 2022-11-26 09:39:13 +01:00
Felix Fontein
af854ed63b Use dependabot to update GHAs. 2022-10-17 22:57:32 +02:00
Felix Fontein
a380607717 Bump one more. 2022-10-17 22:43:07 +02:00
Felix Fontein
25d44fe061
Bump checkout version. (#486) 2022-10-17 22:37:13 +02:00
Felix Fontein
1e93feed2b Fail on docs build errors. 2022-09-22 06:40:57 +02:00
Felix Fontein
8254e72da0 Fix workflow's permissions. 2022-08-21 11:35:25 +02:00
Felix Fontein
68ea9c5f41
Make reuse conformant (#462)
* Add .license files.

* Add reuse test.

* Update README.

* Add changelog fragment.

* Normalize licenses extra sanity test.

* Declare REUSE conformance.

* Update README.
2022-08-21 08:29:15 +02:00
Felix Fontein
a4539a309e
Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430)
* Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml.

* ignore.txt lines cannot be empty or contain only a comment.

* Cleanup.

* This particular __init__.py seems to be crucial.

* Try extra newline.

* Markdown comments are a real mess. I hope this won't break Galaxy...

* More licenses.

* Add sanity test.

* Skip some files, lint.

* Make sure there is a copyright line everywhere.

* Also check for copyright line in sanity tests.

* Remove colon after 'Copyright'.

* Normalize lint script.

* Avoid colon after 'Copyright' in lint script.

* Improve license checker.

* Update README.md

Co-authored-by: Maxwell G <9920591+gotmax23@users.noreply.github.com>

* Remove superfluous space.

* Referencing target instead of symlink

Co-authored-by: Maxwell G <9920591+gotmax23@users.noreply.github.com>
2022-07-20 07:45:33 +02:00
Felix Fontein
e12a487e6a
Add EE support, support GHA in current_container_facts (#336)
* Try adding EE support.

* Use GHA instead of AZP for EE tests.

* Update changelog fragment, extend tests.

* Disable current_container_facts test.

* Increase verbosity.

* 2.9 compatibility.

* Use docker instead of podman for building EE and running tests in it.

* Output some more information (helpful for debugging).

* Fix GHA handling for current_container_facts.

* Try to fix permissions.
2022-04-18 22:54:00 +02:00
Felix Fontein
825aeb6d8a Revert "[TEMPORARY - will be reverted soon] Use docs build workflow from my branch."
This reverts commit c4a009a537.
2022-01-10 06:44:09 +01:00
Felix Fontein
c4a009a537 [TEMPORARY - will be reverted soon] Use docs build workflow from my branch. 2022-01-09 15:03:18 +01:00
Brian Scholer
9ca2c61848
update docs build references to new repo (#277) 2022-01-09 13:01:29 +01:00
Felix Fontein
b79474c2bf Add missing spaces. 2022-01-01 21:55:36 +01:00
Brian Scholer
b7c9089198
first shot at building docs on PRs with shared workflow (#263) 2022-01-01 21:23:18 +01:00
Felix Fontein
1b4b45628c Add patchback config. 2021-09-30 17:27:51 +02:00
Felix Fontein
6555a5a0de Initial cleanup. 2020-10-30 07:05:51 +01:00
John R Barker
42315baa74 Initial commit 2020-10-30 07:05:51 +01:00