Skip to content

Commit 80050b0

Browse files
committed
Pass JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE through
1 parent 5fdb62a commit 80050b0

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

deploy/pipeline/mw-pipeline-v0.1.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ spec:
3939
type: string
4040
- name: ENABLE_INDY_PROXY
4141
type: string
42+
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
43+
type: string
4244
workspaces:
4345
- name: source
4446
description: Workspace containing the source code
@@ -75,6 +77,8 @@ spec:
7577
runAfter:
7678
- git-clone
7779
params:
80+
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
81+
value: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
7882
- name: IMAGE_URL
7983
value: $(params.QUAY_REPO):trusted-source-$(context.pipelineRun.name)
8084
- name: NAME
@@ -143,6 +147,8 @@ spec:
143147
runAfter:
144148
- buildah-oci-ta
145149
params:
150+
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
151+
value: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
146152
- name: IMAGE_URL
147153
value: $(tasks.buildah-oci-ta.results.IMAGE_URL)
148154
- name: IMAGE_DIGEST

deploy/tasks/pre-build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ spec:
5757
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
5858
description: Name of the processor image. Useful to override for development.
5959
type: string
60-
default: "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/jvm-build-service/build-request-processor:latest"
60+
default: "quay.io/ncross/hacbs-jvm-build-request-processor:latest"
61+
# default: "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/jvm-build-service/build-request-processor:latest"
6162
results:
6263
- name: PRE_BUILD_IMAGE_DIGEST
6364
description: Digest of the image just built

java-components/driver/src/main/resources/pipeline.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ spec:
99
# TODO: This will eventually be build-definitions repository
1010
- name: url
1111
value: https://raw.githubusercontent.com/rnc/jvm-build-service/refs/heads/NCL8774/deploy/pipeline/mw-pipeline-v0.1.yaml
12+
#value: https://raw.githubusercontent.com/rnc/jvm-build-service/refs/heads/NCL8774/deploy/pipeline/mw-pipeline-v0.1.yaml
1213

1314
workspaces:
1415
- name: source
@@ -53,6 +54,9 @@ spec:
5354
value: custom-ca
5455
- name: ENABLE_INDY_PROXY
5556
value: "false"
57+
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
58+
value: quay.io/ncross/hacbs-jvm-build-request-processor:latest
59+
# "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/jvm-build-service/build-request-processor:latest"
5660
# TODO: Should PNC set both limits and requests? See
5761
# https://home.robusta.dev/blog/kubernetes-memory-limit
5862
# https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

0 commit comments

Comments
 (0)