Skip to content

Commit

Permalink
Add ansible-core stable-2.15 and stable-2.16 to tests matrix now that…
Browse files Browse the repository at this point in the history
… "devel" links to 2.17 (ansible-collections#574)

* Add stable-2.15 and 2.16 now that devel link to 2.17

* document which ansible-core version we support

* add sanity ignore for ansible-core 2.17

* cut sanity ignore for 2.12 and 2.13

* Cut ansible-core 2.12 and 2.13 from GHA test matrix
  • Loading branch information
laurent-indermuehle committed Oct 3, 2023
1 parent 52150fd commit 7541a84
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 46 deletions.
42 changes: 24 additions & 18 deletions .github/workflows/ansible-test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
strategy:
matrix:
ansible:
- stable-2.12
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
steps:
- name: Perform sanity testing
Expand All @@ -41,9 +41,9 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.12
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
db_engine_name:
- mysql
Expand Down Expand Up @@ -112,10 +112,13 @@ jobs:
python: '3.10'

- db_engine_version: 5.7.40
ansible: stable-2.13
ansible: stable-2.14

- db_engine_version: 5.7.40
ansible: stable-2.14
ansible: stable-2.15

- db_engine_version: 5.7.40
ansible: stable-2.16

- db_engine_version: 5.7.40
ansible: devel
Expand Down Expand Up @@ -172,22 +175,25 @@ jobs:
connector_version: 2.0.3

- python: '3.8'
ansible: stable-2.13
ansible: stable-2.14

- python: '3.8'
ansible: stable-2.14
ansible: stable-2.15

- python: '3.8'
ansible: stable-2.16

- python: '3.8'
ansible: devel

- python: '3.9'
ansible: stable-2.12
ansible: stable-2.15

- python: '3.9'
ansible: devel
ansible: stable-2.16

- python: '3.10'
ansible: stable-2.12
- python: '3.9'
ansible: devel

services:
db_primary:
Expand Down Expand Up @@ -334,22 +340,22 @@ jobs:
fail-fast: true
matrix:
ansible:
- stable-2.12
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- 3.8
- 3.9
exclude:
- python: '3.8'
ansible: stable-2.13
- python: '3.8'
ansible: stable-2.14
- python: '3.8'
ansible: stable-2.15
- python: '3.8'
ansible: stable-2.16
- python: '3.8'
ansible: devel
- python: '3.9'
ansible: stable-2.12

steps:
- name: >-
Expand Down
19 changes: 2 additions & 17 deletions .github/workflows/ansible-test-roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,16 @@ jobs:
mysql:
- 2.0.12
ansible:
- stable-2.11
- stable-2.12
- stable-2.13
- stable-2.14
- stable-2.15
- devel
python:
- 3.6
- 3.8
- 3.9
exclude:
- python: 3.6
ansible: stable-2.12
- python: 3.6
ansible: stable-2.13
- python: 3.6
ansible: devel
- python: 3.8
ansible: stable-2.11
- python: 3.8
ansible: stable-2.13
- python: 3.8
ansible: devel
- python: 3.9
ansible: stable-2.11
- python: 3.9
ansible: stable-2.12

steps:

Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ Here is the table for the support timeline:

### ansible-core

- 2.12
- 2.13
- 2.14
- stable-2.12
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- current development version

### Databases
Expand Down
2 changes: 2 additions & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ The Makefile accept the following options
- "stable-2.12"
- "stable-2.13"
- "stable-2.14"
- "stable-2.15"
- "stable-2.16"
- "devel"
- Description: Version of ansible to install in a venv to run ansible-test

Expand Down
11 changes: 11 additions & 0 deletions changelogs/fragments/drop_ansible_core_2_12_and_2_13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---

major_changes:

- The community.mysql collection no longer supports ``ansible-core 2.12`` and
``ansible-core 2.13``. While we take no active measures to prevent usage
and there are no plans to introduce incompatible code to the modules, we
will stop testing those versions. Both are or will soon be End of Life and
if you are still using them, you should consider upgrading to the
``latest Ansible / ansible-core 2.15 or later`` as soon as possible
(https://github.com/ansible-collections/community.mysql/pull/574).
8 changes: 0 additions & 8 deletions tests/sanity/ignore-2.13.txt

This file was deleted.

2 changes: 2 additions & 0 deletions tests/sanity/ignore-2.12.txt → tests/sanity/ignore-2.17.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ plugins/modules/mysql_info.py validate-modules:parameter-list-no-elements
plugins/modules/mysql_query.py validate-modules:parameter-list-no-elements
plugins/modules/mysql_user.py validate-modules:undocumented-parameter
plugins/modules/mysql_variables.py validate-modules:doc-required-mismatch
plugins/module_utils/mysql.py pylint:unused-import
plugins/module_utils/version.py pylint:unused-import

0 comments on commit 7541a84

Please sign in to comment.