feat: add dynamic versioning and automated deployment with rollback capability
- Implement setuptools-scm for dynamic version management from git tags - Refactor CI/CD into separate build and deploy jobs with artifact sharing - Add versioned releases with timestamp-based deployment directories - Implement health checks and automatic rollback on deployment failure - Extract deployment logic into reusable shell scripts - Add Docker layer caching to speed up builds - Include version info in Django context and build args
This commit is contained in:
parent
46619bd5e1
commit
f20c4f9474
14 changed files with 719 additions and 233 deletions
|
|
@ -3,4 +3,10 @@ from django.conf import settings
|
|||
def cache_settings(request):
|
||||
return {
|
||||
'CACHE_TIMEOUT': settings.CACHE_TIMEOUT,
|
||||
}
|
||||
|
||||
def version_info(request):
|
||||
return {
|
||||
'VERSION': settings.VERSION,
|
||||
'VERSION_INFO': settings.VERSION_INFO,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue