ansible-collections / ibm_zos_core

Red Hat Ansible Certified Content for IBM Z
77 stars 44 forks source link

[Enabler] [pipeline] Current default pipelines are running slimbuster 3.9 which is only valid through ansible-core 2.15.x #1503

Closed ddimatos closed 4 months ago

ddimatos commented 4 months ago

Is there an existing issue for this?

Enabler description

On the controller, the last version to support python 3.9 is ansible-core 2.15, with the progression to upcoming ansible-core 2.6, this version of Python must be incremented. The Jenkins source has other slimbusters defined, it should not be a timely change.

image

Pipeline log is showing:

# ----------------- Docker Image for Testing Environment --------------------- #
FROM python:3.9-slim-buster
WORKDIR /usr/src/app

Is it worth investing in a dynamic option to select which of the slimbusters to use, I will leave that up to the team to decide in triage.

Ansible module

No response

richp405 commented 4 months ago

First pass will connect selected ansible version to slim buster version. This has been coded, but not yet rolled out. If needed, we can add the options to the template so the user can select it.

richp405 commented 4 months ago

Image

richp405 commented 3 months ago

2.16 and above now trigger slim buster 3.11. A major pipeline update including this was rolled out on Jun 4th.

richp405 commented 3 months ago

I increased the size because other changes got rolled into this: We now support: