Lines Matching full:gcloud
69 # The full path to the gcloud cli executable.
70 GCLOUD = str(CLOUD_SDK_INSTALL_DIR.join("bin", "gcloud")) variable
72 # gcloud requires Python 2 and doesn't work on 3, so we need to tell it
87 # This tells gcloud which Python interpreter to use (always use 2.7)
89 # This set the $PATH for the subprocesses so they can find the gcloud
95 # If gcloud cli executable already exists, just update it.
96 if py.path.local(GCLOUD).exists():
97 session.run(GCLOUD, "components", "update", "-q")
145 GCLOUD, "auth", "activate-service-account", "--key-file", SERVICE_ACCOUNT_FILE
149 session.run(GCLOUD, "config", "set", "project", "example-project")
151 session.run(GCLOUD, "config", "unset", "project")
154 # unfortunately gcloud doesn't provide a clean way to tell it to use
155 # a particular set of credentials. However, this does verify that gcloud
162 # that our credentials matches the format expected by gcloud.
165 GCLOUD, "auth", "application-default", "print-access-token", silent=True
298 # 'real' gcloud sdk installation that is configured to deploy to an
303 ["gcloud", "config", "list", "project", "--format", "value(core.project)"]
324 session.run("gcloud", "app", "deploy", "-q", "app.yaml")