Skip to content

Commit 7d5c387

Browse files
Merge pull request #108 from RH-steve-grubb/tekton-buildah-update
Add Konflux build args file and hook it up to tekton
2 parents f193a86 + fef803f commit 7d5c387

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.konflux/build-args.conf

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Base images
2+
BASE_IMAGE=registry.access.redhat.com/ubi9/ubi:9.6
3+
RELEASE_BASE_IMAGE=registry.access.redhat.com/ubi9-minimal:9.6
4+
5+
# Logging/tests
6+
VERBOSE_LOGS=ON
7+
RUN_TESTS=ON
8+
CHECK_COVERAGE=0
9+
10+
# Distro/GPU
11+
BASE_OS=redhat
12+
GPU=1
13+
ov_use_binary=0
14+
15+
# Versions / LTO
16+
INSTALL_DRIVER_VERSION=24.52.32224
17+
LTO_ENABLE=ON
18+
LTO_CXX_FLAGS=-flto=auto -ffat-lto-objects -march=haswell
19+
LTO_LD_FLAGS=-flto=auto -ffat-lto-objects -Wl,-plugin-opt=-march=haswell
20+
21+
# Source/branch
22+
SOURCE=openvinotoolkit
23+
BRANCH=releases/2025/2
24+
ov_source_org=openvinotoolkit
25+
ov_contrib_org=openvinotoolkit
26+
ov_source_branch=releases/2025/2
27+
ov_contrib_branch=releases/2025/2
28+
ov_tokenizers_branch=releases/2025/2
29+
30+
# Parallelism
31+
JOBS=30
32+
33+
# Bazel flags (no quotes, entire value after the '=')
34+
debug_bazel_flags=--strip=always --define MEDIAPIPE_DISABLE=0 --define PYTHON_DISABLE=0 --//:distro=redhat --local_ram_resources=23552 --local_cpu_resources=28 --verbose_failures --subcommands --config=mp_on_py_on
35+
CAPI_FLAGS=--strip=always --config=mp_off_py_off --//:distro=redhat --local_ram_resources=23552 --local_cpu_resources=30 --verbose_failures --subcommands
36+

.tekton/ovms-odh-poc-push.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ spec:
4848
value: "2147483647"
4949
- name: build-platform
5050
value: linux-extra-fast/amd64
51+
- name: build-args-file
52+
value: .konflux/build-args.conf
5153
taskRunSpecs:
5254
- pipelineTaskName: build-container
5355
stepSpecs:

0 commit comments

Comments
 (0)