mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
hardcode the gopath due to broken env manamagement in fabric2
This commit is contained in:
parent
dc7743ca0f
commit
86fa1163d3
1 changed files with 4 additions and 2 deletions
|
|
@ -284,12 +284,14 @@ def deploy_script(cxn, scriptpath, *args):
|
|||
cxn.run('./'+scriptfile+' '+args_str)
|
||||
|
||||
def run_boulder(cxn):
|
||||
# yes, we're hardcoding the gopath. it's a predetermined AMI.
|
||||
boulder_path = '$GOPATH/src/github.com/letsencrypt/boulder'
|
||||
cxn.run('cd %s && sudo docker-compose up -d' % boulder_path)
|
||||
|
||||
def config_and_launch_boulder(cxn, instance):
|
||||
deploy_script(cxn, 'scripts/boulder_config.sh')
|
||||
run_boulder(cxn)
|
||||
with cxn.prefix('export GOPATH=/home/ubuntu/gopath'):
|
||||
deploy_script(cxn, 'scripts/boulder_config.sh')
|
||||
run_boulder(cxn)
|
||||
|
||||
def install_and_launch_certbot(cxn, instance, boulder_url, target):
|
||||
local_repo_to_remote(cxn)
|
||||
|
|
|
|||
Loading…
Reference in a new issue