🚀 Yimaru CI/CD Dashboard

Deployment #525

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

3304d8818fba37a46f789085aafbd99947040b1a

Status:

success

Created At:

8/13/2026, 9:03:29 AM

Commands (11)

git stash save "local changes 2026-08-13T09:03:29.609Z"
Success Exit: 0
Output:
Saved working directory and index state On production: local changes 2026-08-13T09:03:29.609Z
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at edcdaa5 Fix team member seed for allowed roles so Super Admin can be created.
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 282 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 edcdaa5..3304d88
Fast-forward
 ...0105_lms_multiple_practices_per_parent.down.sql |  8 +++++
 ...000105_lms_multiple_practices_per_parent.up.sql |  4 +++
 db/query/exam_prep_catalog_courses.sql             |  5 +++-
 db/query/exam_prep_unit_module_lessons.sql         |  5 +++-
 db/query/exam_prep_unit_modules.sql                |  5 +++-
 db/query/exam_prep_units.sql                       |  5 +++-
 db/query/lms_courses.sql                           | 10 +++++--
 db/query/lms_lessons.sql                           |  5 +++-
 db/query/lms_modules.sql                           |  5 +++-
 gen/db/exam_prep_catalog_courses.sql.go            |  5 +++-
 gen/db/exam_prep_unit_module_lessons.sql.go        |  5 +++-
 gen/db/exam_prep_unit_modules.sql.go               |  5 +++-
 gen/db/exam_prep_units.sql.go                      |  5 +++-
 gen/db/lms_courses.sql.go                          | 10 +++++--
 gen/db/lms_lessons.sql.go                          |  5 +++-
 gen/db/lms_modules.sql.go                          |  5 +++-
 internal/services/examprep/service.go              |  6 ----
 internal/services/practices/service.go             | 35 +---------------------
 .../handlers/exam_prep_practice_handler.go         |  8 ++---
 internal/web_server/handlers/practice_handler.go   | 12 +++-----
 .../web_server/handlers/practice_publish_gate.go   |  8 +++++
 .../web_server/handlers/question_type_builder.go   |  3 +-
 22 files changed, 94 insertions(+), 70 deletions(-)
 create mode 100644 db/migrations/000105_lms_multiple_practices_per_parent.down.sql
 create mode 100644 db/migrations/000105_lms_multiple_practices_per_parent.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  
---------
 1909957
(1 row)

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

 setval 
--------
   8161
(1 row)

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