Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VCCI-News
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
Văn Hoàng
VCCI-News
Commits
38166173
Commit
38166173
authored
Nov 04, 2025
by
Đoàn Quốc Huy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[tag]staging
parent
ba346d8b
Pipeline
#43269
failed with stages
in 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
deploy.sh
.ci/deploy/deploy.sh
+2
-2
env-param.sh
.ci/env-param.sh
+3
-6
No files found.
.ci/deploy/deploy.sh
View file @
38166173
...
...
@@ -4,8 +4,8 @@ jq -r 'keys[] as $k | "\($k)=\(.[$k])"' $environment_json_path > .env
sed
-i
's|PROJECT-NAME|'
$project_name
'|'
docker-compose.yaml
sed
-i
's|ENVIRONMENT-NAME|'
$environment_name
'|'
docker-compose.yaml
sed
-i
's|IMAGE-NAME|'
$image_name
'|'
docker-compose.yaml
sed
-i
's|IMAGE-TAG|'
staging-admin-
$tag
'|'
docker-compose.yaml
sed
-i
's|MOUNT-DATA-FOLDER|'
$mount_data_folder
'|'
docker-compose.yaml
sed
-i
's|IMAGE-TAG|'
$tag
'|'
docker-compose.yaml
#
sed -i 's|MOUNT-DATA-FOLDER|'$mount_data_folder'|' docker-compose.yaml
echo
"
$CI_REGISTRY_PW
"
|
sudo
docker login registry.gitlab.com
-u
"
$CI_REGISTRY_USER
"
--password-stdin
sudo
docker-compose pull
sudo
docker-compose down
...
...
.ci/env-param.sh
View file @
38166173
#!/bin/bash
export
project_name
=
"
develop-mepharco
"
export
project_name
=
"
vcci-news
"
export
environment_json_path
=
".env"
export
image_name
=
"registry.gitlab.com/meu-solutions/ecommerce"
export
port_mapping
=
"8110"
export
port_mapping_admin
=
"8111"
export
environment_name
=
"staging"
export
img_bak_tag
=
"old"
export
image_name
=
"registry.gitlab.com/meu-solutions/vcci-news"
export
port_mapping
=
"3100"
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