🚀 Yimaru CI/CD Dashboard

Deployment #533

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

135c2bd5cee5171611e7108bf10f4a36c4cfe68f

Status:

success

Created At:

8/16/2026, 4:27:46 PM

Commands (11)

git stash save "local changes 2026-08-16T16:27:46.988Z"
Success Exit: 0
Output:
Saved working directory and index state On production: local changes 2026-08-16T16:27:46.988Z
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at 426876c CICD-Test
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 287 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 426876c..135c2bd
Fast-forward
 db/query/user.sql                              | 156 +++++++++++++++++
 gen/db/user.sql.go                             | 234 +++++++++++++++++++++++--
 internal/domain/user.go                        |  33 +++-
 internal/ports/user.go                         |   9 +-
 internal/repository/user.go                    | 137 ++++++++-------
 internal/services/user/direct.go               |  68 ++-----
 internal/web_server/handlers/export_filters.go | 170 +++++++++++++++++-
 internal/web_server/handlers/user.go           |  59 +------
 8 files changed, 660 insertions(+), 206 deletions(-)
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  
---------
 1910215
(1 row)

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

 setval 
--------
   8627
(1 row)

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