come tf on
This commit is contained in:
parent
dcbc0fe415
commit
f5c56162cd
10
.drone.yml
10
.drone.yml
|
|
@ -2,19 +2,23 @@ kind: pipeline
|
|||
name: default
|
||||
type: docker
|
||||
|
||||
pipeline:
|
||||
unittest:
|
||||
steps:
|
||||
- name: unitest
|
||||
image: python
|
||||
commands:
|
||||
- pip install -r requirements_test.txt
|
||||
- ./scripts/drone/setup.sh
|
||||
- ./scripts/drone/test.sh
|
||||
depends_on:
|
||||
- clone
|
||||
|
||||
lint:
|
||||
- name: lint
|
||||
image: python
|
||||
commands:
|
||||
- pip install -r requirements_test.txt
|
||||
- ./scripts/drone/lint.sh
|
||||
depends_on:
|
||||
- clone
|
||||
|
||||
settings:
|
||||
username:
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ from rest_framework import status
|
|||
from rest_framework.decorators import action
|
||||
from rest_framework.response import Response
|
||||
from rest_framework.viewsets import ModelViewSet
|
||||
from user.models import LockboxUser
|
||||
|
||||
# from user.models import LockboxUser
|
||||
from storage.models import File, FileChunk
|
||||
from storage.serializers import FileChunkSerializer, FileSerializer
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue