Skip to content

Commit

Permalink
Update gcloud in system tests (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Wayne Parrott authored Mar 1, 2017
1 parent 2d0549a commit 8716141
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions system_tests/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,9 @@ def install_cloud_sdk(session):
# This tells gcloud which Python interpreter to use (always use 2.7)
session.env[CLOUD_SDK_PYTHON_ENV] = CLOUD_SDK_PYTHON

# If gcloud cli executable already exists, we don't need to do anything
# else.
# Note that because of this we do not attempt to update the sdk -
# if the CLOUD_SDK_ROOT is cached, it will need to be periodically cleared.
# If gcloud cli executable already exists, just update it.
if py.path.local(GCLOUD).exists():
session.run(GCLOUD, 'components', 'update', '-q')
return

tar_path = CLOUD_SDK_ROOT.join(CLOUD_SDK_DIST_FILENAME)
Expand Down

0 comments on commit 8716141

Please # to comment.