Skip to content

Commit

Permalink
added 2.16 and 2.17 to test and build matrixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jun 22, 2024
1 parent a004fa0 commit b6fa9e3
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 10 deletions.
38 changes: 31 additions & 7 deletions .github/container-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,49 @@
# SPDX-License-Identifier: BSD-3-Clause

# a matrix list of variables used in the container build process
# it is used to define what ansible core images that define both ansible core and the python interpreter
# are going to be used in the container build process for the collection.
#
# python version are taken from ansible's support matrix - https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#support-life
# ansible-core-image version is taken from https://github.com/orgs/srl-labs/packages?repo_name=ansible-core
include:
# 2.14.11
- ansible-core-image: "2.14.11:pypy3.10"
# 2.14
- ansible-core-image: "2.14.17:pypy3.10"
runs-on: "ubuntu-22.04"

- ansible-core-image: "2.14.11:py3.11"
- ansible-core-image: "2.14.17:py3.11"
runs-on: "ubuntu-22.04"
addional-tags: "latest"

# 2.15.5
- ansible-core-image: "2.15.5:pypy3.10"
# 2.15
- ansible-core-image: "2.15.12:pypy3.10"
runs-on: "ubuntu-22.04"

- ansible-core-image: "2.15.5:py3.11"
- ansible-core-image: "2.15.12:py3.11"
runs-on: "ubuntu-22.04"

- ansible-core-image: "2.15.12:py3.12"
runs-on: "ubuntu-22.04"
addional-tags: "latest"

# 2.16
- ansible-core-image: "2.16.8:pypy3.10"
runs-on: "ubuntu-22.04"

- ansible-core-image: "2.16.8:py3.11"
runs-on: "ubuntu-22.04"

- ansible-core-image: "2.16.8:py3.12"
runs-on: "ubuntu-22.04"
addional-tags: "latest"

- ansible-core-image: "2.15.5:py3.12"
# 2.17
- ansible-core-image: "2.17.1:pypy3.10"
runs-on: "ubuntu-22.04"

- ansible-core-image: "2.17.1:py3.11"
runs-on: "ubuntu-22.04"

- ansible-core-image: "2.17.1:py3.12"
runs-on: "ubuntu-22.04"
addional-tags: "latest"
28 changes: 25 additions & 3 deletions .github/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
# SPDX-License-Identifier: BSD-3-Clause

# a matrix list of variables used in testing
# kind of a manual way of creating a testing matrix with a flexibility of selecting permuatations
# kind of a manual way of creating a testing matrix with a flexibility of selecting permutations
# support matrix for ansible control node - https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#node-requirement-summary

include:
####################
# Python 3.9
####################
- &latest-2_14
ansible-core-version: "2.14.11"
ansible-core-version: "2.14.17"
runs-on: "ubuntu-22.04"
python-version: "3.9"

- &latest-2_15
ansible-core-version: "2.15.5"
ansible-core-version: "2.15.12"
runs-on: "ubuntu-22.04"
python-version: "3.9"

Expand All @@ -30,6 +30,16 @@ include:
- <<: *latest-2_15
python-version: "3.10"

- &latest-2_16
ansible-core-version: "2.16.8"
runs-on: "ubuntu-22.04"
python-version: "3.10"

- &latest-2_17
ansible-core-version: "2.17.1"
runs-on: "ubuntu-22.04"
python-version: "3.10"

####################
# Python 3.11
####################
Expand All @@ -40,8 +50,20 @@ include:
- <<: *latest-2_15
python-version: "3.11"

- <<: *latest-2_16
python-version: "3.11"

- <<: *latest-2_17
python-version: "3.11"

####################
# Python 3.12
####################
- <<: *latest-2_15
python-version: "3.12"

- <<: *latest-2_16
python-version: "3.12"

- <<: *latest-2_17
python-version: "3.12"

0 comments on commit b6fa9e3

Please sign in to comment.