Skip to content

Commit cc84954

Browse files
authored
Force python2 for gcloud deployment. (google#1185)
There is a bug causing deployment to fail on Python 3.
1 parent a8635ec commit cc84954

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/local/butler/deploy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ def _prod_deployment_helper(config_dir,
303303

304304
def execute(args):
305305
"""Deploy Clusterfuzz to Appengine."""
306+
# TODO(ochang): Remove once python3 deployment is fixed.
307+
os.environ['CLOUDSDK_PYTHON'] = 'python2'
306308
os.environ['ROOT_DIR'] = '.'
307309

308310
if not os.path.exists(args.config_dir):

0 commit comments

Comments
 (0)