Skip to content

Commit 9c7b2d9

Browse files
authored
Update a ansible-core and python version to the current state (#162)
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
1 parent 50e49e9 commit 9c7b2d9

File tree

4 files changed

+168
-50
lines changed

4 files changed

+168
-50
lines changed

.github/workflows/integration_simple.yml

Lines changed: 45 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,68 @@ on:
88
type: string
99
matrix_exclude:
1010
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
11-
# 2.14 supports Python 3.9-3.11
1211
# 2.15 supports Python 3.9-3.11
1312
# 2.16 supports Python 3.10-3.11
14-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_16.html
15-
# milestone is 2.16 until after 2.16 branches from devel
16-
# devel is 2.16 until 2023-09-18
13+
# 2.17 supports Python 3.10-3.12
14+
# 2.18 supports Python 3.11-3.13
15+
# support for Python 3.13 added and 3.10 removed in 2.18 for control node
16+
# taret node supported Python 3.8-3.13 as of 2.18
17+
# milestone is and devel is switched to 2.19
18+
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_18.html
1719
default: >-
1820
[
1921
{
20-
"ansible-version": "stable-2.16",
22+
"ansible-version": "devel",
23+
"python-version": "3.10"
24+
},
25+
{
26+
"ansible-version": "devel",
2127
"python-version": "3.9"
2228
},
2329
{
2430
"ansible-version": "milestone",
25-
"python-version": "3.9"
31+
"python-version": "3.10"
2632
},
2733
{
28-
"ansible-version": "devel",
34+
"ansible-version": "milestone",
2935
"python-version": "3.9"
3036
},
3137
{
32-
"ansible-version": "devel",
38+
"ansible-version": "stable-2.18",
3339
"python-version": "3.10"
3440
},
3541
{
36-
"ansible-version": "milestone",
37-
"python-version": "3.10"
42+
"ansible-version": "stable-2.18",
43+
"python-version": "3.9"
44+
},
45+
{
46+
"ansible-version": "stable-2.17",
47+
"python-version": "3.9"
48+
},
49+
{
50+
"ansible-version": "stable-2.17",
51+
"python-version": "3.13"
52+
},
53+
{
54+
"ansible-version": "stable-2.16",
55+
"python-version": "3.9"
56+
},
57+
{
58+
"ansible-version": "stable-2.16",
59+
"python-version": "3.12"
60+
},
61+
{
62+
"ansible-version": "stable-2.16",
63+
"python-version": "3.13"
3864
},
3965
{
4066
"ansible-version": "stable-2.15",
4167
"python-version": "3.12"
42-
}
68+
},
69+
{
70+
"ansible-version": "stable-2.15",
71+
"python-version": "3.13"
72+
}
4373
]
4474
required: false
4575
type: string
@@ -61,16 +91,18 @@ jobs:
6191
fail-fast: false
6292
matrix:
6393
ansible-version:
64-
- stable-2.14
6594
- stable-2.15
6695
- stable-2.16
96+
- stable-2.17
97+
- stable-2.18
6798
- milestone
6899
- devel
69100
python-version:
70-
# ansible-navigator supports python 3.8+
71101
- "3.9"
72102
- "3.10"
73103
- "3.11"
104+
- "3.12"
105+
- "3.13"
74106
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
75107

76108
name: "py${{ matrix.python-version }} / ${{ matrix.ansible-version }}"

.github/workflows/sanity.yml

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,66 @@ on:
99
matrix_exclude:
1010
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
1111
# 2.15 supports Python 3.9-3.11
12-
# 2.16 supports Python 3.10-3.12
12+
# 2.16 supports Python 3.10-3.11
1313
# 2.17 supports Python 3.10-3.12
14-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_17.html
15-
# milestone is 2.17 until after 2.17 branches from devel
16-
# devel is 2.17 until 2024-04-01
17-
# remove 3.12/milestone from matrix_exclude when milestone is next forwarded
14+
# 2.18 supports Python 3.11-3.13
15+
# support for Python 3.13 added and 3.10 removed in 2.18 for control node
16+
# taret node supported Python 3.8-3.13 as of 2.18
17+
# milestone is and devel is switched to 2.19
18+
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_18.html
1819
default: >-
1920
[
2021
{
21-
"ansible-version": "stable-2.16",
22-
"python-version": "3.9"
22+
"ansible-version": "devel",
23+
"python-version": "3.10"
2324
},
2425
{
25-
"ansible-version": "stable-2.17",
26+
"ansible-version": "devel",
2627
"python-version": "3.9"
2728
},
2829
{
2930
"ansible-version": "milestone",
30-
"python-version": "3.9"
31+
"python-version": "3.10"
3132
},
3233
{
33-
"ansible-version": "devel",
34+
"ansible-version": "milestone",
3435
"python-version": "3.9"
3536
},
3637
{
37-
"ansible-version": "devel",
38+
"ansible-version": "stable-2.18",
3839
"python-version": "3.10"
3940
},
4041
{
41-
"ansible-version": "milestone",
42-
"python-version": "3.10"
42+
"ansible-version": "stable-2.18",
43+
"python-version": "3.9"
44+
},
45+
{
46+
"ansible-version": "stable-2.17",
47+
"python-version": "3.9"
48+
},
49+
{
50+
"ansible-version": "stable-2.17",
51+
"python-version": "3.13"
52+
},
53+
{
54+
"ansible-version": "stable-2.16",
55+
"python-version": "3.9"
56+
},
57+
{
58+
"ansible-version": "stable-2.16",
59+
"python-version": "3.12"
60+
},
61+
{
62+
"ansible-version": "stable-2.16",
63+
"python-version": "3.13"
4364
},
4465
{
4566
"ansible-version": "stable-2.15",
4667
"python-version": "3.12"
68+
},
69+
{
70+
"ansible-version": "stable-2.15",
71+
"python-version": "3.13"
4772
}
4873
]
4974
required: false
@@ -75,13 +100,15 @@ jobs:
75100
- stable-2.15
76101
- stable-2.16
77102
- stable-2.17
103+
- stable-2.18
78104
- milestone
79105
- devel
80106
python-version:
81107
- "3.9"
82108
- "3.10"
83109
- "3.11"
84110
- "3.12"
111+
- "3.13"
85112
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
86113
include: ${{ fromJSON(inputs.matrix_include) }}
87114
runs-on: ${{ matrix.os }}

.github/workflows/unit_galaxy.yml

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,66 @@ on:
1010
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
1111
# 2.15 supports Python 3.9-3.11
1212
# 2.16 supports Python 3.10-3.11
13-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_16.html
14-
# milestone is 2.16 until after 2.16 branches from devel
15-
# devel is 2.16 until 2023-09-18
13+
# 2.17 supports Python 3.10-3.12
14+
# 2.18 supports Python 3.11-3.13
15+
# support for Python 3.13 added and 3.10 removed in 2.18 for control node
16+
# taret node supported Python 3.8-3.13 as of 2.18
17+
# milestone is and devel is switched to 2.19
18+
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_18.html
1619
default: >-
1720
[
1821
{
19-
"ansible-version": "stable-2.16",
20-
"python-version": "3.9"
22+
"ansible-version": "devel",
23+
"python-version": "3.10"
2124
},
2225
{
23-
"ansible-version": "stable-2.17",
26+
"ansible-version": "devel",
2427
"python-version": "3.9"
2528
},
2629
{
2730
"ansible-version": "milestone",
28-
"python-version": "3.9"
31+
"python-version": "3.10"
2932
},
3033
{
31-
"ansible-version": "devel",
34+
"ansible-version": "milestone",
3235
"python-version": "3.9"
3336
},
3437
{
35-
"ansible-version": "devel",
38+
"ansible-version": "stable-2.18",
3639
"python-version": "3.10"
3740
},
3841
{
39-
"ansible-version": "milestone",
40-
"python-version": "3.10"
42+
"ansible-version": "stable-2.18",
43+
"python-version": "3.9"
44+
},
45+
{
46+
"ansible-version": "stable-2.17",
47+
"python-version": "3.9"
48+
},
49+
{
50+
"ansible-version": "stable-2.17",
51+
"python-version": "3.13"
52+
},
53+
{
54+
"ansible-version": "stable-2.16",
55+
"python-version": "3.9"
56+
},
57+
{
58+
"ansible-version": "stable-2.16",
59+
"python-version": "3.12"
60+
},
61+
{
62+
"ansible-version": "stable-2.16",
63+
"python-version": "3.13"
4164
},
4265
{
4366
"ansible-version": "stable-2.15",
4467
"python-version": "3.12"
45-
}
68+
},
69+
{
70+
"ansible-version": "stable-2.15",
71+
"python-version": "3.13"
72+
}
4673
]
4774
required: false
4875
type: string
@@ -66,12 +93,15 @@ jobs:
6693
- stable-2.15
6794
- stable-2.16
6895
- stable-2.17
96+
- stable-2.18
6997
- milestone
7098
- devel
7199
python-version:
72100
- "3.9"
73101
- "3.10"
74102
- "3.11"
103+
- "3.12"
104+
- "3.13"
75105
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
76106
include: ${{ fromJSON(inputs.matrix_include) }}
77107
runs-on: ${{ matrix.os }}

.github/workflows/unit_source.yml

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,66 @@ on:
99
matrix_exclude:
1010
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
1111
# 2.15 supports Python 3.9-3.11
12-
# 2.16 supports Python 3.10-3.12
13-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_17.html
14-
# milestone is 2.18
15-
# devel is 2.18 until xxxx-xx-xx
12+
# 2.16 supports Python 3.10-3.11
13+
# 2.17 supports Python 3.10-3.12
14+
# 2.18 supports Python 3.11-3.13
15+
# support for Python 3.13 added and 3.10 removed in 2.18 for control node
16+
# taret node supported Python 3.8-3.13 as of 2.18
17+
# milestone is and devel is switched to 2.19
18+
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_18.html
1619
default: >-
1720
[
1821
{
19-
"ansible-version": "stable-2.16",
20-
"python-version": "3.9"
22+
"ansible-version": "devel",
23+
"python-version": "3.10"
2124
},
2225
{
23-
"ansible-version": "stable-2.17",
26+
"ansible-version": "devel",
2427
"python-version": "3.9"
2528
},
2629
{
2730
"ansible-version": "milestone",
28-
"python-version": "3.9"
31+
"python-version": "3.10"
2932
},
3033
{
31-
"ansible-version": "devel",
34+
"ansible-version": "milestone",
3235
"python-version": "3.9"
3336
},
3437
{
35-
"ansible-version": "devel",
38+
"ansible-version": "stable-2.18",
3639
"python-version": "3.10"
3740
},
3841
{
39-
"ansible-version": "milestone",
40-
"python-version": "3.10"
42+
"ansible-version": "stable-2.18",
43+
"python-version": "3.9"
44+
},
45+
{
46+
"ansible-version": "stable-2.17",
47+
"python-version": "3.9"
48+
},
49+
{
50+
"ansible-version": "stable-2.17",
51+
"python-version": "3.13"
52+
},
53+
{
54+
"ansible-version": "stable-2.16",
55+
"python-version": "3.9"
56+
},
57+
{
58+
"ansible-version": "stable-2.16",
59+
"python-version": "3.12"
60+
},
61+
{
62+
"ansible-version": "stable-2.16",
63+
"python-version": "3.13"
4164
},
4265
{
4366
"ansible-version": "stable-2.15",
4467
"python-version": "3.12"
68+
},
69+
{
70+
"ansible-version": "stable-2.15",
71+
"python-version": "3.13"
4572
}
4673
]
4774
required: false
@@ -60,13 +87,15 @@ jobs:
6087
- stable-2.15
6188
- stable-2.16
6289
- stable-2.17
90+
- stable-2.18
6391
- milestone
6492
- devel
6593
python-version:
6694
- "3.9"
6795
- "3.10"
6896
- "3.11"
6997
- "3.12"
98+
- "3.13"
7099
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
71100
continue-on-error: ${{ matrix.ansible-version == 'devel' }}
72101

0 commit comments

Comments
 (0)