🚀 Yimaru CI/CD Dashboard

Deployment #408

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

208c653e02c28b18ebaeed16a5c94fea316145aa

Status:

success

Created At:

6/25/2026, 12:21:03 PM

Commands (11)

git stash save "local changes 2026-06-25T12:21:03.537Z"
Success Exit: 0
Output:
Saved working directory and index state On production: local changes 2026-06-25T12:21:03.537Z
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at cbbde85 fix: upsert OPEN_LEARNER seed password by email
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 209 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 cbbde85..208c653
Fast-forward
 .../000093_exam_prep_practice_parents.down.sql     |  16 ++
 .../000093_exam_prep_practice_parents.up.sql       |  26 ++
 db/query/exam_prep_admin_activity.sql              |  52 ++--
 db/query/exam_prep_catalog_courses.sql             |  80 ++++--
 db/query/exam_prep_lesson_practices.sql            |  16 +-
 db/query/exam_prep_practice_parents.sql            |  43 ++++
 db/query/exam_prep_progress.sql                    | 220 +++++++++++++---
 db/query/exam_prep_unit_module_lessons.sql         |   8 +-
 db/query/exam_prep_unit_modules.sql                |   8 +-
 db/query/exam_prep_units.sql                       |  53 +++-
 db/query/practices_by_question_type.sql            |   8 +-
 gen/db/exam_prep_admin_activity.sql.go             |  70 +++--
 gen/db/exam_prep_catalog_courses.sql.go            |  80 ++++--
 gen/db/exam_prep_lesson_practices.sql.go           | 100 ++++----
 gen/db/exam_prep_practice_parents.sql.go           | 188 ++++++++++++++
 gen/db/exam_prep_progress.sql.go                   | 284 +++++++++++++++++----
 gen/db/exam_prep_unit_module_lessons.sql.go        |   8 +-
 gen/db/exam_prep_unit_modules.sql.go               |   8 +-
 gen/db/exam_prep_units.sql.go                      |  53 +++-
 gen/db/models.go                                   |  29 ++-
 gen/db/practices_by_question_type.sql.go           |   8 +-
 internal/domain/admin_user_learning_activity.go    |  10 +-
 internal/domain/exam_prep_practice.go              |  68 ++++-
 internal/ports/exam_prep_practice.go               |   8 +-
 internal/repository/exam_prep_lesson_practices.go  | 156 ++++++++---
 internal/repository/exam_prep_progress.go          |  54 +++-
 internal/services/examprep/service.go              |  85 +++++-
 .../lmsprogress/admin_exam_prep_learning.go        | 157 +++++++++---
 internal/services/lmsprogress/service.go           |  51 +++-
 internal/services/rbac/seeds.go                    |  12 +-
 internal/web_server/content_access_middleware.go   |  15 +-
 .../handlers/exam_prep_practice_handler.go         | 186 ++++++++++++--
 internal/web_server/middleware.go                  |  15 +-
 internal/web_server/routes.go                      |   4 +
 34 files changed, 1773 insertions(+), 406 deletions(-)
 create mode 100644 db/migrations/000093_exam_prep_practice_parents.down.sql
 create mode 100644 db/migrations/000093_exam_prep_practice_parents.up.sql
 create mode 100644 db/query/exam_prep_practice_parents.sql
 create mode 100644 gen/db/exam_prep_practice_parents.sql.go
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
UPDATE 1
INSERT 0 0
Seeding /home/yimaru/Yimaru-BackEnd/db/data/003_fix_autoincrement_desync.sql...
 setval  
---------
 1906569
(1 row)

 setval 
--------
     11
(1 row)

 setval 
--------
   2309
(1 row)

 setval  
---------
 2905621
(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