File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[template ]
2- src = " confd_settings .py"
3- dest = " /templates/confd_settings .py"
2+ src = " local_settings .py"
3+ dest = " /app/deis/local_settings .py"
44uid = 1000
55gid = 1000
66mode = " 0640"
Original file line number Diff line number Diff line change 55import os .path
66import random
77import string
8- import sys
98import tempfile
109
1110# A boolean that turns on/off debug mode.
301300 from .local_settings import * # noqa
302301except ImportError :
303302 pass
304-
305- # have confd_settings within container execution override all others
306- # including local_settings (which may end up in the container)
307- if os .path .exists ('/templates/confd_settings.py' ):
308- sys .path .append ('/templates' )
309- from confd_settings import * # noqa
Original file line number Diff line number Diff line change 11import os
22
3+ from .settings import *
4+
35# security keys and auth tokens
46with open ('/var/run/secrets/api/builder/auth/builder-key' ) as f :
57 BUILDER_KEY = f .read ().strip ()
You can’t perform that action at this time.
0 commit comments