Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ build_root:
name: ci-framework-image
namespace: openstack-k8s-operators
tag: latest
images:
- dockerfile_literal: |
FROM src
RUN dnf install -y python3.12 python3.12-pip git make && \
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 20 && \
alternatives --set python3 /usr/bin/python3.12 && \
python3 -m pip install pre-commit ansi2txt
from: src
to: edpm-ansible-pre-commit
resources:
'*':
limits:
Expand All @@ -18,7 +27,7 @@ tests:
export ANSIBLE_REMOTE_TMP=/tmp
make -C ../ci-framework pre_commit_nodeps BASEDIR=../edpm-ansible/
container:
from: src
from: edpm-ansible-pre-commit
skip_if_only_changed: ^renovate.json|^README.md
zz_generated_metadata:
branch: 18.0-fr4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ build_root:
images:
- dockerfile_literal: |
FROM src
RUN dnf install -y python3.12 python3.12-pip git && \
(alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 20 2>/dev/null || true) && \
(alternatives --set python3 /usr/bin/python3.12 2>/dev/null || \
ln -sf /usr/bin/python3.12 /usr/bin/python3) && \
(ln -sf /usr/bin/pip3.12 /usr/bin/pip3 2>/dev/null || python3.12 -m ensurepip --upgrade) && \
python3.12 -m pip install pre-commit ansi2txt
RUN dnf install -y python3.12 python3.12-pip git make && \
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 20 && \
alternatives --set python3 /usr/bin/python3.12 && \
python3 -m pip install pre-commit ansi2txt
from: src
to: edpm-ansible-pre-commit
resources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,60 @@
presubmits:
openstack-k8s-operators/edpm-ansible:
- agent: kubernetes
always_run: true
branches:
- ^18\.0-fr4$
- ^18\.0-fr4-
cluster: build02
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openstack-k8s-operators-edpm-ansible-18.0-fr4-images
rerun_command: /test images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down