db867dcbe5
Deploy to Staging / deploy (push) Has been cancelled
Conflict detector / main (push) Has been cancelled
Lint Backend / lint-backend (push) Has been cancelled
Playwright Tests / changes (push) Has been cancelled
Test Backend / test-backend (push) Has been cancelled
Test Docker Compose / test-docker-compose (push) Has been cancelled
Playwright Tests / test-playwright (1, 4) (push) Has been cancelled
Playwright Tests / test-playwright (2, 4) (push) Has been cancelled
Playwright Tests / test-playwright (3, 4) (push) Has been cancelled
Playwright Tests / test-playwright (4, 4) (push) Has been cancelled
Playwright Tests / merge-playwright-reports (push) Has been cancelled
Playwright Tests / alls-green-playwright (push) Has been cancelled
Issue Manager / issue-manager (push) Has been cancelled
14 lines
203 B
Bash
14 lines
203 B
Bash
#! /usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# 等待数据库启动
|
|
python app/backend_pre_start.py
|
|
|
|
# 运行数据库迁移
|
|
alembic upgrade head
|
|
|
|
# 在数据库中创建初始数据
|
|
python app/initial_data.py
|