Skip to content

Commit fba255c

Browse files
Merge pull request #125 from GomathiselviS/remove_2_9
Remove stable-2.9 and stable-2.13 support and add stable-2.16 support.
2 parents c08be35 + d1b86c8 commit fba255c

File tree

2 files changed

+21
-83
lines changed

2 files changed

+21
-83
lines changed

.github/workflows/sanity.yml

Lines changed: 11 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -8,72 +8,30 @@ on:
88
default: ""
99
matrix_exclude:
1010
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
11-
# 2.9 supports Python 3.5-3.8
12-
# 2.13 supports Python 3.8-3.10
1311
# 2.14 supports Python 3.9-3.11
1412
# 2.15 supports Python 3.9-3.11
15-
# 2.16 supports Python 3.10-3.11
16-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_16.html
17-
# milestone is 2.16 until after 2.16 branches from devel
18-
# devel is 2.16 until 2023-09-18
13+
# 2.16 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
1917
default: >-
2018
[
21-
{
22-
"ansible-version": "stable-2.9",
23-
"python-version": "3.9"
24-
},
25-
{
26-
"ansible-version": "stable-2.9",
27-
"python-version": "3.10"
28-
},
29-
{
30-
"ansible-version": "stable-2.9",
31-
"python-version": "3.11"
32-
},
33-
{
34-
"ansible-version": "stable-2.13",
35-
"python-version": "3.7"
36-
},
37-
{
38-
"ansible-version": "stable-2.13",
39-
"python-version": "3.11"
40-
},
41-
{
42-
"ansible-version": "stable-2.14",
43-
"python-version": "3.7"
44-
},
4519
{
4620
"ansible-version": "stable-2.14",
47-
"python-version": "3.8"
48-
},
49-
{
50-
"ansible-version": "stable-2.15",
51-
"python-version": "3.7"
21+
"python-version": "3.12"
5222
},
5323
{
5424
"ansible-version": "stable-2.15",
55-
"python-version": "3.8"
25+
"python-version": "3.12"
5626
},
5727
{
58-
"ansible-version": "milestone",
59-
"python-version": "3.7"
60-
},
61-
{
62-
"ansible-version": "milestone",
63-
"python-version": "3.8"
28+
"ansible-version": "stable-2.16",
29+
"python-version": "3.9"
6430
},
6531
{
6632
"ansible-version": "milestone",
6733
"python-version": "3.9"
6834
},
69-
{
70-
"ansible-version": "devel",
71-
"python-version": "3.7"
72-
},
73-
{
74-
"ansible-version": "devel",
75-
"python-version": "3.8"
76-
},
7735
{
7836
"ansible-version": "devel",
7937
"python-version": "3.9"
@@ -82,16 +40,7 @@ on:
8240
required: false
8341
type: string
8442
matrix_include:
85-
# python 3.6 is not available after ubuntu-20.04
86-
# python 3.6 is not supported on ansible 2.12+
87-
default: >-
88-
[
89-
{
90-
"os": "ubuntu-20.04",
91-
"ansible-version": "stable-2.9",
92-
"python-version": "3.6"
93-
},
94-
]
43+
default: []
9544
required: false
9645
type: string
9746
unstable:
@@ -113,18 +62,16 @@ jobs:
11362
os:
11463
- ubuntu-latest
11564
ansible-version:
116-
- stable-2.9
117-
- stable-2.13
11865
- stable-2.14
11966
- stable-2.15
67+
- stable-2.16
12068
- milestone
12169
- devel
12270
python-version:
123-
- "3.7"
124-
- "3.8"
12571
- "3.9"
12672
- "3.10"
12773
- "3.11"
74+
- "3.12"
12875
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
12976
include: ${{ fromJSON(inputs.matrix_include) }}
13077
runs-on: ${{ matrix.os }}

.github/workflows/unit_source.yml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,30 @@ on:
88
default: ""
99
matrix_exclude:
1010
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
11-
# 2.13 supports Python 3.8-3.10
1211
# 2.14 supports Python 3.9-3.11
1312
# 2.15 supports Python 3.9-3.11
14-
# 2.16 supports Python 3.10-3.11
15-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_16.html
16-
# milestone is 2.16 until after 2.16 branches from devel
17-
# devel is 2.16 until 2023-09-18
13+
# 2.16 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
1817
default: >-
1918
[
20-
{
21-
"ansible-version": "stable-2.13",
22-
"python-version": "3.11"
23-
},
2419
{
2520
"ansible-version": "stable-2.14",
26-
"python-version": "3.8"
21+
"python-version": "3.12"
2722
},
2823
{
2924
"ansible-version": "stable-2.15",
30-
"python-version": "3.8"
25+
"python-version": "3.12"
3126
},
3227
{
33-
"ansible-version": "milestone",
34-
"python-version": "3.8"
28+
"ansible-version": "stable-2.16",
29+
"python-version": "3.9"
3530
},
3631
{
3732
"ansible-version": "milestone",
3833
"python-version": "3.9"
3934
},
40-
{
41-
"ansible-version": "devel",
42-
"python-version": "3.8"
43-
},
4435
{
4536
"ansible-version": "devel",
4637
"python-version": "3.9"
@@ -60,16 +51,16 @@ jobs:
6051
matrix:
6152
ansible-version:
6253
# ansible 2.9 does install from git
63-
- stable-2.13
6454
- stable-2.14
6555
- stable-2.15
56+
- stable-2.16
6657
- milestone
6758
- devel
6859
python-version:
69-
- "3.8"
7060
- "3.9"
7161
- "3.10"
7262
- "3.11"
63+
- "3.12"
7364
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
7465
continue-on-error: ${{ matrix.ansible-version == 'devel' }}
7566

0 commit comments

Comments
 (0)