Disable bitbucket
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
@@ -80,7 +80,7 @@ for REPO in ${REPOS}; do
|
|||||||
|
|
||||||
git remote add gitea "${GITEA_BASE}${REPO}" 1> /dev/null
|
git remote add gitea "${GITEA_BASE}${REPO}" 1> /dev/null
|
||||||
git remote add github "${GITHUB_BASE}${REPO}" 1> /dev/null
|
git remote add github "${GITHUB_BASE}${REPO}" 1> /dev/null
|
||||||
git remote add bitbucket "${BITBUCKET_BASE}${REPO}" 1> /dev/null
|
# git remote add bitbucket "${BITBUCKET_BASE}${REPO}" 1> /dev/null
|
||||||
git remote add gitlab "${GITLAB_BASE}$(echo ${REPO} |tr "." "-")" 1> /dev/null
|
git remote add gitlab "${GITLAB_BASE}$(echo ${REPO} |tr "." "-")" 1> /dev/null
|
||||||
# git remote add codeberg "${CODEBERG_BASE}${REPO}" 1> /dev/null
|
# git remote add codeberg "${CODEBERG_BASE}${REPO}" 1> /dev/null
|
||||||
|
|
||||||
@@ -93,18 +93,18 @@ for REPO in ${REPOS}; do
|
|||||||
|
|
||||||
githubGetRepo ${REPO} || githubMakeRepo ${REPO}
|
githubGetRepo ${REPO} || githubMakeRepo ${REPO}
|
||||||
gitlabGetRepo ${REPO} || gitlabMakeRepo ${REPO}
|
gitlabGetRepo ${REPO} || gitlabMakeRepo ${REPO}
|
||||||
bitbucketGetRepo ${REPO} || bitbucketMakeRepo ${REPO}
|
# bitbucketGetRepo ${REPO} || bitbucketMakeRepo ${REPO}
|
||||||
# codebergGetRepo ${REPO} || codebergMakeRepo ${REPO}
|
# codebergGetRepo ${REPO} || codebergMakeRepo ${REPO}
|
||||||
|
|
||||||
git pull --ff-only gitea ${BRANCH} 1> /dev/null || { failed; continue; }
|
git pull --ff-only gitea ${BRANCH} 1> /dev/null || { failed; continue; }
|
||||||
git pull --ff-only github ${BRANCH} 1> /dev/null || printf "\nℹ️ Unable to pull from GitHub\n\n"
|
git pull --ff-only github ${BRANCH} 1> /dev/null || printf "\nℹ️ Unable to pull from GitHub\n\n"
|
||||||
git pull --ff-only bitbucket ${BRANCH} 1> /dev/null || printf "\nℹ️ Unable to pull from BitBucket\n\n"
|
# git pull --ff-only bitbucket ${BRANCH} 1> /dev/null || printf "\nℹ️ Unable to pull from BitBucket\n\n"
|
||||||
git pull --ff-only gitlab ${BRANCH} 1> /dev/null || printf "\nℹ️ Unable to pull from Gitlab\n\n"
|
git pull --ff-only gitlab ${BRANCH} 1> /dev/null || printf "\nℹ️ Unable to pull from Gitlab\n\n"
|
||||||
# git pull --ff-only codeberg ${BRANCH} 1> /dev/null || printf "\nℹ️ Unable to pull from Codeberg\n\n"
|
# git pull --ff-only codeberg ${BRANCH} 1> /dev/null || printf "\nℹ️ Unable to pull from Codeberg\n\n"
|
||||||
|
|
||||||
git push --follow-tags --set-upstream gitea ${BRANCH} 1> /dev/null || { failed "gitea"; }
|
git push --follow-tags --set-upstream gitea ${BRANCH} 1> /dev/null || { failed "gitea"; }
|
||||||
git push -f --follow-tags --set-upstream github ${BRANCH} 1> /dev/null || { failed "github"; }
|
git push -f --follow-tags --set-upstream github ${BRANCH} 1> /dev/null || { failed "github"; }
|
||||||
git push -f --follow-tags --set-upstream bitbucket ${BRANCH} 1> /dev/null || { failed "bitbucket"; }
|
# git push -f --follow-tags --set-upstream bitbucket ${BRANCH} 1> /dev/null || { failed "bitbucket"; }
|
||||||
git push -f --follow-tags --set-upstream gitlab ${BRANCH} 1> /dev/null || { failed "gitlab"; }
|
git push -f --follow-tags --set-upstream gitlab ${BRANCH} 1> /dev/null || { failed "gitlab"; }
|
||||||
# git push -f --follow-tags --set-upstream codeberg ${BRANCH} 1> /dev/null || { failed "codeberg"; }
|
# git push -f --follow-tags --set-upstream codeberg ${BRANCH} 1> /dev/null || { failed "codeberg"; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user