🚀 Yimaru CI/CD Dashboard

Deployment #21

← Back to List
Repository:

Yimaru/Yimaru-BackEnd

Branch:

production

Commit:

83848d6ebd37863c98c69556b43f70e00dc9dba7

Status:

success

Created At:

3/4/2026, 6:27:33 AM

Commands (16)

git stash save "local changes 2026-03-04T06:27:33.063Z"
Success Exit: 0
Output:
No local changes to save
git reset --hard HEAD
Success Exit: 0
Output:
HEAD is now at f5c95a9 Empty commit to trigger CI/CD - 4
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
Error:
Already on 'production'
git pull https://***:***@gitea.yaltopia.com/Yimaru/Yimaru-BackEnd.git production
Success Exit: 0
Output:
Updating f5c95a9..83848d6
Fast-forward
Error:
From https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd
 * branch            production -> FETCH_HEAD
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
make backup
Success Exit: 0
make db-down
Success Exit: 0
Error:
time="2026-03-04T06:27:33Z" level=warning msg="/home/yimaru/Yimaru-BackEnd/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
 Container yimaru-backend-test-1 Stopping 
 Container yimaru-pgadmin Stopping 
 Container yimaru-mongo Stopping 
 Container yimaru-backend-app-1 Stopping 
 Container yimaru-backend-app-1 Stopped 
 Container yimaru-backend-app-1 Removing 
 Container yimaru-backend-app-1 Removed 
 Container yimaru-backend-migrate-1 Stopping 
 Container yimaru-backend-migrate-1 Stopped 
 Container yimaru-backend-migrate-1 Removing 
 Container yimaru-backend-migrate-1 Removed 
 Container yimaru-mongo Stopped 
 Container yimaru-mongo Removing 
 Container yimaru-mongo Removed 
 Container yimaru-pgadmin Stopped 
 Container yimaru-pgadmin Removing 
 Container yimaru-pgadmin Removed 
 Container yimaru-backend-postgres-1 Stopping 
 Container yimaru-backend-postgres-1 Stopped 
 Container yimaru-backend-postgres-1 Removing 
 Container yimaru-backend-postgres-1 Removed 
 Container yimaru-backend-test-1 Stopped 
 Container yimaru-backend-test-1 Removing 
 Container yimaru-backend-test-1 Removed 
 Network yimaru-backend_app Removing 
 Volume yimaru-backend_pgadmin_data Removing 
 Volume yimaru-backend_mongo_data Removing 
 Volume yimaru-backend_pgadmin_data Removed 
 Volume yimaru-backend_postgres_data Removing 
 Volume yimaru-backend_mongo_data Removed 
 Network yimaru-backend_app Removed 
 Volume yimaru-backend_postgres_data Removed 
make db-up
Success Exit: 0
Error:
time="2026-03-04T06:27:44Z" level=warning msg="/home/yimaru/Yimaru-BackEnd/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
time="2026-03-04T06:27:44Z" level=warning msg="No services to build"
 Network yimaru-backend_app Creating 
 Network yimaru-backend_app Created 
 Volume yimaru-backend_postgres_data Creating 
 Volume yimaru-backend_postgres_data Created 
 Volume yimaru-backend_mongo_data Creating 
 Volume yimaru-backend_mongo_data Created 
 Container yimaru-backend-postgres-1 Creating 
 Container yimaru-mongo Creating 
 Container yimaru-mongo Created 
 Container yimaru-backend-postgres-1 Created 
 Container yimaru-backend-migrate-1 Creating 
 Container yimaru-backend-migrate-1 Created 
 Container yimaru-mongo Starting 
 Container yimaru-backend-postgres-1 Starting 
 Container yimaru-mongo Started 
 Container yimaru-backend-postgres-1 Started 
 Container yimaru-backend-postgres-1 Waiting 
 Container yimaru-backend-postgres-1 Healthy 
 Container yimaru-backend-migrate-1 Starting 
 Container yimaru-backend-migrate-1 Started 
sleep 5
Success Exit: 0
make restore
Success Exit: 0
Output:
Restoring latest backup...
Restoring from backup/dump_2026-03-04_06_27_33.sql.gz
SET
SET
SET
SET
 set_config 
------------
 
(1 row)

SET
SET
SET
SET
COPY 54
COPY 3
COPY 8
COPY 7
COPY 0
COPY 28
COPY 22
COPY 3
COPY 0
COPY 0
COPY 0
COPY 20
COPY 64
COPY 17
COPY 5
COPY 0
COPY 0
COPY 34
COPY 12
COPY 7
 setval 
--------
     54
(1 row)

 setval 
--------
      3
(1 row)

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

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

 setval 
--------
     23
(1 row)

 setval 
--------
      4
(1 row)

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

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

 setval 
--------
     65
(1 row)

 setval 
--------
     21
(1 row)

 setval 
--------
      5
(1 row)

 setval 
--------
      5
(1 row)

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

 setval 
--------
     20
(1 row)

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

 setval 
--------
     35
(1 row)

 setval 
--------
     13
(1 row)

 setval 
--------
      5
(1 row)

 setval 
--------
     17
(1 row)

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

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

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

 setval 
--------
     16
(1 row)

Error:
ERROR:  syntax error at or near "pg_dump"
LINE 1: pg_dump: warning: there are circular foreign-key constraints...
        ^
ERROR:  duplicate key value violates unique constraint "question_sets_pkey"
DETAIL:  Key (id)=(1) already exists.
CONTEXT:  COPY question_sets, line 1
ERROR:  insert or update on table "question_set_items" violates foreign key constraint "question_set_items_set_id_fkey"
DETAIL:  Key (set_id)=(2) is not present in table "question_sets".
ERROR:  insert or update on table "question_set_personas" violates foreign key constraint "question_set_personas_question_set_id_fkey"
DETAIL:  Key (question_set_id)=(2) is not present in table "question_sets".
sleep 2
Success Exit: 0
make seed_data
Success Exit: 0
Output:
Waiting for PostgreSQL to be ready...
/var/run/postgresql:5432 - accepting connections
Seeding db/data/001_initial_seed_data.sql...
CREATE EXTENSION
INSERT 0 0
INSERT 0 0
INSERT 0 0
INSERT 0 20
INSERT 0 0
INSERT 0 20
INSERT 0 0
INSERT 0 24
INSERT 0 0
INSERT 0 16
INSERT 0 3
INSERT 0 7
INSERT 0 17
INSERT 0 5
INSERT 0 3
INSERT 0 0
INSERT 0 4
INSERT 0 5
INSERT 0 1
Seeding db/data/003_fix_autoincrement_desync.sql...
 setval 
--------
     16
(1 row)

 setval 
--------
     20
(1 row)

 setval 
--------
    129
(1 row)

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

 setval 
--------
      4
(1 row)

 setval 
--------
     41
(1 row)

 setval 
--------
     35
(1 row)

 setval 
--------
      4
(1 row)

 setval 
--------
     23
(1 row)

 setval 
--------
     13
(1 row)

 setval 
--------
      6
(1 row)

 setval 
--------
     15
(1 row)

 setval 
--------
     34
(1 row)

 setval 
--------
     10
(1 row)

 setval 
--------
     10
(1 row)

Seeding db/data/004_activity_logs_seed.sql...
INSERT 0 30
Seeding db/data/005_issue_reporting_seed.sql...
INSERT 0 12
Seeding db/data/006_notifications_seed.sql...
INSERT 0 21
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
sudo systemctl restart yimaru_backend.service
Success Exit: 0