Skip to content

Commit

Permalink
Update a ansible-core and python version to the current state
Browse files Browse the repository at this point in the history
Rationale: to keep up with the of lifecycle of the ansible-core and python
- ansible-core 2.18 release is expected in 04 Nov 2014
- ansible-core 2.18 bring support of python 3.13 and remove support of python 3.10
- ansible-core 2.17 released 20 May 2024
- ansible-core 2.14 reach EOL on 20 May 2024 but keept in the test
- python 3.13 was released on 07 Oct 2024
- ansible 2.14 reach EOL on 20 May 2024
  • Loading branch information
yurnov committed Nov 2, 2024
1 parent 50e49e9 commit c04231e
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 26 deletions.
58 changes: 45 additions & 13 deletions .github/workflows/integration_simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,68 @@ on:
type: string
matrix_exclude:
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
# 2.14 supports Python 3.9-3.11
# 2.15 supports Python 3.9-3.11
# 2.16 supports Python 3.10-3.11
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_16.html
# milestone is 2.16 until after 2.16 branches from devel
# devel is 2.16 until 2023-09-18
# 2.17 supports Python 3.10-3.12
# 2.18 supports Python 3.11-3.13
# support for Python 3.13 added and 3.10 removed in 2.18 for control node
# taret node supported Python 3.8-3.13 as of 2.18
# milestone is and devel is switched to 2.19
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_18.html
default: >-
[
{
"ansible-version": "stable-2.16",
"ansible-version": "devel",
"python-version": "3.10"
},
{
"ansible-version": "devel",
"python-version": "3.9"
},
{
"ansible-version": "milestone",
"python-version": "3.9"
"python-version": "3.10"
},
{
"ansible-version": "devel",
"ansible-version": "milestone",
"python-version": "3.9"
},
{
"ansible-version": "devel",
"ansible-version": "stable-2.18",
"python-version": "3.10"
},
{
"ansible-version": "milestone",
"python-version": "3.10"
"ansible-version": "stable-2.18",
"python-version": "3.9"
},
{
"ansible-version": "stable-2.17",
"python-version": "3.9"
},
{
"ansible-version": "stable-2.17",
"python-version": "3.13"
},
{
"ansible-version": "stable-2.16",
"python-version": "3.9"
},
{
"ansible-version": "stable-2.16",
"python-version": "3.12"
},
{
"ansible-version": "stable-2.16",
"python-version": "3.13"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.12"
}
},
{
"ansible-version": "stable-2.15",
"python-version": "3.13"
}
]
required: false
type: string
Expand All @@ -61,16 +91,18 @@ jobs:
fail-fast: false
matrix:
ansible-version:
- stable-2.14
- stable-2.15
- stable-2.16
- stable-2.17
- stable-2.18
- milestone
- devel
python-version:
# ansible-navigator supports python 3.8+
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
exclude: ${{ fromJSON(inputs.matrix_exclude) }}

name: "py${{ matrix.python-version }} / ${{ matrix.ansible-version }}"
Expand Down
53 changes: 40 additions & 13 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,66 @@ on:
matrix_exclude:
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
# 2.15 supports Python 3.9-3.11
# 2.16 supports Python 3.10-3.12
# 2.16 supports Python 3.10-3.11
# 2.17 supports Python 3.10-3.12
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_17.html
# milestone is 2.17 until after 2.17 branches from devel
# devel is 2.17 until 2024-04-01
# remove 3.12/milestone from matrix_exclude when milestone is next forwarded
# 2.18 supports Python 3.11-3.13
# support for Python 3.13 added and 3.10 removed in 2.18 for control node
# taret node supported Python 3.8-3.13 as of 2.18
# milestone is and devel is switched to 2.19
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_18.html
default: >-
[
{
"ansible-version": "stable-2.16",
"python-version": "3.9"
"ansible-version": "devel",
"python-version": "3.10"
},
{
"ansible-version": "stable-2.17",
"ansible-version": "devel",
"python-version": "3.9"
},
{
"ansible-version": "milestone",
"python-version": "3.9"
"python-version": "3.10"
},
{
"ansible-version": "devel",
"ansible-version": "milestone",
"python-version": "3.9"
},
{
"ansible-version": "devel",
"ansible-version": "stable-2.18",
"python-version": "3.10"
},
{
"ansible-version": "milestone",
"python-version": "3.10"
"ansible-version": "stable-2.18",
"python-version": "3.9"
},
{
"ansible-version": "stable-2.17",
"python-version": "3.9"
},
{
"ansible-version": "stable-2.17",
"python-version": "3.13"
},
{
"ansible-version": "stable-2.16",
"python-version": "3.9"
},
{
"ansible-version": "stable-2.16",
"python-version": "3.12"
},
{
"ansible-version": "stable-2.16",
"python-version": "3.13"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.12"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.13"
}
]
required: false
Expand Down Expand Up @@ -75,13 +100,15 @@ jobs:
- stable-2.15
- stable-2.16
- stable-2.17
- stable-2.18
- milestone
- devel
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
include: ${{ fromJSON(inputs.matrix_include) }}
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit c04231e

Please sign in to comment.