Commit graph

26 commits

Author SHA1 Message Date
Jonas L
d08708e550
ci: use latest python version for ansible devel jobs (#436)
##### SUMMARY

For each job, we use the oldest python version supported for the given
ansible-core version. Now, for the ansible-core devel version, we use
the most recent version of python supported.

This ensure that we are compatible with all python version.
2023-12-21 18:28:32 +01:00
Jonas L
df8c3b6a59
refactor: add future annotations imports (#398)
##### SUMMARY

This adds future annotations imports to benefit from the modern python
typing system.
2023-11-23 14:53:10 +01:00
Jonas L
bd93d2caf8
ci: reduce usage when pushing release-please updates (#362)
##### SUMMARY

Disable azure pipelines for draft pull requests and ask release-please
to create draft pull requests. This should reduce the amount of CI usage
around the release please workflow.
2023-10-18 10:27:13 +02:00
Jonas L
001c3e2089
ci: clean azp scripts (#340)
##### SUMMARY

Clean old scripts and simplify the CI scripts.
2023-09-27 08:59:26 +02:00
Jonas L
9a44bc260f
ci: add unit tests to azure pipelines (#325)
##### SUMMARY

Enable unit testing in the CI. We started to write some unit tests for
the inventory, but they were not enforced in the CI.
2023-09-26 09:41:19 +02:00
Jonas L
fcf39a633f
ci: add ansible-core 2.16 to the test matrix (#328)
##### SUMMARY

Related to
https://github.com/ansible-collections/news-for-maintainers/issues/58

And see
https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
2023-09-19 09:34:00 +02:00
Jonas L
1b83de57ef
chore: add shell pre-commit hooks (#277)
* chore: add shell pre-commit hooks

* chore: fix shell script linting errors
2023-08-02 12:04:20 +02:00
Jonas L
2cc8e56d05
chore: setup the stable-1 release branch (#254)
* ci: run pipelines on stable-1 branch

* docs: add note about the release policy
2023-07-11 13:23:22 +02:00
Jonas L
3da91df8c3
feat: drop support for ansible-core 2.12 (#240)
* feat: drop support for ansible-core 2.12

ansible-core 2.12 is EOL since the 22 May 2023.

https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#support-life

* dropping ansible-core versions is a breaking change

* rename changelog fragment
2023-07-05 09:11:47 +02:00
Jonas L
169cf77ca5
ci: upgrade ansible/azure-pipelines-test-container to v4.0.1 (#252) 2023-07-04 15:25:35 +02:00
Jonas L
dfff49e31f
chore: setup pre-commit (#234)
* chore: add pre-commit config

* chore: fix pre-commit errors

* chore: add black pre-commit hook

* style: format python files with black

* chore: add isort pre-commit hook

* style: format python files using isort

* chore: add pyupgrade pre-commit hook

* refactor: upgrade code to python3.7

* Allow stacking PRs

Co-authored-by: Julian Tölle <julian.toelle97@gmail.com>

---------

Co-authored-by: Julian Tölle <julian.toelle97@gmail.com>
2023-06-27 11:50:13 +02:00
Jonas L
02516d9a7b
refactor: prefer true/false over yes/no (#226)
* style: format md and yml files using prettier

* refactor: prefer true/false over yes/no
2023-06-21 10:49:54 +02:00
Julian Tölle
24c1af2b40
ci: add tests for ansible 2.15 (#213)
- Add tests for Ansible 2.15
- Add sanity ignore file for 2.16, as thats used by devel now

Related to https://github.com/ansible-collections/news-for-maintainers/issues/41
2023-05-12 13:30:30 +02:00
Julian Tölle
5c976b383a
chore: remove Ansible 2.11 support (#191)
Ansible v2.11 is end-of-life and we do not need to support it anymore.
2023-02-08 10:07:27 +01:00
Lukas Kämmerling
16b42d2fb6
Add ansible 2.15 tests (#154)
Closes https://github.com/ansible-collections/hetzner.hcloud/issues/153

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2022-09-27 05:57:31 +02:00
Lukas Kämmerling
dd3bc0bf0a
Test on py3.9 (#139)
* Run tests on Python 3.9

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>

* Use new test container

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>

* Remove tests for Ansible 2.10 and earlier

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2022-06-23 10:10:57 +02:00
Lukas Kämmerling
c15b008152
Add Ansible 2.13 to test pipeline (#129)
* Add Ansible 2.13 to test pipeline

Closes https://github.com/ansible-collections/hetzner.hcloud/issues/128

* Fix syntax
2022-04-26 11:34:22 +02:00
Andrew Klychkov
28eb3404f3
AZP: Add stable-2.12 to test matrix (#113)
* AZP: Add stable-2.12 to test matrix

* Fix sanity
2021-10-13 11:18:01 +02:00
Andrew Klychkov
2c9d708d86
Update codecov.sh URL (#83) 2021-05-04 07:32:25 +02:00
Andrew Klychkov
c46d09bda5
Tests: add testing against 2.11 (#75)
* Tests: add testing against 2.11

* Fix
2021-04-08 14:00:14 +02:00
Andrew Klychkov
b9df6723d2
AZP: update default test container version (#69) 2021-03-26 10:58:17 +01:00
Lukas Kämmerling
36d371644f
Move azure pipelines to main branch 2021-03-26 10:08:48 +01:00
Andrew Klychkov
0a27de6fc6
azure-pipelines: update default container version (#59) 2021-02-23 11:07:35 +01:00
John R Barker
0d955cab88
AZP fixes (#52)
* Tidy up files
* Add Sanity ignore files
* Use master as branch name instead of main
* Use targets in integration jobs
* Remove tests/sanity/requirements.txt (not used by ansible-test)
* sanity: prevent import exception for inventory script

Co-authored-by: David Moreau Simard <moi@dmsimard.com>
2021-02-22 16:25:44 -05:00
John Barker
39172b0032 AZP - Stage names 2021-02-03 11:59:48 +00:00
John Barker
68241982ed Initial Azure Pipelines configuration 2021-02-03 11:45:44 +00:00