Skip to content

Commit 80f5717

Browse files
committed
Use centos-stream base image
We don't need the ci-frameork-image. Signed-off-by: rabi <[email protected]>
1 parent dc42bc8 commit 80f5717

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

ci-operator/config/openstack-k8s-operators/edpm-ansible/openstack-k8s-operators-edpm-ansible-main.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1+
base_images:
2+
centos-stream:
3+
name: centos
4+
namespace: openshift
5+
tag: stream9
16
build_root:
27
image_stream_tag:
3-
name: ci-framework-image
4-
namespace: openstack-k8s-operators
8+
name: ci-tools-build-root
9+
namespace: ci
510
tag: latest
611
images:
712
- dockerfile_literal: |
8-
FROM src
13+
FROM centos-stream
914
RUN dnf install -y python3.12 python3.12-pip git && \
10-
(alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 20 2>/dev/null || true) && \
11-
(alternatives --set python3 /usr/bin/python3.12 2>/dev/null || \
12-
ln -sf /usr/bin/python3.12 /usr/bin/python3) && \
13-
(ln -sf /usr/bin/pip3.12 /usr/bin/pip3 2>/dev/null || python3.12 -m ensurepip --upgrade) && \
14-
python3.12 -m pip install pre-commit ansi2txt
15-
from: src
15+
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 20 && \
16+
alternatives --set python3 /usr/bin/python3.12 && \
17+
python3 -m pip install pre-commit ansi2txt
18+
from: centos-stream
1619
to: edpm-ansible-pre-commit
1720
resources:
1821
'*':

0 commit comments

Comments
 (0)