-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrav.yaml
More file actions
38 lines (38 loc) · 1.21 KB
/
rav.yaml
File metadata and controls
38 lines (38 loc) · 1.21 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
scripts:
install:
- venv/bin/python3 -m pip uninstall -y timescaledb
- venv/bin/python3 -m pip install -e .
init_alembic:
- cd sample_project
- ../venv/bin/python -m alembic init migrations
makemigrations:
- cd sample_project
- ../venv/bin/python -m alembic revision --autogenerate -m "$message"
generate_samples:
- echo "Assuming sample project is running on http://localhost:8000"
- sh sample_project/create-data.sh 50
time_bucket_gap_fill:
- echo "Assuming sample project is running on http://localhost:8000"
- curl http://localhost:8000/metrics/buckets/
migrate:
- cd sample_project
- ../venv/bin/python -m alembic upgrade head
sample_server_install:
- cd sample_project
- ../venv/bin/pip install -r requirements.txt
sample_server:
- cd sample_project
- ../venv/bin/uvicorn main:app --reload
sample_shell:
- cd sample_project
- ../venv/bin/python main.py
bump:
- venv/bin/bump2version patch
test_verbose:
- venv/bin/tox run -f py312 -v -r -- --log-cli-level=DEBUG
- venv/bin/coverage combine
- venv/bin/coverage report
test:
- venv/bin/tox run -f py312
- venv/bin/coverage combine
- venv/bin/coverage report