This repository was archived by the owner on Apr 7, 2021. It is now read-only.
File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ def deploy_init(settings):
107
107
"--machine-type %(CLUSTER_MACHINE_TYPE)s" ,
108
108
#"--local-ssd-count 1",
109
109
"--num-nodes %(CLUSTER_NUM_NODES)s" ,
110
+ "--scopes" , "https://www.googleapis.com/auth/devstorage.read_write"
110
111
]) % settings , verbose = False , errors_to_ignore = ["already exists" ])
111
112
112
113
run (" " .join ([
Original file line number Diff line number Diff line change 1
1
import logging
2
2
from deploy .utils .constants import DEPLOYABLE_COMPONENTS
3
3
from utils .shell_utils import run
4
- import sys
5
4
6
5
logging .basicConfig (format = '%(asctime)s %(levelname)-8s %(message)s' )
7
6
logger = logging .getLogger ()
Original file line number Diff line number Diff line change 16
16
from utils .shell_utils import run , wait_for , run_in_background
17
17
18
18
logging .basicConfig (format = '%(asctime)s %(levelname)-8s %(message)s' )
19
- logger = logging .getLogger ()
19
+ logger = logging .getLogger (__name__ )
20
20
logger .setLevel (logging .INFO )
21
21
22
22
@@ -344,7 +344,6 @@ def delete_all(deployment_target):
344
344
"deploy/kubernetes/%(deployment_target)s-settings.yaml" % locals (),
345
345
], settings )
346
346
347
-
348
347
if settings .get ("DEPLOY_TO_PREFIX" ) == "gcloud" :
349
348
run ("gcloud container clusters delete --project %(GCLOUD_PROJECT)s --zone %(GCLOUD_ZONE)s --no-async %(CLUSTER_NAME)s" % settings , is_interactive = True )
350
349
#run("gcloud compute disks delete --zone %(GCLOUD_ZONE)s %(DEPLOY_TO)s-elasticsearch-disk" % settings, is_interactive=True)
You can’t perform that action at this time.
0 commit comments