🚀 Yimaru CI/CD Dashboard

Deployment #198

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

de95c4d0d2b57e04673e6fc9e0ca363c33be8d21

Status:

success

Created At:

4/20/2026, 4:26:36 PM

Commands (11)

git stash save "local changes 2026-04-20T16:26:36.904Z"
Success Exit: 0
Output:
Saved working directory and index state On production: local changes 2026-04-20T16:26:36.904Z
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at 90baa58 fix: load sub-module lesson by ID regardless of active flag
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 31 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 90baa58..de95c4d
Fast-forward
 ...module_content_inactive_purge_tracking.down.sql |   3 +
 ...b_module_content_inactive_purge_tracking.up.sql |  26 +++
 db/query/hierarchy.sql                             |  62 +++++-
 docs/docs.go                                       |  55 ++++-
 docs/swagger.json                                  |  55 ++++-
 docs/swagger.yaml                                  |  39 +++-
 gen/db/compat_course_management.go                 |   8 +-
 gen/db/hierarchy.sql.go                            | 229 ++++++++++++++-------
 gen/db/models.go                                   |   3 +
 internal/config/config.go                          |  35 ++++
 internal/web_server/app.go                         |  91 +++++++-
 internal/web_server/handlers/hierarchy_handler.go  |  52 +++++
 internal/web_server/handlers/questions.go          |  66 +++---
 internal/web_server/routes.go                      |   1 +
 14 files changed, 601 insertions(+), 124 deletions(-)
 create mode 100644 db/migrations/000040_sub_module_content_inactive_purge_tracking.down.sql
 create mode 100644 db/migrations/000040_sub_module_content_inactive_purge_tracking.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 0
UPDATE 1
INSERT 0 0
Seeding /home/yimaru/Yimaru-BackEnd/db/data/003_fix_autoincrement_desync.sql...
 setval 
--------
     26
(1 row)

 setval 
--------
      8
(1 row)

 setval 
--------
     48
(1 row)

 setval 
--------
     13
(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...
Skipping /home/yimaru/Yimaru-BackEnd/db/data/007_course_management_seed.sql (course management seed disabled)
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