Skip to content

Commit f66944b

Browse files
committed
Try setting proxy in ivy settings. Remove redundant byte buffer size.
1 parent ef22599 commit f66944b

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,9 @@ private String getAntSetup() {
434434
<property name="local-pattern" value="\\${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]"/>
435435
<settings defaultResolver="defaultChain"/>
436436
<resolvers>
437-
<ibiblio name="default" root="\\${cache-url}" pattern="\\${default-pattern}" m2compatible="true"/>
437+
<ibiblio name="default" root="\\${cache-url}" pattern="\\${default-pattern}" m2compatible="true">
438+
<proxy host="localhost" port="8080"/>
439+
</ibiblio>
438440
<filesystem name="local" m2compatible="true">
439441
<artifact pattern="\\${local-pattern}"/>
440442
<ivy pattern="\\${local-pattern}"/>

pkg/reconciler/dependencybuild/buildrecipeyaml.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -549,13 +549,6 @@ func createPipelineSpec(log logr.Logger, tool string, commitTime int64, jbsConfi
549549
StringVal: "true",
550550
},
551551
},
552-
{
553-
Name: "BYTE_BUFFER_SIZE", // TODO remove
554-
Value: tektonpipeline.ParamValue{
555-
Type: tektonpipeline.ParamTypeString,
556-
StringVal: "2048",
557-
},
558-
},
559552
{
560553
Name: "PROXY_TARGET_WHITELIST",
561554
Value: tektonpipeline.ParamValue{

0 commit comments

Comments
 (0)