replaced git clone to http
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
20
deploy.sh
20
deploy.sh
@@ -8,11 +8,7 @@ if [ "$GIT_REPO" == "" ]; then
|
||||
GIT_REPO=git.format.hu
|
||||
fi
|
||||
|
||||
ORGANIZATION=$ORGANIZATION
|
||||
|
||||
if [ "$ORGANIZATION" == "" ]; then
|
||||
ORGANIZATION=format
|
||||
fi
|
||||
ORGANIZATION=${ORGANIZATION:-safebox}
|
||||
|
||||
SMARTHOST_PROXY=$(toUpperCase $SMARTHOST_PROXY)
|
||||
LOCAL_PROXY=$(toUpperCase $LOCAL_PROXY)
|
||||
@@ -142,20 +138,20 @@ install_additionals() {
|
||||
|
||||
}
|
||||
|
||||
git clone ssh://$GIT_REPO/$ORGANIZATION/$CORE_DNS.git /tmp/$CORE_DNS
|
||||
git clone ssh://$GIT_REPO/$ORGANIZATION/$SERVICE_EXEC_REPO.git /tmp/$SERVICE_EXEC_REPO
|
||||
git clone https://$GIT_REPO/$ORGANIZATION/$CORE_DNS.git /tmp/$CORE_DNS
|
||||
git clone https://$GIT_REPO/$ORGANIZATION/$SERVICE_EXEC_REPO.git /tmp/$SERVICE_EXEC_REPO
|
||||
|
||||
if [[ "$LOCAL_PROXY" == "YES" || "$LOCAL_PROXY" == "TRUE" ]]; then
|
||||
git clone ssh://$GIT_REPO/$ORGANIZATION/$LOCAL_PROXY_REPO.git /tmp/$LOCAL_PROXY_REPO
|
||||
git clone ssh://$GIT_REPO/$ORGANIZATION/$LOCAL_BACKEND_REPO.git /tmp/$LOCAL_BACKEND_REPO
|
||||
git clone https://$GIT_REPO/$ORGANIZATION/$LOCAL_PROXY_REPO.git /tmp/$LOCAL_PROXY_REPO
|
||||
git clone https://$GIT_REPO/$ORGANIZATION/$LOCAL_BACKEND_REPO.git /tmp/$LOCAL_BACKEND_REPO
|
||||
fi
|
||||
|
||||
if [[ "$VPN_PROXY" == "YES" || "$VPN_PROXY" == "TRUE" ]]; then
|
||||
git clone ssh://$GIT_REPO/$ORGANIZATION/$VPN_PROXY_REPO.git /tmp/$VPN_PROXY_REPO
|
||||
git clone https://$GIT_REPO/$ORGANIZATION/$VPN_PROXY_REPO.git /tmp/$VPN_PROXY_REPO
|
||||
fi
|
||||
|
||||
if [[ "$CRON" == "YES" || "$CRON" == "TRUE" ]]; then
|
||||
git clone ssh://$GIT_REPO/$ORGANIZATION/$CRON_REPO.git /tmp/$CRON_REPO
|
||||
git clone https://$GIT_REPO/$ORGANIZATION/$CRON_REPO.git /tmp/$CRON_REPO
|
||||
fi
|
||||
|
||||
# INSTALL PROXY SERVICES
|
||||
@@ -163,7 +159,7 @@ fi
|
||||
for i in $(echo $PROXY_TYPE); do
|
||||
|
||||
# Clone source files from git repository
|
||||
git clone ssh://$GIT_REPO/$ORGANIZATION/$i.git /tmp/$i
|
||||
git clone https://$GIT_REPO/$ORGANIZATION/$i.git /tmp/$i
|
||||
|
||||
#if [ "$i" == "public-proxy" ] ; then
|
||||
|
||||
|
Reference in New Issue
Block a user