Skip to content

Commit ca1ce36

Browse files
committed
Run prebuild with socksProxy
1 parent 00012f7 commit ca1ce36

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

deploy/tasks/pre-build.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ spec:
5656
- --tooling-image=$(params.PNC_KONFLUX_TOOLING_IMAGE)
5757
- --type=$(params.BUILD_TOOL)
5858
- $(workspaces.source.path)/source
59+
script: |
60+
#!/bin/bash
61+
JAVA_OPTS=-DsocksProxyHost=does.not.exist:$JAVA_OPTS /opt/jboss/container/java/run/run-java.sh $@
5962
env:
6063
- name: BUILD_SCRIPT
6164
value: $(params.BUILD_SCRIPT)

pkg/apis/jvmbuildservice/v1alpha1/systemconfig_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ 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/redhat-appstudio/jvm-build-service/main/deploy/tasks/pre-build.yaml"
50+
KonfluxPreBuildDefinitions = "https://raw.githubusercontent.com/rnc/jvm-build-service/UNSHARE/deploy/tasks/pre-build.yaml"
5151
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"
5353
KonfluxDeployDefinitions = "https://raw.githubusercontent.com/ruhan1/jvm-build-service/main-uploadlog/deploy/tasks/push-results.yaml"

0 commit comments

Comments
 (0)