migrate to code plaza

This commit is contained in:
n3t1zen
2026-07-16 00:58:59 +08:00
parent 9460e860b0
commit c714c1b18e
6 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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'