Skip to content

Commit f01986a

Browse files
committed
JBS79: Rename JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE to PNC_KONFLUX_TOOLING_IMAGE
1 parent 05e2bf9 commit f01986a

File tree

5 files changed

+27
-26
lines changed

5 files changed

+27
-26
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ spec:
6666
type: string
6767
- name: INDY_PROXY_CLIENT_CREDENTIAL
6868
type: string
69-
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
69+
- name: PNC_KONFLUX_TOOLING_IMAGE
7070
type: string
7171
default: "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/konflux-tooling:latest"
7272
- name: NOTIFICATION_CONTEXT
@@ -105,8 +105,8 @@ spec:
105105
runAfter:
106106
- git-clone
107107
params:
108-
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
109-
value: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
108+
- name: PNC_KONFLUX_TOOLING_IMAGE
109+
value: $(params.PNC_KONFLUX_TOOLING_IMAGE)
110110
- name: IMAGE_URL
111111
value: $(params.QUAY_REPO):trusted-source-$(context.pipelineRun.name)
112112
- name: NAME
@@ -130,7 +130,7 @@ spec:
130130
resolver: http
131131
params:
132132
- name: url
133-
value: https://raw.githubusercontent.com/rnc/jvm-build-service/refs/heads/BR1/deploy/tasks/pre-build.yaml
133+
value: https://raw.githubusercontent.com/redhat-appstudio/jvm-build-service/refs/heads/main/deploy/tasks/pre-build.yaml
134134
workspaces:
135135
- name: source
136136
workspace: source
@@ -199,8 +199,8 @@ spec:
199199
runAfter:
200200
- buildah-oci-ta
201201
params:
202-
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
203-
value: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
202+
- name: PNC_KONFLUX_TOOLING_IMAGE
203+
value: $(params.PNC_KONFLUX_TOOLING_IMAGE)
204204
- name: IMAGE_URL
205205
value: $(tasks.buildah-oci-ta.results.IMAGE_URL)
206206
- name: IMAGE_DIGEST
@@ -221,8 +221,8 @@ spec:
221221
params:
222222
- name: ACCESS_TOKEN
223223
value: $(params.ACCESS_TOKEN)
224-
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
225-
value: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
224+
- name: PNC_KONFLUX_TOOLING_IMAGE
225+
value: $(params.PNC_KONFLUX_TOOLING_IMAGE)
226226
- name: NOTIFICATION_CONTEXT
227227
value: $(params.NOTIFICATION_CONTEXT)
228228
- name: STATUS
@@ -233,8 +233,8 @@ spec:
233233
description: Access token for OAuth.
234234
type: string
235235
default: ""
236-
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
237-
description: Name of the processor image. Useful to override for development.
236+
- name: PNC_KONFLUX_TOOLING_IMAGE
237+
description: Name of the tooling image.
238238
type: string
239239
- name: NOTIFICATION_CONTEXT
240240
description: Notification context
@@ -244,7 +244,7 @@ spec:
244244
type: string
245245
steps:
246246
- name: notification
247-
image: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
247+
image: $(params.PNC_KONFLUX_TOOLING_IMAGE)
248248
args:
249249
- notify
250250
- --context=$(params.NOTIFICATION_CONTEXT)

deploy/tasks/maven-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ spec:
3939
description: Access token for OAuth.
4040
type: string
4141
default: ""
42-
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
43-
description: Name of the processor image. Useful to override for development.
42+
- name: PNC_KONFLUX_TOOLING_IMAGE
43+
description: Name of the tooling image.
4444
type: string
4545
- name: caTrustConfigMapKey
4646
description: The name of the key in the ConfigMap that contains the
@@ -81,7 +81,7 @@ spec:
8181
- name: IMAGE_URL
8282
value: $(params.IMAGE_URL)
8383
- name: deploy
84-
image: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
84+
image: $(params.PNC_KONFLUX_TOOLING_IMAGE)
8585
securityContext:
8686
runAsUser: 0
8787
computeResources:

deploy/tasks/pre-build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ spec:
2424
- name: IMAGE_URL
2525
description: URL of the OCI image to use.
2626
type: string
27-
- name: JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE
28-
description: Name of the processor image. Useful to override for development.
27+
- name: PNC_KONFLUX_TOOLING_IMAGE
28+
description: Name of the tooling image.
2929
type: string
3030
- name: RECIPE_IMAGE
3131
description: The image from the build recipe to use
@@ -38,7 +38,7 @@ spec:
3838
mountPath: /var/workdir
3939
steps:
4040
- name: preprocessor
41-
image: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
41+
image: $(params.PNC_KONFLUX_TOOLING_IMAGE)
4242
securityContext:
4343
runAsUser: 0
4444
computeResources:
@@ -53,7 +53,7 @@ spec:
5353
- --build-tool-version=$(params.BUILD_TOOL_VERSION)
5454
- --java-version=$(params.JAVA_VERSION)
5555
- --recipe-image=$(params.RECIPE_IMAGE)
56-
- --request-processor-image=$(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
56+
- --tooling-image=$(params.PNC_KONFLUX_TOOLING_IMAGE)
5757
- --type=$(params.BUILD_TOOL)
5858
- $(workspaces.source.path)/source
5959
env:

pkg/apis/jvmbuildservice/v1alpha1/systemconfig_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ type SystemConfigList struct {
4747

4848
const (
4949
KonfluxGitDefinition = "https://raw.githubusercontent.com/konflux-ci/build-definitions/refs/heads/main/task/git-clone/0.1/git-clone.yaml"
50-
KonfluxPreBuildDefinitions = "https://raw.githubusercontent.com/rnc/jvm-build-service/BR1/deploy/tasks/pre-build.yaml"
51-
KonfluxPreBuildGitDefinitions = "https://raw.githubusercontent.com/rnc/jvm-build-service/BR1/deploy/tasks/pre-build-git.yaml"
50+
KonfluxPreBuildDefinitions = "https://raw.githubusercontent.com/rnc/jvm-build-service/JBS79/deploy/tasks/pre-build.yaml"
51+
KonfluxPreBuildGitDefinitions = "https://raw.githubusercontent.com/redhat-appstudio/jvm-build-service/main/deploy/tasks/pre-build-git.yaml"
5252
KonfluxBuildDefinitions = "https://raw.githubusercontent.com/redhat-appstudio/jvm-build-service/main/deploy/tasks/buildah-oci-ta.yaml"
53-
KonfluxMavenDeployDefinitions = "https://raw.githubusercontent.com/rnc/jvm-build-service/BR1/deploy/tasks/maven-deployment.yaml"
53+
KonfluxMavenDeployDefinitions = "https://raw.githubusercontent.com/rnc/jvm-build-service/JBS79/deploy/tasks/maven-deployment.yaml"
5454
)

pkg/reconciler/dependencybuild/buildrecipeyaml.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ const (
3333
PostBuildTaskName = "post-build"
3434
DeployTaskName = "deploy"
3535

36-
DomainProxyImage = "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/domain-proxy:latest"
36+
DomainProxyImage = "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/domain-proxy:latest"
37+
PNCKonfluxToolingImage = "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/konflux-tooling:latest"
3738
)
3839

3940
//go:embed scripts/maven-build.sh
@@ -428,10 +429,10 @@ func createPipelineSpec(log logr.Logger, tool string, commitTime int64, jbsConfi
428429
// },
429430
//},
430431
{
431-
Name: "JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE",
432+
Name: "PNC_KONFLUX_TOOLING_IMAGE",
432433
Value: tektonpipeline.ParamValue{
433434
Type: tektonpipeline.ParamTypeString,
434-
StringVal: "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/konflux-tooling:latest",
435+
StringVal: PNCKonfluxToolingImage,
435436
},
436437
},
437438
},
@@ -781,10 +782,10 @@ use-archive oci:$URL@$AARCHIVE=%s`, orasOptions, registryArgsWithDefaults(jbsCon
781782
},
782783
},
783784
{
784-
Name: "JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE",
785+
Name: "PNC_KONFLUX_TOOLING_IMAGE",
785786
Value: tektonpipeline.ParamValue{
786787
Type: tektonpipeline.ParamTypeString,
787-
StringVal: buildRequestProcessorImage,
788+
StringVal: PNCKonfluxToolingImage,
788789
},
789790
},
790791
},

0 commit comments

Comments
 (0)