Skip to content

Commit 986f35d

Browse files
committed
Add OKD config
1 parent a1b7e29 commit 986f35d

32 files changed

+135
-40
lines changed

group.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ konflux:
5151
enabled: true
5252
network_mode: hermetic
5353

54+
okd:
55+
konflux:
56+
build_priority: 8
57+
cachi2:
58+
enabled: false
59+
lockfile:
60+
force: false
61+
5462
multi_arch:
5563
enabled: true
5664

images/ci-openshift-base.rhel9.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ scan_sources:
6666
- '*'
6767
konflux:
6868
network_mode: open
69+
okd:
70+
mode: disabled

images/ci-openshift-build-root-latest.rhel8.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ scan_sources:
5757
- '*'
5858
konflux:
5959
network_mode: open
60+
okd:
61+
mode: disabled

images/ci-openshift-build-root-latest.rhel9.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,5 @@ scan_sources:
5959
- '*'
6060
konflux:
6161
network_mode: open
62+
okd:
63+
mode: disabled

images/ci-openshift-golang-builder-latest.rhel8.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ scan_sources:
6060
- '*'
6161
konflux:
6262
network_mode: open
63+
okd:
64+
mode: disabled

images/ci-openshift-golang-builder-latest.rhel9.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ scan_sources:
6060
- '*'
6161
konflux:
6262
network_mode: open
63+
okd:
64+
mode: disabled

images/cluster-node-tuning-operator.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ content:
1212
streams_prs:
1313
ci_build_root:
1414
member: ci-openshift-build-root-latest.rhel9
15-
okd_alignment:
16-
dockerfile: Dockerfile
1715
distgit:
1816
branch: rhaos-{MAJOR}.{MINOR}-rhel-9
1917
component: cluster-node-tuning-operator-container

images/dpu-intel-ipu-p4sdk.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,16 @@ konflux:
4242
lockfile:
4343
inspect_parent: false
4444
network_mode: open
45+
okd:
46+
content:
47+
source:
48+
modifications:
49+
- action: replace
50+
match: "COPY openshift/install-dpu.sh ."
51+
replacement: |
52+
COPY openshift/install-dpu.sh .
53+
# Create a pip.conf file to globally set --ignore-installed.
54+
# Needed as the base centos image has setuptools installed by a package manager
55+
RUN mkdir -p /root/.config/pip && \
56+
echo "[install]" > /root/.config/pip/pip.conf && \
57+
echo "ignore-installed = true" >> /root/.config/pip/pip.conf

images/dpu-intel-ipu-vsp.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,16 @@ konflux:
7272
- libubsan
7373
- libxcrypt-devel
7474
- make
75+
okd:
76+
content:
77+
source:
78+
modifications:
79+
- action: replace
80+
match: "COPY openshift/install-dpu.sh ."
81+
replacement: |
82+
COPY openshift/install-dpu.sh .
83+
# Create a pip.conf file to globally set --ignore-installed.
84+
# Needed as the base centos image has setuptools installed by a package manager
85+
RUN mkdir -p /root/.config/pip && \
86+
echo "[install]" > /root/.config/pip/pip.conf && \
87+
echo "ignore-installed = true" >> /root/.config/pip/pip.conf

images/driver-toolkit.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ enabled_repos:
3838
- rhel-96-highavailability
3939
for_payload: true
4040
from:
41-
member: openshift-enterprise-base-rhel9
41+
stream: centos_stream10
4242
name: openshift/driver-toolkit-rhel9
4343
payload_name: driver-toolkit
4444
owners:
@@ -47,3 +47,13 @@ konflux:
4747
cachi2:
4848
lockfile:
4949
inspect_parent: false
50+
okd:
51+
content:
52+
source:
53+
modifications:
54+
- action: replace
55+
match: "diff --side-by-side <(rpm -qi kernel-core | grep 'Source RPM') <(rpm -qi kernel-rt-core | grep 'Source RPM'); \\"
56+
replacement: |-
57+
diff --side-by-side <(rpm -qi kernel-core | grep 'Source RPM') <(rpm -qi kernel-rt-core | grep 'Source RPM') || true; \
58+
enabled_repos:
59+
- rhel-96-nfv

0 commit comments

Comments
 (0)