🚀 Yimaru CI/CD Dashboard

Deployment #552

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

77de56d8012e07ae652f52d277acb96be4708ee0

Status:

success

Created At:

8/24/2026, 3:42:27 PM

Commands (11)

git stash save "local changes 2026-08-24T15:42:27.426Z"
Success Exit: 0
Output:
No local changes to save
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 behind 'origin/production' by 6 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
Error:
Already on 'production'
git pull https://***:***@gitea.yaltopia.com/Yimaru/Yimaru-BackEnd.git production
Success Exit: 0
Output:
Updating 0027b74..77de56d
Fast-forward
 README.md                                          |   2 +-
 cmd/main.go                                        |   6 +-
 ...09_user_practice_progress_parent_scope.down.sql |  40 ++
 ...0109_user_practice_progress_parent_scope.up.sql |  87 +++
 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 +
 docs/web-checkout-client-integration.md            | 633 +++++++++++++++++++++
 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/config/config.go                          |   4 +
 internal/domain/activity_log.go                    |   1 +
 internal/domain/exam_prep_practice.go              |  35 ++
 internal/domain/practice.go                        |  53 +-
 internal/domain/subscription_checkout_link.go      |  88 +++
 internal/domain/subscription_checkout_link_test.go |  67 +++
 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/repository/user.go                        |  36 +-
 internal/repository/user_contact.go                |  38 +-
 internal/services/authentication/google.go         |  54 +-
 internal/services/lmsprogress/service.go           |   6 +-
 internal/services/questions/service.go             |   4 +-
 internal/services/rbac/seeds.go                    |   7 +-
 internal/web_server/handlers/auth_handler.go       |   6 +-
 internal/web_server/handlers/questions.go          |  44 +-
 .../handlers/subscription_checkout_link.go         | 222 ++++++++
 internal/web_server/routes.go                      |   1 +
 38 files changed, 1913 insertions(+), 322 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
 create mode 100644 docs/web-checkout-client-integration.md
 create mode 100644 internal/domain/subscription_checkout_link.go
 create mode 100644 internal/domain/subscription_checkout_link_test.go
 create mode 100644 internal/web_server/handlers/subscription_checkout_link.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
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  
---------
 1910735
(1 row)

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

 setval 
--------
   9577
(1 row)

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