Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 20dce9a

Browse files
committed
Merge branch 'develop' into 'master'
Develop See merge request verbose-equals-true/django-postgres-vue-gitlab-ecs!117
2 parents 88b566c + e549030 commit 20dce9a

File tree

19 files changed

+373
-339
lines changed

19 files changed

+373
-339
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ include:
4242
# - backend/**/*
4343

4444
.Jest:
45-
image: node:12.16.3
45+
image: node:12.19.0
4646
stage: test
4747
before_script:
4848
- cd quasar

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Documentation for this project can be found here:
44

55
[https://verbose-equals-true.gitlab.io/django-postgres-vue-gitlab-ecs/](https://verbose-equals-true.gitlab.io/django-postgres-vue-gitlab-ecs/)
66

7-
87
## Project Architecture Overview
98

109
Here is an overview of the project architecture, including the CI/CD pipeline and the AWS infrastructure that will be automatically provisioned through the AWS Cloud Development Kit:

awscdk/setup.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,32 @@
1515
package_dir={"": "awscdk"},
1616
packages=setuptools.find_packages(where="awscdk"),
1717
install_requires=[
18-
"aws-cdk.core==1.42.0",
19-
"aws-cdk.aws_cloudformation==1.42.0",
20-
"aws-cdk.aws_autoscaling==1.42.0",
21-
"aws-cdk.aws_applicationautoscaling==1.42.0",
22-
"aws-cdk.aws_certificatemanager==1.42.0",
23-
"aws-cdk.aws_cloudwatch==1.42.0",
24-
"aws-cdk.aws_logs==1.42.0",
25-
"aws-cdk.aws_lambda==1.42.0",
26-
"aws-cdk.aws_events==1.42.0",
27-
"aws-cdk.aws_events_targets==1.42.0",
28-
"aws-cdk.aws_secretsmanager==1.42.0",
29-
"aws-cdk.aws_route53==1.42.0",
30-
"aws-cdk.aws_s3==1.42.0",
31-
"aws_cdk.aws_s3_deployment==1.42.0",
32-
"aws-cdk.aws_cloudfront==1.42.0",
33-
"aws-cdk.aws_route53_targets==1.42.0",
34-
"aws-cdk.aws_ecr==1.42.0",
35-
"aws-cdk.aws_ec2==1.42.0",
36-
"aws-cdk.aws_rds==1.42.0",
37-
"aws-cdk.aws_ssm==1.42.0",
38-
"aws-cdk.aws_elasticache==1.42.0",
39-
"aws-cdk.aws_elasticloadbalancingv2==1.42.0",
40-
"aws-cdk.aws_ecs==1.42.0",
41-
"aws-cdk.aws_ecs_patterns==1.42.0",
42-
"aws-cdk.aws_autoscaling==1.42.0",
43-
"aws-cdk.aws_sqs==1.42.0",
18+
"aws-cdk.core==1.70.0",
19+
"aws-cdk.aws_cloudformation==1.70.0",
20+
"aws-cdk.aws_autoscaling==1.70.0",
21+
"aws-cdk.aws_applicationautoscaling==1.70.0",
22+
"aws-cdk.aws_certificatemanager==1.70.0",
23+
"aws-cdk.aws_cloudwatch==1.70.0",
24+
"aws-cdk.aws_logs==1.70.0",
25+
"aws-cdk.aws_lambda==1.70.0",
26+
"aws-cdk.aws_events==1.70.0",
27+
"aws-cdk.aws_events_targets==1.70.0",
28+
"aws-cdk.aws_secretsmanager==1.70.0",
29+
"aws-cdk.aws_route53==1.70.0",
30+
"aws-cdk.aws_s3==1.70.0",
31+
"aws_cdk.aws_s3_deployment==1.70.0",
32+
"aws-cdk.aws_cloudfront==1.70.0",
33+
"aws-cdk.aws_route53_targets==1.70.0",
34+
"aws-cdk.aws_ecr==1.70.0",
35+
"aws-cdk.aws_ec2==1.70.0",
36+
"aws-cdk.aws_rds==1.70.0",
37+
"aws-cdk.aws_ssm==1.70.0",
38+
"aws-cdk.aws_elasticache==1.70.0",
39+
"aws-cdk.aws_elasticloadbalancingv2==1.70.0",
40+
"aws-cdk.aws_ecs==1.70.0",
41+
"aws-cdk.aws_ecs_patterns==1.70.0",
42+
"aws-cdk.aws_autoscaling==1.70.0",
43+
"aws-cdk.aws_sqs==1.70.0",
4444
],
4545
python_requires=">=3.6",
4646
classifiers=[

backend/apps/banking/migrations/0005_auto_20200606_1325.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ class Migration(migrations.Migration):
1414
migrations.AlterField(
1515
model_name='statementfile',
1616
name='statement_file',
17-
field=models.FileField(storage=backend.storage_backends.PrivateMediaStorage, upload_to='banking'),
17+
field=models.FileField(
18+
storage=backend.storage_backends.PrivateMediaStorage,
19+
upload_to='banking',
20+
),
1821
),
1922
]

backend/apps/core/views.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from django.conf import settings
44
from django.http import JsonResponse
5-
from django.views.generic import TemplateView
65
from rest_framework import viewsets
76
from rest_framework.decorators import (
87
api_view,
@@ -12,7 +11,7 @@
1211

1312

1413
from .utils.celery_utils import publish_celery_metrics
15-
from apps.core.tasks import debug_task, send_test_email_task, sleep_task
14+
from apps.core.tasks import send_test_email_task, sleep_task
1615

1716
r = settings.REDIS
1817

backend/requirements/base.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
boto3==1.13.16
1+
boto3==1.16.4
22

3-
celery==4.4.2
4-
kombu==4.6.8
3+
celery==4.4.7
4+
kombu==4.6.11
55

66
channels==2.4.0
77
channels-redis==2.4.2
88

99
daphne==2.5.0
1010

11-
graphene-django==2.10.1
11+
graphene-django==2.13.0
1212
django-graphql-jwt==0.3.1
1313

14-
Django==3.0.6
14+
Django==3.1.2
1515
django-filter==2.2.0
1616
djangorestframework==3.11.0
1717
djangorestframework_simplejwt==4.4.0
1818
django-debug-toolbar==2.2
1919

20-
gevent==20.6.2
20+
gevent==20.9.0
2121

2222
# Python Social Auth
2323

@@ -26,18 +26,18 @@ social-auth-core==3.3.3
2626

2727
# Django page caching is not working with this version of Redis
2828
# but this version is required by Celery
29-
django-redis==4.11.0
29+
django-redis==4.12.1
3030

31-
django-storages==1.9.1
31+
django-storages==1.10.1
3232

3333
# TODO: figure out why pandas is taking a long time to download
3434
# in cdk deploy step
3535
# pandas==0.24.2
3636

3737
gunicorn==20.0.4
3838

39-
psycopg2-binary==2.8.5
39+
psycopg2-binary==2.8.6
4040

41-
redis==3.5.2
41+
redis==3.5.3
4242

4343
requests==2.23.0

backend/requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
better_exceptions==0.2.2
22
django-extensions==2.2.9 # NOTE: in installed_apps
33
Werkzeug==1.0.1 # used for runserver_plus exception console
4-
ipython==7.14.0
4+
ipython==7.18.1
55
jupyter==1.0.0
66
gql==2.0.0

backend/requirements/test.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
black==19.10b0
2-
pytest==5.4.2
3-
pytest-cov==2.8.1
4-
pytest-django==3.9.0
5-
factory_boy==2.12.0
6-
flake8==3.8.1
7-
flake8-isort==3.0.0
8-
coverage==5.1
2+
pytest==6.1.1
3+
pytest-cov==2.10.1
4+
pytest-django==4.1.0
5+
factory_boy==3.1.0
6+
flake8==3.8.4
7+
flake8-isort==4.0.0
8+
coverage==5.3
9+
pytest-profiling==1.7.0

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ services:
148148
flower:
149149
image: mher/flower
150150
container_name: flower
151-
command: --url_prefix=flower --inspect_timeout=20000
151+
command: flower --url_prefix=flower
152152
environment:
153-
- CELERY_BROKER_URL=${CELERY_BROKER_URL}
153+
- CELERY_BROKER_URL=redis://redis:6379
154154
- FLOWER_PORT=5555
155155
ports:
156156
- 5555:5555

documentation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"@vuepress/plugin-google-analytics": "1.5.0"
1111
},
1212
"devDependencies": {
13-
"nodemon": "2.0.4"
13+
"nodemon": "2.0.6"
1414
}
1515
}

0 commit comments

Comments
 (0)