🚀 Yimaru CI/CD Dashboard

Deployment #543

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

447a6e886bb9503f87aaf6f03861eeb1b9a93f3d

Status:

success

Created At:

8/20/2026, 11:10:38 AM

Commands (11)

git stash save "local changes 2026-08-20T11:10:39.057Z"
Success Exit: 0
Output:
Saved working directory and index state On production: local changes 2026-08-20T11:10:39.057Z
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at 0027b74 List module and course practices by direct parent link only.
git fetch https://***:***@gitea.yaltopia.com/Yimaru/Yimaru-BackEnd.git production
Success Exit: 0
Error:
From https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd
 * branch            production -> FETCH_HEAD
git checkout production
Success Exit: 0
Output:
Your branch is ahead of 'origin/production' by 292 commits.
  (use "git push" to publish your local commits)
Error:
Already on 'production'
git pull https://***:***@gitea.yaltopia.com/Yimaru/Yimaru-BackEnd.git production
Success Exit: 0
Output:
Updating 0027b74..447a6e8
Fast-forward
 ...09_user_practice_progress_parent_scope.down.sql |  37 ++++
 ...0109_user_practice_progress_parent_scope.up.sql |  80 +++++++
 db/query/exam_prep_admin_activity.sql              |   3 +
 db/query/exam_prep_progress.sql                    |  59 +++--
 db/query/lms_admin_activity.sql                    |   9 +
 db/query/lms_progress.sql                          | 246 +++++++++++----------
 db/query/practice_progress.sql                     |  20 +-
 db/query/user_recent_activity.sql                  |   9 +
 gen/db/exam_prep_admin_activity.sql.go             |   3 +
 gen/db/exam_prep_progress.sql.go                   |  72 ++++--
 gen/db/lms_admin_activity.sql.go                   |   9 +
 gen/db/lms_progress.sql.go                         | 246 +++++++++++----------
 gen/db/models.go                                   |   3 +
 gen/db/practice_progress.sql.go                    |  57 ++++-
 gen/db/user_recent_activity.sql.go                 |   9 +
 internal/domain/exam_prep_practice.go              |  35 +++
 internal/domain/practice.go                        |  53 ++++-
 internal/ports/questions.go                        |   2 +-
 internal/repository/exam_prep_access.go            |   4 +-
 internal/repository/lms_progress_tx.go             |  45 ++--
 internal/repository/questions.go                   |   5 +-
 internal/services/lmsprogress/service.go           |   6 +-
 internal/services/questions/service.go             |   4 +-
 internal/web_server/handlers/questions.go          |  44 +++-
 24 files changed, 750 insertions(+), 310 deletions(-)
 create mode 100644 db/migrations/000109_user_practice_progress_parent_scope.down.sql
 create mode 100644 db/migrations/000109_user_practice_progress_parent_scope.up.sql
Error:
From https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd
 * branch            production -> FETCH_HEAD
git apply docker-compose.patch
Success Exit: 0
export GOPATH=/home/yimaru/go GOROOT=/usr/lib/go-1.24 PATH=/usr/bin:/home/yimaru/go/bin:$PATH && go mod tidy
Success Exit: 0
sudo systemctl stop yimaru_backend.service
Success Exit: 0
export GOPATH=/home/yimaru/go GOROOT=/usr/lib/go-1.24 PATH=/usr/bin:/home/yimaru/go/bin:$PATH && go build -ldflags='-s' -o ./bin/web ./cmd/main.go
Success Exit: 0
seed backend sql files
Success Exit: 0
Output:
Seeding /home/yimaru/Yimaru-BackEnd/db/data/001_initial_seed_data.sql...
CREATE EXTENSION
INSERT 0 0
INSERT 0 1
UPDATE 0
INSERT 0 0
INSERT 0 1
INSERT 0 1
INSERT 0 1
UPDATE 1
UPDATE 1
INSERT 0 0
Seeding /home/yimaru/Yimaru-BackEnd/db/data/003_fix_autoincrement_desync.sql...
 setval  
---------
 1910513
(1 row)

 setval 
--------
     14
(1 row)

 setval 
--------
   9164
(1 row)

 setval  
---------
 2906387
(1 row)
Seeding /home/yimaru/Yimaru-BackEnd/db/data/004_activity_logs_seed.sql...
Seeding /home/yimaru/Yimaru-BackEnd/db/data/005_issue_reporting_seed.sql...
Seeding /home/yimaru/Yimaru-BackEnd/db/data/006_notifications_seed.sql...
Seeding /home/yimaru/Yimaru-BackEnd/db/data/008_account_deletion_requests_seed.sql...
Seeding /home/yimaru/Yimaru-BackEnd/db/data/009_question_types_seed.sql...
Error:
/home/yimaru/Yimaru-BackEnd/db/data/001_initial_seed_data.sql:
NOTICE:  extension "pgcrypto" already exists, skipping
sudo systemctl restart yimaru_backend.service
Success Exit: 0