🚀 Yimaru CI/CD Dashboard

Deployment #205

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

33d34f0dd2c142e2c0a7e3249650234bf4758788

Status:

success

Created At:

4/24/2026, 9:16:01 AM

Commands (11)

git stash save "local changes 2026-04-24T09:16:01.675Z"
Success Exit: 0
Output:
Saved working directory and index state On production: local changes 2026-04-24T09:16:01.675Z
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at 5b53929 learning progress implementation
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 41 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 5b53929..33d34f0
Fast-forward
 db/migrations/000048_seed_default_courses.up.sql   | 21 +++++-----
 .../000050_default_courses_per_program.down.sql    |  1 +
 .../000050_default_courses_per_program.up.sql      | 45 ++++++++++++++++++++++
 internal/domain/course.go                          | 11 +++++-
 4 files changed, 66 insertions(+), 12 deletions(-)
 create mode 100644 db/migrations/000050_default_courses_per_program.down.sql
 create mode 100644 db/migrations/000050_default_courses_per_program.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 
--------
     37
(1 row)

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

 setval 
--------
     95
(1 row)

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