Skip to content

Commit 4be3d16

Browse files
upgrades (#332)
* Heroku ready (#276) * Get heroku ready * Add yml file * Remove unneeded files * Remove deploy files * Remove check for services being ready * Update logs * Update logging * Updating tc root * Logging for photos * Logging for setting an image * More logging * Images to aws * Remove hash test * Storing images in s3 and tests * Adding secrets * Tests * Add runtime * Fix deploy * Install boto3 * Fix images * Remove end2end * upgrades * lint * test fix * print text * redis url change * more test prints * remove prints * pydantic 1.5.1 * prints just in case A new workflow * no print * Remove bad status badge Co-authored-by: Alex Ford <[email protected]>
1 parent 47550b7 commit 4be3d16

File tree

5 files changed

+27
-28
lines changed

5 files changed

+27
-28
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
POSTGRES_PASSWORD: postgres
2121
POSTGRES_DB: socket_test
2222
ports:
23-
- 5432:5432
23+
- 5432:5432
2424
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
2525
redis:
2626
image: redis
@@ -29,7 +29,7 @@ jobs:
2929
options: --entrypoint redis-server
3030

3131
env:
32-
DATABASE_URL: 'postgres://postgres:postgres@localhost:5432/socket_test'
32+
DATABASE_URL: 'postgres://postgres:postgres@127.0.0.1:5432/socket_test'
3333

3434
steps:
3535
- uses: actions/checkout@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
socket-server
22
=============
33

4-
[![Build Status](https://github.com/tutorcruncher/socket-server/workflows/CI/badge.svg)
4+
![Build Status](https://github.com/tutorcruncher/socket-server/workflows/CI/badge.svg)
55
[![codecov](https://codecov.io/gh/tutorcruncher/socket-server/branch/master/graph/badge.svg)](https://codecov.io/gh/tutorcruncher/socket-server)
66

77
Backend application for [TutorCruncher's](https://tutorcruncher.com) web integration.

tcsocket/requirements.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
SQLAlchemy==1.3.17
1+
SQLAlchemy==1.3.23
22
aiodns==2.0.0
3-
aiohttp==3.6.2
4-
aiopg==1.0.0
5-
arq==0.19.0
3+
aiohttp==3.7.4
4+
aiopg==1.1.0
5+
arq==0.19.1
66
boto3==1.14.7
7-
cchardet==2.1.6
7+
cchardet==2.1.7
88
gunicorn==20.0.4
99
python-dateutil==2.8.1
10-
pillow==7.1.2
10+
pillow==8.1.2
1111
pydantic[email]==1.5.1
1212
raven==6.10.0
13-
uvloop==0.14.0
14-
ipython==7.15.0
15-
pgcli==3.0.0
13+
uvloop==0.15.2
14+
ipython==7.21.0
15+
pgcli==3.1.0
1616
ipython-sql==0.4.0
17-
yarl==1.4.2
17+
yarl==1.6.3

tcsocket/run.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
from functools import partial
55

66
import click
7-
from arq import run_worker
8-
from gunicorn.app.base import BaseApplication
9-
107
from app.logs import setup_logging
118
from app.main import create_app
129
from app.management import prepare_database, run_patch
1310
from app.settings import Settings
1411
from app.worker import WorkerSettings
12+
from arq import run_worker
13+
from gunicorn.app.base import BaseApplication
1514

1615
logger = logging.getLogger('socket')
1716

tests/requirements.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
black==19.10b0
2-
attrs==19.3.0
3-
coverage==5.1
4-
flake8==3.8.2
5-
isort==4.3.21
6-
pycodestyle==2.6.0
7-
pyflakes==2.2.0
8-
pytest==5.4.2
1+
attrs==20.3.0
2+
black==20.8b1
3+
coverage==5.5
4+
flake8==3.9.0
5+
isort==5.7.0
6+
pycodestyle==2.7.0
7+
pyflakes==2.3.0
8+
pytest==6.2.2
99
pytest-aiohttp==0.3.0
10-
pytest-cov==2.9.0
11-
pytest-isort==1.0.0
12-
pytest-mock==3.1.0
13-
pytest-sugar==0.9.3
10+
pytest-cov==2.11.1
11+
pytest-isort==1.3.0
12+
pytest-mock==3.5.1
13+
pytest-sugar==0.9.4
1414
pytest-toolbox==0.4
1515
requests==2.24.0

0 commit comments

Comments
 (0)