Skip to content

Commit

Permalink
Rename konflux-processor to pnc-konflux-tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
rnc committed Jan 9, 2025
1 parent 8317a45 commit 9f410c7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/jboss/pnc/konfluxbuilddriver/Driver.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public BuildResponse create(BuildRequest buildRequest) {
templateProperties.put("MVN_REPO_DEPLOY_URL", buildRequest.repositoryDeployUrl());
templateProperties.put("QUAY_REPO", config.quayRepo());
templateProperties.put("RECIPE_IMAGE", buildRequest.recipeImage());
templateProperties.put("JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE", config.processor());
templateProperties.put("JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE", config.toolingImage());
templateProperties.put("REVISION", buildRequest.scmRevision());
templateProperties.put("URL", buildRequest.scmUrl());
templateProperties.put("caTrustConfigMapName", "custom-ca");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
@ConfigMapping(prefix = "konflux-build-driver")
public interface Configuration {

@WithName("konflux-processor")
String processor();
@WithName("pnc-konflux-tooling")
String toolingImage();

String quayRepo();

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
konflux-build-driver:
quay-repo: "quay.io/redhat-user-workloads-stage/pnc-devel-tenant/pnc-konflux"
konflux-processor: "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/konflux-tooling:latest"
pnc-konflux-tooling: "quay.io/redhat-user-workloads/konflux-jbs-pnc-tenant/konflux-tooling:latest"
# TODO: This will eventually be build-definitions repository
pipeline-resolver: "https://raw.githubusercontent.com/redhat-appstudio/jvm-build-service/refs/heads/main/deploy/pipeline/mw-pipeline-v0.1.yaml"
indy-proxy-enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public class UtilTest {
@Test
public void testMapping() {
assertEquals("quay.io/redhat-user-workloads-stage/pnc-devel-tenant/pnc-konflux", configTest.quayRepo());
assertEquals("foobar", configTest.processor());
assertEquals("foobar", configTest.toolingImage());
}
}
2 changes: 1 addition & 1 deletion src/test/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ quarkus:
"org.jboss.pnc.konfluxbuilddriver":
level: DEBUG
konflux-build-driver:
konflux-processor: "foobar"
pnc-konflux-tooling: "foobar"

0 comments on commit 9f410c7

Please sign in to comment.