Loading scripts/ci/setup-extra-ca.shdeleted 100644 → 0 +0 −25 Changes for scripts/ci/setup-extra-ca.sh: 0 added lines, 25 removed lines. Original line number Diff line number Diff line #!/bin/sh # Optional extra CA setup for corporate environments. # If no extra CA variable is present, this is a no-op. ca_source="${CI_EXTRA_CA_FILE:-${INTRACOM_CERTIFICATE_AS_FILE:-}}" if [ -n "$ca_source" ]; then if [ ! -f "$ca_source" ]; then echo "Configured CA file does not exist: $ca_source" >&2 exit 1 fi system_bundle="/etc/ssl/certs/ca-certificates.crt" target_bundle="${CI_PROJECT_DIR}/ca-bundle.pem" if [ -f "$system_bundle" ]; then cat "$system_bundle" "$ca_source" > "$target_bundle" else cp "$ca_source" "$target_bundle" fi export SSL_CERT_FILE="$target_bundle" export PIP_CERT="$target_bundle" fi scripts/ci/setup-proxy.shdeleted 100644 → 0 +0 −24 Changes for scripts/ci/setup-proxy.sh: 0 added lines, 24 removed lines. Original line number Diff line number Diff line #!/bin/sh # Optional proxy setup for corporate environments. # If no proxy variables are present, this is a no-op. if [ -n "${HTTP_PROXY:-}" ]; then export HTTP_PROXY export http_proxy="${http_proxy:-$HTTP_PROXY}" fi if [ -n "${HTTPS_PROXY:-}" ]; then export HTTPS_PROXY export https_proxy="${https_proxy:-$HTTPS_PROXY}" fi if [ -n "${NO_PROXY:-}" ]; then export NO_PROXY export no_proxy="${no_proxy:-$NO_PROXY}" fi if [ -n "${FTP_PROXY:-}" ]; then export FTP_PROXY export ftp_proxy="${ftp_proxy:-$FTP_PROXY}" fi Loading
scripts/ci/setup-extra-ca.shdeleted 100644 → 0 +0 −25 Changes for scripts/ci/setup-extra-ca.sh: 0 added lines, 25 removed lines. Original line number Diff line number Diff line #!/bin/sh # Optional extra CA setup for corporate environments. # If no extra CA variable is present, this is a no-op. ca_source="${CI_EXTRA_CA_FILE:-${INTRACOM_CERTIFICATE_AS_FILE:-}}" if [ -n "$ca_source" ]; then if [ ! -f "$ca_source" ]; then echo "Configured CA file does not exist: $ca_source" >&2 exit 1 fi system_bundle="/etc/ssl/certs/ca-certificates.crt" target_bundle="${CI_PROJECT_DIR}/ca-bundle.pem" if [ -f "$system_bundle" ]; then cat "$system_bundle" "$ca_source" > "$target_bundle" else cp "$ca_source" "$target_bundle" fi export SSL_CERT_FILE="$target_bundle" export PIP_CERT="$target_bundle" fi
scripts/ci/setup-proxy.shdeleted 100644 → 0 +0 −24 Changes for scripts/ci/setup-proxy.sh: 0 added lines, 24 removed lines. Original line number Diff line number Diff line #!/bin/sh # Optional proxy setup for corporate environments. # If no proxy variables are present, this is a no-op. if [ -n "${HTTP_PROXY:-}" ]; then export HTTP_PROXY export http_proxy="${http_proxy:-$HTTP_PROXY}" fi if [ -n "${HTTPS_PROXY:-}" ]; then export HTTPS_PROXY export https_proxy="${https_proxy:-$HTTPS_PROXY}" fi if [ -n "${NO_PROXY:-}" ]; then export NO_PROXY export no_proxy="${no_proxy:-$NO_PROXY}" fi if [ -n "${FTP_PROXY:-}" ]; then export FTP_PROXY export ftp_proxy="${ftp_proxy:-$FTP_PROXY}" fi