🚀 Yimaru CI/CD Dashboard

Deployment #431

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

085a9a3db4365989f325b5192c9f1de281d51451

Status:

success

Created At:

7/2/2026, 1:51:29 PM

Commands (11)

git stash save "local changes 2026-07-02T13:51:29.223Z"
Success Exit: 0
Output:
Saved working directory and index state On production: local changes 2026-07-02T13:51:29.223Z
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at a523948 fix: return exam-prep catalog and unit parents in question type practice list
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 224 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 a523948..085a9a3
Fast-forward
 cmd/main.go                                        |   2 +-
 ..._subscription_activated_email_template.down.sql |   2 +
 ...96_subscription_activated_email_template.up.sql |  36 +
 ...ition-practices-list-admin-panel-integration.md | 757 +++++++++++++++++++++
 internal/domain/email_template.go                  |   5 +-
 internal/services/arifpay/service.go               |   8 +-
 internal/services/chapa/service.go                 |   2 +-
 .../services/emailtemplates/brand_templates.go     |   9 +
 internal/services/emailtemplates/defaults.go       |   9 +
 internal/services/learnernotifications/service.go  |  90 ++-
 .../services/learnernotifications/subscription.go  |  42 ++
 .../learnernotifications/subscription_test.go      |  37 +
 internal/web_server/handlers/subscriptions.go      |   2 +-
 13 files changed, 980 insertions(+), 21 deletions(-)
 create mode 100644 db/migrations/000096_subscription_activated_email_template.down.sql
 create mode 100644 db/migrations/000096_subscription_activated_email_template.up.sql
 create mode 100644 docs/question-type-definition-practices-list-admin-panel-integration.md
 create mode 100644 internal/services/learnernotifications/subscription.go
 create mode 100644 internal/services/learnernotifications/subscription_test.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  
---------
 1907020
(1 row)

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

 setval 
--------
   3056
(1 row)

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