Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
customer-recall
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tools
customer-recall
Commits
31d697e1
Commit
31d697e1
authored
Aug 16, 2025
by
yiling.shen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify yaml to basic deployment only
parent
b87315c1
Pipeline
#3203
passed with stages
in 1 minute 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
.gitlab-ci.yml
+0
-21
No files found.
.gitlab-ci.yml
View file @
31d697e1
...
...
@@ -35,28 +35,7 @@ deploy_to_production:
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "/tmp/deploy_with_backup.sh"
-
echo "Checking deployment status"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose ps"
-
echo "Database Diagnostics Start"
-
echo "Check MySQL container status"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose ps mysql"
-
echo "Check MySQL container logs"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose logs --tail=10 mysql"
-
echo "Check MySQL container environment"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql env | grep -i mysql || echo 'Cannot get MySQL environment variables'"
-
echo "Try database connection"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql mysql -u root -pcallback_system_2024 -e 'SHOW DATABASES;' 2>&1 || echo 'Database connection failed'"
-
echo "Check network connection"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql ping -c 1 localhost || echo 'Container network connection failed'"
-
echo "Check MySQL process"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql ps aux | grep mysql || echo 'MySQL process check failed'"
-
echo "Check database files"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql ls -la /var/lib/mysql/ || echo 'Database files check failed'"
-
echo "Database Diagnostics End"
-
echo "Check clinic JSON files"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && ls -la 诊所患者json/ 2>/dev/null || echo 'Clinic patient json directory not found'"
-
echo "Check backup files"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "ls -lh /backup/database/production_backup_*.sql 2>/dev/null || echo 'No backup files found'"
-
echo "Deployment completed successfully"
-
echo "Deployment finished"
only
:
-
master
...
...
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