Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make commander script location configurable

  • Loading branch information...
commit 8900c73c6cfae4aecb427bf60ea073eb6a86df54 1 parent ada5827
@oremj oremj authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  chief.py
  2. +1 −1  settings.py.dist
View
2  chief.py
@@ -15,7 +15,7 @@
def do_update(app_name, app_settings, webapp_tag, who):
- deploy = os.path.join(app_settings['dir'], 'scripts/update/update.py')
+ deploy = app_settings['script']
log_dir = os.path.join(settings.OUTPUT_DIR, app_name)
if not os.path.isdir(log_dir):
os.mkdir(log_dir)
View
2  settings.py.dist
@@ -1,7 +1,7 @@
# Webapp Configs
WEBAPPS = {
'addons.dev': {
- 'dir': '/Users/jbalogh/dev/zamboni', # Path to webapp root
+ 'script': '/Users/jbalogh/dev/zamboni/scripts/update/update.py', # Path to commander scripts with pre_update, update, and deploy tasks
'pubsub_channel': 'deploy.amo', # The is the name of the channel where chief posts events
'password': '', # The app requires this secret before taking any action.
},
Please sign in to comment.
Something went wrong with that request. Please try again.