Lock requirements before deploy (AWS EB)

This commit is contained in:
Christopher C. Wells 2020-12-02 20:44:42 -08:00
parent 389211de22
commit 344bb0f6d4
1 changed files with 8 additions and 3 deletions

View File

@ -11,14 +11,19 @@ option_settings:
container_commands: container_commands:
01_pipenv_install: 01_pipenv_install:
command: 'pip install pipenv' command: 'pip install pipenv'
02_requirements_install: 03_requirements_lock:
env:
LC_ALL: en_US.utf8
LANG: en_US.utf8
command: 'pipenv lock'
03_requirements_install:
env: env:
LC_ALL: en_US.utf8 LC_ALL: en_US.utf8
LANG: en_US.utf8 LANG: en_US.utf8
command: 'pipenv install --system --deploy' command: 'pipenv install --system --deploy'
03_migrate: 04_migrate:
command: "python manage.py migrate" command: "python manage.py migrate"
leader_only: true leader_only: true
04_createcachetable: 05_createcachetable:
command: "python manage.py createcachetable" command: "python manage.py createcachetable"
leader_only: true leader_only: true