migrate to code plaza
This commit is contained in:
@@ -9,7 +9,7 @@ OUTPUT="$ROOT/works/core"
|
||||
REV_FILE="$ROOT/works/rev"
|
||||
|
||||
# defaults
|
||||
REPO_URL="git@git.inker.bot:arknights/sing-box.git"
|
||||
REPO_URL="https://git.sfclub.cc/icybear/sing-box.git"
|
||||
UPSTREAM_BRANCH="main"
|
||||
|
||||
CONFIG="$ROOT/works/config"
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ OUTPUT="$ROOT/works/core"
|
||||
REV_FILE="$ROOT/works/rev"
|
||||
|
||||
# defaults
|
||||
REPO_URL="git@git.inker.bot:arknights/sing-box.git"
|
||||
REPO_URL="https://git.sfclub.cc/icybear/sing-box.git"
|
||||
UPSTREAM_BRANCH="main"
|
||||
|
||||
CONFIG="$ROOT/works/config"
|
||||
|
||||
+2
-4
@@ -8,14 +8,12 @@ $Output = Join-Path $Root 'works/core'
|
||||
$RevFile = Join-Path $Root 'works/rev'
|
||||
|
||||
# defaults
|
||||
$RepoUrl = 'git@git.inker.bot:arknights/sing-box.git'
|
||||
$RepoUrl = 'https://git.sfclub.cc/icybear/sing-box.git'
|
||||
$UpstreamBranch = 'main'
|
||||
|
||||
if ($env:CI_JOB_TOKEN) {
|
||||
git config --global user.name imabot
|
||||
git config --global user.email ci@inker.bot
|
||||
$insteadOf = "https://gitlab-ci-token:${env:CI_JOB_TOKEN}@git.inker.bot/"
|
||||
git config --global url.$insteadOf.insteadOf "git@git.inker.bot:"
|
||||
git config --global user.email icybear+ci@sab.ee
|
||||
}
|
||||
|
||||
$ConfigFile = Join-Path $Root 'works/config'
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ $Output = Join-Path $Root 'works/core'
|
||||
$RevFile = Join-Path $Root 'works/rev'
|
||||
|
||||
# defaults
|
||||
$RepoUrl = 'git@git.inker.bot:arknights/sing-box.git'
|
||||
$RepoUrl = 'https://git.sfclub.cc/icybear/sing-box.git'
|
||||
$UpstreamBranch = 'main'
|
||||
|
||||
$ConfigFile = Join-Path $Root 'works/config'
|
||||
|
||||
+2
-3
@@ -7,11 +7,10 @@ SING_BOX="$ROOT/works/sing-box"
|
||||
REV_FILE="$ROOT/works/rev"
|
||||
|
||||
# defaults
|
||||
REPO_URL="git@git.inker.bot:arknights/sing-box.git"
|
||||
REPO_URL="https://git.sfclub.cc/icybear/sing-box.git"
|
||||
if [ ! -z "$DEPLOY_TOKEN" ]; then
|
||||
git config --global user.name imabot
|
||||
git config --global user.email ci@inker.bot
|
||||
git config --global url."https://${DEPLOY_TOKEN_USER}:${DEPLOY_TOKEN}@git.inker.bot/".insteadOf "git@git.inker.bot:"
|
||||
git config --global user.email icybear+ci@sab.ee
|
||||
fi
|
||||
UPSTREAM_BRANCH="main"
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ $SingBox = Join-Path $Root 'works/sing-box'
|
||||
$RevFile = Join-Path $Root 'works/rev'
|
||||
|
||||
# defaults
|
||||
$RepoUrl = 'git@git.inker.bot:arknights/sing-box.git'
|
||||
$RepoUrl = 'https://git.sfclub.cc/icybear/sing-box.git'
|
||||
$UpstreamBranch = 'main'
|
||||
|
||||
$ConfigFile = Join-Path $Root 'works/config'
|
||||
|
||||
Reference in New Issue
Block a user