🚀 Yimaru CI/CD Dashboard

Deployment #226

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

10954d88b087a5e6a98299dd291669c2701c3766

Status:

success

Created At:

5/5/2026, 12:59:34 PM

Commands (11)

git stash save "local changes 2026-05-05T12:59:34.701Z"
Success Exit: 0
Output:
Saved working directory and index state On production: local changes 2026-05-05T12:59:34.701Z
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at eba2b87 Use initial assessment description as normalized level.
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 56 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 eba2b87..10954d8
Fast-forward
 cmd/main.go                                        |   3 +
 db/migrations/000047_lms_practices.down.sql        |   2 +-
 db/migrations/000051_exam_prep_schema.down.sql     |   2 +
 db/migrations/000051_exam_prep_schema.up.sql       |  15 +
 db/migrations/000052_exam_prep_units.down.sql      |   1 +
 db/migrations/000052_exam_prep_units.up.sql        |  14 +
 .../000053_exam_prep_unit_modules.down.sql         |   1 +
 db/migrations/000053_exam_prep_unit_modules.up.sql |  15 +
 .../000054_exam_prep_unit_module_lessons.down.sql  |   2 +
 .../000054_exam_prep_unit_module_lessons.up.sql    |  17 +
 .../000055_exam_prep_lesson_practices.down.sql     |   1 +
 .../000055_exam_prep_lesson_practices.up.sql       |  17 +
 db/query/exam_prep_catalog_courses.sql             |  53 ++
 db/query/exam_prep_lesson_practices.sql            |  52 ++
 db/query/exam_prep_unit_module_lessons.sql         |  68 ++
 db/query/exam_prep_unit_modules.sql                |  68 ++
 db/query/exam_prep_units.sql                       |  65 ++
 docs/docs.go                                       | 933 +++++++++++++++++++++
 docs/swagger.json                                  | 933 +++++++++++++++++++++
 docs/swagger.yaml                                  | 622 ++++++++++++++
 gen/db/exam_prep_catalog_courses.sql.go            | 207 +++++
 gen/db/exam_prep_lesson_practices.sql.go           | 217 +++++
 gen/db/exam_prep_unit_module_lessons.sql.go        | 243 ++++++
 gen/db/exam_prep_unit_modules.sql.go               | 243 ++++++
 gen/db/exam_prep_units.sql.go                      | 231 +++++
 gen/db/models.go                                   |  58 ++
 internal/domain/exam_prep_catalog_course.go        |  27 +
 internal/domain/exam_prep_lesson.go                |  31 +
 internal/domain/exam_prep_module.go                |  31 +
 internal/domain/exam_prep_practice.go              |  36 +
 internal/domain/exam_prep_unit.go                  |  28 +
 internal/domain/question_type_builder.go           | 223 +++++
 internal/domain/question_type_builder_test.go      |  66 ++
 internal/ports/exam_prep_catalog_course.go         |  17 +
 internal/ports/exam_prep_lesson.go                 |  17 +
 internal/ports/exam_prep_module.go                 |  17 +
 internal/ports/exam_prep_practice.go               |  15 +
 internal/ports/exam_prep_unit.go                   |  17 +
 internal/repository/exam_prep_catalog_courses.go   | 112 +++
 internal/repository/exam_prep_lesson_practices.go  | 126 +++
 internal/repository/exam_prep_reorder.go           | 113 +++
 .../repository/exam_prep_unit_module_lessons.go    | 120 +++
 internal/repository/exam_prep_unit_modules.go      | 120 +++
 internal/repository/exam_prep_units.go             | 116 +++
 internal/services/examprep/service.go              | 407 +++++++++
 internal/services/rbac/seeds.go                    |  51 ++
 internal/services/subscriptions/service.go         |  52 +-
 internal/web_server/app.go                         |   4 +
 .../handlers/exam_prep_catalog_course_handler.go   | 235 ++++++
 .../handlers/exam_prep_lesson_handler.go           | 255 ++++++
 .../handlers/exam_prep_module_handler.go           | 255 ++++++
 .../handlers/exam_prep_practice_handler.go         | 209 +++++
 .../web_server/handlers/exam_prep_unit_handler.go  | 266 ++++++
 internal/web_server/handlers/handlers.go           |   4 +
 .../web_server/handlers/question_type_builder.go   |  66 ++
 internal/web_server/handlers/subscriptions.go      |  60 +-
 internal/web_server/middleware.go                  |  40 +
 internal/web_server/routes.go                      |  66 +-
 postman/Duolingo-ExamPrep.postman_collection.json  | 457 ++++++++++
 59 files changed, 7708 insertions(+), 34 deletions(-)
 create mode 100644 db/migrations/000051_exam_prep_schema.down.sql
 create mode 100644 db/migrations/000051_exam_prep_schema.up.sql
 create mode 100644 db/migrations/000052_exam_prep_units.down.sql
 create mode 100644 db/migrations/000052_exam_prep_units.up.sql
 create mode 100644 db/migrations/000053_exam_prep_unit_modules.down.sql
 create mode 100644 db/migrations/000053_exam_prep_unit_modules.up.sql
 create mode 100644 db/migrations/000054_exam_prep_unit_module_lessons.down.sql
 create mode 100644 db/migrations/000054_exam_prep_unit_module_lessons.up.sql
 create mode 100644 db/migrations/000055_exam_prep_lesson_practices.down.sql
 create mode 100644 db/migrations/000055_exam_prep_lesson_practices.up.sql
 create mode 100644 db/query/exam_prep_catalog_courses.sql
 create mode 100644 db/query/exam_prep_lesson_practices.sql
 create mode 100644 db/query/exam_prep_unit_module_lessons.sql
 create mode 100644 db/query/exam_prep_unit_modules.sql
 create mode 100644 db/query/exam_prep_units.sql
 create mode 100644 gen/db/exam_prep_catalog_courses.sql.go
 create mode 100644 gen/db/exam_prep_lesson_practices.sql.go
 create mode 100644 gen/db/exam_prep_unit_module_lessons.sql.go
 create mode 100644 gen/db/exam_prep_unit_modules.sql.go
 create mode 100644 gen/db/exam_prep_units.sql.go
 create mode 100644 internal/domain/exam_prep_catalog_course.go
 create mode 100644 internal/domain/exam_prep_lesson.go
 create mode 100644 internal/domain/exam_prep_module.go
 create mode 100644 internal/domain/exam_prep_practice.go
 create mode 100644 internal/domain/exam_prep_unit.go
 create mode 100644 internal/domain/question_type_builder.go
 create mode 100644 internal/domain/question_type_builder_test.go
 create mode 100644 internal/ports/exam_prep_catalog_course.go
 create mode 100644 internal/ports/exam_prep_lesson.go
 create mode 100644 internal/ports/exam_prep_module.go
 create mode 100644 internal/ports/exam_prep_practice.go
 create mode 100644 internal/ports/exam_prep_unit.go
 create mode 100644 internal/repository/exam_prep_catalog_courses.go
 create mode 100644 internal/repository/exam_prep_lesson_practices.go
 create mode 100644 internal/repository/exam_prep_reorder.go
 create mode 100644 internal/repository/exam_prep_unit_module_lessons.go
 create mode 100644 internal/repository/exam_prep_unit_modules.go
 create mode 100644 internal/repository/exam_prep_units.go
 create mode 100644 internal/services/examprep/service.go
 create mode 100644 internal/web_server/handlers/exam_prep_catalog_course_handler.go
 create mode 100644 internal/web_server/handlers/exam_prep_lesson_handler.go
 create mode 100644 internal/web_server/handlers/exam_prep_module_handler.go
 create mode 100644 internal/web_server/handlers/exam_prep_practice_handler.go
 create mode 100644 internal/web_server/handlers/exam_prep_unit_handler.go
 create mode 100644 internal/web_server/handlers/question_type_builder.go
 create mode 100644 postman/Duolingo-ExamPrep.postman_collection.json
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 3
INSERT 0 0
UPDATE 1
INSERT 0 0
Seeding /home/yimaru/Yimaru-BackEnd/db/data/003_fix_autoincrement_desync.sql...
 setval 
--------
    132
(1 row)

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

 setval 
--------
    314
(1 row)

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