Skip to content

Improve PXF build when in special network environments. #63

@MisterRaindrop

Description

@MisterRaindrop

https://github.com/apache/cloudberry-pxf/blob/main/ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh

# mirror
# If the download fails, you can uncomment the line to switch to another mirror address.
# Configure Gradle to use Aliyun mirror
# mkdir -p ~/.gradle
# cat > ~/.gradle/init.gradle <<'EOF'
# allprojects {
#     repositories {
#         maven { url 'https://maven.aliyun.com/repository/public/' }
#         maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
#         mavenCentral()
#     }
#     buildscript {
#         repositories {
#             maven { url 'https://maven.aliyun.com/repository/public/' }
#             maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
#             mavenCentral()
#         }
#     }
# }
# EOF

and

# export GOPROXY=https://goproxy.cn,direct

I want to improve the go and gradle proxy settings in the script here. In special network environments, compilation often fails. It's troublesome to adjust the proxy every time I compile. Anybody have any better suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions