Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
classify_topic
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ocr_ai_sme
classify_topic
Commits
fcc22f24
Commit
fcc22f24
authored
Nov 20, 2026
by
svc-mlops
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sim: đồng bộ code serving, bump v1.0.4
parent
f45eb23d
Pipeline
#8
passed with stages
in 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
VERSION
VERSION
+1
-1
commit_version.sh
scripts/commit_version.sh
+4
-2
No files found.
VERSION
View file @
fcc22f24
1.0.
3
1.0.
4
scripts/commit_version.sh
View file @
fcc22f24
...
@@ -7,8 +7,10 @@ ENV_NAME=$1
...
@@ -7,8 +7,10 @@ ENV_NAME=$1
VERSION
=
$2
VERSION
=
$2
USER_NAME
=
$(
bash scripts/kretry.sh kubectl get secret git-push-creds
-n
ci
-o
jsonpath
=
'{.data.username}'
|
base64
-d
)
USER_NAME
=
$(
bash scripts/kretry.sh kubectl get secret git-push-creds
-n
ci
-o
jsonpath
=
'{.data.username}'
|
base64
-d
)
TOKEN
=
$(
bash scripts/kretry.sh kubectl get secret git-push-creds
-n
ci
-o
jsonpath
=
'{.data.token}'
|
base64
-d
)
TOKEN
=
$(
bash scripts/kretry.sh kubectl get secret git-push-creds
-n
ci
-o
jsonpath
=
'{.data.token}'
|
base64
-d
)
HOST
=
$(
echo
"
$CI_PROJECT_URL
"
|
sed
-E
's#^https?://##'
)
# GIT_PUSH_BASE (runner đặt) cho phép push qua địa chỉ nội bộ khi external_url của GitLab là tên miền khác
URL
=
"http://
${
USER_NAME
}
:
${
TOKEN
}
@
${
HOST
}
.git"
BASE
=
${
GIT_PUSH_BASE
:-$(
echo
"
$CI_PROJECT_URL
"
|
sed
-E
"s#/
${
CI_PROJECT_PATH
}
\$
##"
)}
HOST
=
$(
echo
"
$BASE
"
|
sed
-E
's#^https?://##'
)
URL
=
"http://
${
USER_NAME
}
:
${
TOKEN
}
@
${
HOST
}
/
${
CI_PROJECT_PATH
}
.git"
WORK
=
$(
mktemp
-d
)
WORK
=
$(
mktemp
-d
)
git clone
-q
--depth
1
--branch
master
"
$URL
"
"
$WORK
"
git clone
-q
--depth
1
--branch
master
"
$URL
"
"
$WORK
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment