Skip to content

Commit fe8692b

Browse files
authored
Merge pull request #2336 from rnc/JBS79
Removal of migrated code. Renaming.
2 parents d3f1c66 + f01986a commit fe8692b

File tree

222 files changed

+31
-6424
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+31
-6424
lines changed

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

+11-11
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

+3-3
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

+4-4
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:

java-components/build-request-processor/pom.xml

+4-10
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,6 @@
108108
<artifactId>pom-manipulation-common</artifactId>
109109
</dependency>
110110

111-
<dependency>
112-
<groupId>org.projectlombok</groupId>
113-
<artifactId>lombok</artifactId>
114-
<version>1.18.34</version>
115-
<scope>provided</scope>
116-
</dependency>
117-
118111
<dependency>
119112
<groupId>io.quarkus</groupId>
120113
<artifactId>quarkus-junit5</artifactId>
@@ -136,9 +129,10 @@
136129
<scope>test</scope>
137130
</dependency>
138131
<dependency>
139-
<groupId>org.wiremock</groupId>
140-
<artifactId>wiremock</artifactId>
141-
<scope>test</scope>
132+
<groupId>org.projectlombok</groupId>
133+
<artifactId>lombok</artifactId>
134+
<version>1.18.34</version>
135+
<scope>provided</scope>
142136
</dependency>
143137
</dependencies>
144138
<build>

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/EntryPoint.java

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
import com.redhat.hacbs.container.build.preprocessor.maven.MavenPrepareCommand;
99
import com.redhat.hacbs.container.build.preprocessor.sbt.SBTPrepareCommand;
1010
import com.redhat.hacbs.container.deploy.BuildVerifyCommand;
11-
import com.redhat.hacbs.container.deploy.CopyArtifactsCommand;
1211
import com.redhat.hacbs.container.deploy.DeployCommand;
1312
import com.redhat.hacbs.container.deploy.DeployPreBuildSourceCommand;
14-
import com.redhat.hacbs.container.notification.NotifyCommand;
1513
import com.redhat.hacbs.container.verifier.VerifyBuiltArtifactsCommand;
1614

1715
import io.quarkus.picocli.runtime.annotations.TopCommand;
@@ -21,14 +19,12 @@
2119
@CommandLine.Command(mixinStandardHelpOptions = true, subcommands = {
2220
AnalyseDependencies.class,
2321
AntPrepareCommand.class,
24-
CopyArtifactsCommand.class,
2522
BuildVerifyCommand.class,
2623
GradlePrepareCommand.class,
2724
DeployPreBuildSourceCommand.class,
2825
LookupBuildInfoCommand.class,
2926
LookupScmLocationCommand.class,
3027
DeployCommand.class,
31-
NotifyCommand.class,
3228
MavenPrepareCommand.class,
3329
SBTPrepareCommand.class,
3430
VerifyBuiltArtifactsCommand.class

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/deploy/CopyArtifactsCommand.java

-131
This file was deleted.

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/notification/NotifyCommand.java

-77
This file was deleted.

0 commit comments

Comments
 (0)