pulumi-django-azure 1.0.29__py3-none-any.whl → 1.0.30__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-django-azure might be problematic. Click here for more details.

@@ -297,7 +297,10 @@ class DjangoDeployment(pulumi.ComponentResource):
297
297
  active_directory_auth=azure.dbforpostgresql.ActiveDirectoryAuthEnum.ENABLED,
298
298
  tenant_id=self._tenant_id,
299
299
  ),
300
- storage=azure.dbforpostgresql.StorageArgs(storage_size_gb=32),
300
+ storage=azure.dbforpostgresql.StorageArgs(
301
+ storage_size_gb=32,
302
+ auto_grow=azure.dbforpostgresql.StorageAutoGrow.ENABLED,
303
+ ),
301
304
  network=azure.dbforpostgresql.NetworkArgs(
302
305
  delegated_subnet_resource_id=subnet.id,
303
306
  private_dns_zone_arm_resource_id=dns.id,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi-django-azure
3
- Version: 1.0.29
3
+ Version: 1.0.30
4
4
  Summary: Simply deployment of Django on Azure with Pulumi
5
5
  Author-email: Maarten Ureel <maarten@youreal.eu>
6
6
  License-Expression: MIT
@@ -38,41 +38,6 @@ To have a proper and secure environment, we need these components:
38
38
  * Webapp running pgAdmin
39
39
 
40
40
  ## Project requirements
41
- Your Django project should contain a folder `cicd` with these files:
42
- * pre_build.sh: commands to be executed before building the application, for example NPM install, CSS build commands,...
43
- * post_build.sh: commands to be executed after building the application, e.g. cleaning up.
44
- Note that this runs in the identity of the build container, so you should not run database or storage manipulations here.
45
- * startup.sh: commands to run the actual application. I recommend to put at least:
46
- ```bash
47
- # Compile translations
48
- apt-get -y install gettext
49
- python manage.py compilemessages
50
-
51
- # Run collectstatic in the background
52
- sh cicd/collectstatic.sh &
53
-
54
- python manage.py migrate
55
- gunicorn --timeout 600 --workers $((($NUM_CORES*2)+1)) --preload --chdir $APP_PATH yourapplication.wsgi --access-logfile '-' --error-logfile '-'
56
- ```
57
-
58
- Be sure to change `yourapplication` in the above.
59
-
60
- * collecstatic.sh
61
- ```bash
62
- #!/bin/bash
63
-
64
- LOGFILE="/var/log/django_collectstatic.log"
65
-
66
- # Collectstatic
67
- echo "$(date '+%Y-%m-%d %H:%M:%S') - Starting collectstatic" >> $LOGFILE
68
- python manage.py collectstatic --noinput -v 2 >> $LOGFILE
69
- echo "$(date '+%Y-%m-%d %H:%M:%S') - Finished collectstatic" >> $LOGFILE
70
-
71
- # Purge the CDN
72
- echo "$(date '+%Y-%m-%d %H:%M:%S') - Starting purge_cdn" >> $LOGFILE
73
- python manage.py purge_cdn >> $LOGFILE
74
- echo "$(date '+%Y-%m-%d %H:%M:%S') - Finished purge_cdn" >> $LOGFILE
75
- ```
76
41
 
77
42
  ## Installation
78
43
  This package is published on PyPi, so you can just add pulumi-django-azure to your requirements file.
@@ -1,12 +1,12 @@
1
1
  pulumi_django_azure/__init__.py,sha256=WoTHLNGnqc3dQoJtzrAJY8OVA7ReP6XFkDb9BXZGfJ8,117
2
2
  pulumi_django_azure/azure_helper.py,sha256=eIaOoajwQuIRyt6Q3KHIA1qctLxOqwSF9yurwk2WgzY,3417
3
- pulumi_django_azure/django_deployment.py,sha256=QM1Uy8wcMoiODHxpM7j6_p8SORk3aKq-LS9-rQPrLsk,50554
3
+ pulumi_django_azure/django_deployment.py,sha256=s52E_b-jtGrxkRpmWJkklA3Fx06msY8kGUi35FwB8Z8,50661
4
4
  pulumi_django_azure/middleware.py,sha256=Lp05G_wn9vlSueRJsnk-g2Rs9FFG155Po2MP2Cv0LDc,3348
5
5
  pulumi_django_azure/settings.py,sha256=BTP5y6KE3oP9pY01TR1ML6GArpLhnzx-mFflrhTQ4SE,5906
6
6
  pulumi_django_azure/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  pulumi_django_azure/management/commands/purge_cache.py,sha256=yjMoNvEPFmtuZctOKXMUacfKJLlTC9xfF-0W-IH3kF0,488
8
8
  pulumi_django_azure/management/commands/purge_cdn.py,sha256=8iLuqjndvreTHXRp37sjpvcNltdGTpwhY9YiQokS_P0,2095
9
- pulumi_django_azure-1.0.29.dist-info/METADATA,sha256=LMnw4F46loQLxPtsNqZxauR6zNhwcq4HGR8X3_fdiN0,11212
10
- pulumi_django_azure-1.0.29.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
11
- pulumi_django_azure-1.0.29.dist-info/top_level.txt,sha256=MNPRJhq-_G8EMCHRkjdcb_xrqzOkmKogXUGV7Ysz3g0,20
12
- pulumi_django_azure-1.0.29.dist-info/RECORD,,
9
+ pulumi_django_azure-1.0.30.dist-info/METADATA,sha256=AZdHNoBBg6M8skOz3LckWZR_vm7y6PO_WHLRY1qOMBU,9759
10
+ pulumi_django_azure-1.0.30.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
11
+ pulumi_django_azure-1.0.30.dist-info/top_level.txt,sha256=MNPRJhq-_G8EMCHRkjdcb_xrqzOkmKogXUGV7Ysz3g0,20
12
+ pulumi_django_azure-1.0.30.dist-info/RECORD,,