🚀 Yimaru CI/CD Dashboard

Deployment #518

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

cdc473df80cd53b324b4cf5a21b38e126b1f75a6

Status:

success

Created At:

8/8/2026, 9:00:57 AM

Commands (11)

git stash save "local changes 2026-08-08T09:00:57.978Z"
Success Exit: 0
Output:
Saved working directory and index state On production: local changes 2026-08-08T09:00:57.978Z
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at ad3f441 Grant ADMIN team invite and resend permissions by default.
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 279 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 ad3f441..cdc473d
Fast-forward
 db/migrations/000104_admin_revoke_team_invite.down.sql |  8 ++++++++
 db/migrations/000104_admin_revoke_team_invite.up.sql   |  7 +++++++
 internal/services/rbac/seeds.go                        | 10 +++++-----
 3 files changed, 20 insertions(+), 5 deletions(-)
 create mode 100644 db/migrations/000104_admin_revoke_team_invite.down.sql
 create mode 100644 db/migrations/000104_admin_revoke_team_invite.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 1
UPDATE 0
UPDATE 1
INSERT 0 0
Seeding /home/yimaru/Yimaru-BackEnd/db/data/003_fix_autoincrement_desync.sql...
 setval  
---------
 1909468
(1 row)

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

 setval 
--------
   7286
(1 row)

 setval  
---------
 2906165
(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
ERROR:  new row for relation "team_members" violates check constraint "team_members_team_role_check"
DETAIL:  Failing row contains (4, Support, AGENT, support-team@yimaru.com, 0944001100, \x243261243036244765617663376e4b6b4a627748376b6d50324b6562656650..., SUPPORT_AGENT, Support, Customer Support Specialist, full_time, 2024-03-15, null, Handles customer inquiries and support tickets., null, null, active, t, ["users.view", "tickets.manage", "support.manage"], null, null, null, 2026-08-08 09:01:04.731362+00, null).
sudo systemctl restart yimaru_backend.service
Success Exit: 0