|
|
@ -35,7 +35,7 @@ else
|
|
|
|
mkdir -p ~/.pip
|
|
|
|
mkdir -p ~/.pip
|
|
|
|
cat << EOF > ~/.pip/pip.conf
|
|
|
|
cat << EOF > ~/.pip/pip.conf
|
|
|
|
[global]
|
|
|
|
[global]
|
|
|
|
index-url = https://${ARTIFACTORY_USERNAME}:${ARTIFACTORY_ACCESS_TOKEN}@${JFROG_URL}/artifactory/api/pypi/${REPOSITORY_PYPI}/simple
|
|
|
|
index-url = https://${ARTIFACTORY_USERNAME}:${ARTIFACTORY_ACCESS_TOKEN}@${JFROG_URL#https://}/artifactory/api/pypi/${REPOSITORY_PYPI}/simple
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
@ -44,6 +44,6 @@ if [ -z "${REPOSITORY_GO}" ]; then
|
|
|
|
echo "🤔 REPOSITORY_GO is not set, skipping go configuration."
|
|
|
|
echo "🤔 REPOSITORY_GO is not set, skipping go configuration."
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "🐹 Configuring go..."
|
|
|
|
echo "🐹 Configuring go..."
|
|
|
|
export GOPROXY="https://${ARTIFACTORY_USERNAME}:${ARTIFACTORY_ACCESS_TOKEN}@${JFROG_URL}/artifactory/api/go/${REPOSITORY_GO}"
|
|
|
|
export GOPROXY="https://${ARTIFACTORY_USERNAME}:${ARTIFACTORY_ACCESS_TOKEN}@${JFROG_URL#https://}/artifactory/api/go/${REPOSITORY_GO}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
echo "🥳 Configuration complete!"
|
|
|
|
echo "🥳 Configuration complete!"
|