Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ steps:
cache_from:
- "registry.dev.onetask.ai/${DRONE_REPO}:main"
- "registry.dev.onetask.ai/${DRONE_REPO}:${DRONE_COMMIT_BRANCH}"

trigger:
event:
- push

---
kind: pipeline
type: docker
name: trigger update

platform:
arch: amd64

steps:
- name: trigger update
image: appleboy/drone-ssh
settings:
Expand All @@ -38,7 +52,12 @@ steps:
script:
- /bin/sh ./trigger_dev_deployment.sh

depends_on:
- amd64

trigger:
branch:
- dev
event:
- push

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM python:3.9
FROM python:3.9-slim

WORKDIR /program

Expand Down
2 changes: 1 addition & 1 deletion dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.9-slim

WORKDIR /app

Expand Down
30 changes: 0 additions & 30 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,8 @@
aniso8601==9.0.1
anyio==3.3.4
asgiref==3.4.1
attrs==21.2.0
black==21.10b0
certifi==2021.10.8
click==8.0.3
fastapi==0.70.0
greenlet==1.1.2
h11==0.12.0
idna==3.3
importlib-resources==5.4.0
itsdangerous==2.0.1
Jinja2==3.0.2
jsonschema==4.2.1
MarkupSafe==2.0.1
mypy-extensions==0.4.3
numpy==1.22.0
pandas==1.3.4
pathspec==0.9.0
platformdirs==2.4.0
psycopg2-binary==2.9.3
pydantic==1.8.2
pyrsistent==0.18.0
python-dateutil==2.8.2
pytz==2021.3
regex==2021.11.2
requests
scipy==1.7.2
six==1.16.0
sniffio==1.2.0
SQLAlchemy==1.4.32
starlette==0.16.0
tomli==1.2.2
typing-extensions==3.10.0.2
uvicorn==0.15.0
zipp==3.7.0
weak-nlp==0.0.11
2 changes: 1 addition & 1 deletion submodules/model