-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathci.yml
More file actions
47 lines (47 loc) · 1.2 KB
/
ci.yml
File metadata and controls
47 lines (47 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
schemaVersion: v0.2
prepare:
steps:
- name: Install uv
command: curl -LsSf https://astral.sh/uv/install.sh | env
UV_INSTALL_DIR="$HOME/app" sh && chmod +x $HOME/app/uv
- name: init backend venv
command: cd backend && $HOME/app/uv venv --python 3.12
- name: Install backend requirements
command: cd backend && $HOME/app/uv pip install -r requirements.txt
- name: init frontend venv
command: cd frontend && $HOME/app/uv venv --python 3.12
- name: Install frontend requirements
command: cd frontend && $HOME/app/uv pip install -r requirements.txt
test:
steps: []
run:
backend:
isPublic: true
steps:
- name: Run service
command: cd backend && $HOME/app/uv run app.py
plan: 8
replicas: 1
network:
ports:
- port: 3000
isPublic: true
paths:
- port: 3000
path: /api
isPublic: true
frontend:
isPublic: true
steps:
- name: Run frontend
command: cd frontend && $HOME/app/uv run app.py
plan: 8
replicas: 1
network:
ports:
- port: 3000
isPublic: true
paths:
- port: 3000
path: /
isPublic: true