Commit graph

5 commits

Author SHA1 Message Date
leot
08c9518ac8 py-google-cloud-sdk: Choose a safe fallback for Python interpreter
The logic to find a Python executable can be summarized as:
 - CLOUDSDK_PYTHON environment variable defined:
    + If it matches `*python2*', use it
 - Otherwise:
    + Try `python2'
    + Fallback to `python'

Substitute the latter fallback to ${PYTHONBIN} in order to have a
safe choice.

Should fix PR pkg/52122 reported by <jklos>.
This patch is based on the one proposed by <maya> (but restricted
to CLOUDSDK_PYTHON lines and the fallback `python').

Bump PKGREVISION.
2018-07-08 12:22:56 +00:00
jperkin
0796820a77 Add INSTALLATION_DIRS. 2016-04-02 08:26:49 +00:00
ryoon
82ec438443 Update to 96.0.0
96.0.0 (2016/2/10)
Breaking Changes
Google App Engine

    Google App Engine components updated to 1.9.32. Please visit the following release notes for details: Python - https://cloud.google.com/appengine/docs/python/release-notes Java - https://cloud.google.com/appengine/docs/java/release-notes

    The gcloud preview app gen-config command now offers to automatically update the runtime field in app.yaml if necessary.

IAM

    The gcloud beta iam command group has launched.

Emulators

    The Pub/Sub emulator now supports Gzip-encoded requests.

Google Compute Engine

    The gcloud compute copy-files|scp commands on Windows now treat path arguments with a drive prefix as local files.

Configurations

    The config configurations delete command now takes multiple configuration names.

Containers

    kubectl is updated to v1.1.7.

    Bugfix on the gcloud container clusters get-credentials when run from a client without edit permissions.

Misc. Changes

    The default floating point output format precision is 6. Exponent notation is used for abs(n) < 1e-04 and abs(n) >= 1e+09.
    The arrow and page up/down/home/end keys now work in the Windows help pager.

95.0.0 (2016/2/3)
Breaking Changes

    Use gcloud compute networks create --mode=legacy to create non-subnet networks.

Google Compute Engine

    gcloud compute copy-files and gcloud compute ssh on Windows now use standard PuTTY plink.exe, pscp.exe and putty.exe. A standalone winkeygen.exe generates PuTTY and ssh compatible keys. The Windows PuTTY executables are up to date at version 0.66.

Google Compute Engine subnets

    Added gcloud compute networks subnets.

    Added --mode flag to gcloud compute networks create.

    Added --subnet flag to gcloud compute instances create and gcloud compute instance-templates create.

    Added --local-traffic-selector flag to gcloud compute vpn-tunnels create.

Google App Engine

    Added support for streaming logs when the use_cloud_build=1 property is set.

    Moved the nodejs install script into the docker image.

Projects

    gcloud projects update|undelete|delete have been moved to beta.

gcloud --format

    Added nested table formatting by --format="table(field1,listField2:format=FORMAT-STRING)" where FORMAT-STRING can be any format (json, table, ...). Try: gcloud compute instances list --format="table[box](name, disks:format='table[no-heading](deviceName:sort=1, kind)')"

    Added list field aggregation formatting (similar to nested formatting) by --format="table(listField2:format=FORMAT-STRING)". When the main table has no columns each nested format is aggregated into a single list. Try: gcloud compute instances list --format="table(disks:format='table[box](deviceName:sort=1, kind)')"

94.0.0 (2016/1/27)
Google Compute Engine

    Added gcloud alpha compute url-maps list-cache-invalidations command.

Google App Engine

    Google App Engine components updated to 1.9.31. Please visit the following release notes for details: Python - https://cloud.google.com/appengine/docs/python/release-notes Java - https://cloud.google.com/appengine/docs/java/release-notes

    Added --runtime flag to gcloud preview app gen-config to specify a runtime when a directory identifies as multiple runtimes. This flag can be used in conjunction with --custom.

Google Container Engine

    gcloud container cluster describe and list commands now notify the user when their cluster versions are about to go out of support or are unsupported.

Google Cloud Logging

    gcloud beta logging write and gcloud beta logging logs delete commands now use the V2beta1 API. The gcloud beta logging write command now uses the global resource descriptor (which translates to "custom.googleapis.com" service in V1).

Cloud Dataproc

    gcloud beta dataproc clusters create now supports --tags and --metadata flags to set instance tags and metadata on all instances in the Dataproc cluster.

PubSub Emulator

    A new --host flag can be used to specify the address the emulator should bind as. The flag can be left unspecified, set to "localhost", a hostname, or an explicit IP address.

Projects

    Added commands get-iam-policy, set-iam-policy, add-iam-policy-binding, and remove-iam-policy-binding for the gcloud beta projects surface.

    Added the gcloud projects list command that can be used to list projects.

93.0.0 (2016/1/20)

    kubectrl upgraded to 1.1.4.

    gcloud beta dataproc cluster create now supports --properties flag to set properties for installed packages.

    Datastore emulator's DATASTORE_LOCAL_HOST environment variable changed to DATASTORE_EMULATOR_HOST.

    gcloud source repos clone now supports --dry-run flag to show equivalent git command.

92.0.0 (2016/1/13)

    Because of the rollback of 91.0.0, this release contains all of the changes from 91.0.0 in addition to the changes listed below.

Breaking Changes

    gcloud preview app deploy

        Changed deployments to set the deployed versions to receive all traffic for their modules by default.

        To keep the old behavior (traffic split remains the same), use the --no-promote flag or run gcloud config set app/promote_by_default true.

        Note that your old versions are still running, and must be stopped manually. This behavior will change in a future release.

        Removed deprecated --set-default flag. Please use --promote instead.

        gcloud preview app deploy: Removed deprecated --env-vars flag.

    The output of the gcloud preview app modules list command has been changed to include the traffic split percentage instead of the 'default version' field.

    Removed deprecated gcloud preview app modules cancel-deployment command.

    This command is no longer necessary due to recent improvements in the Deployment API.

    Removed deprecated gcloud preview app modules download command.

    This command is no longer necessary due to recent improvements in the Deployment API.

    Removed deprecated gcloud preview app run command. Please use dev_appserver.py instead.

    Changed behavior of the --zone/-z flag in the gcloud dns record-sets command group. This flag can no longer precede the command. For instance, gcloud dns record-sets -z=mz list will not work, but gcloud dns record-sets list -z=mz will.

    Changed --password-file option for sql instances set-root-password; password now does not include trailing newline from password file. This matches the documented behavior, but not the previous behavior. (Fixes https://code.google.com/p/google-cloud-sdk/issues/detail?id=419)

    Removed meta/active_configuration from the results of gcloud config list since it is not a property that can be set. You can continue to use the gcloud config configurations commands to view and manage your configurations.

Cloud SDK

    Added gcloud config proxy settings. Users can configure gcloud to use a proxy via the following settings:

        gcloud config proxy/address

        gcloud config proxy/password

        gcloud config proxy/port

        gcloud config proxy/type

        gcloud config proxy/username

    Added alpha and beta components to Debian packages.

    Removed unused config properties: app/hosted_registry, app/host, app/admin_host, app/api_host.

Google Cloud Logging

    Migrated to v2beta1 API release.

        Moved gcloud beta logging sinks commands to v2beta1.

        Added gcloud beta logging resource-descriptors command to display supported resources from various services.

        Added gcloud beta logging read command to retrieve log entries using filters.

Google Container Engine

    Added gcloud container clusters resize for resizing Container Engine clusters.

    Added notifications when node upgrades are available to gcloud container cluster describe and list commands.

Google App Engine

    Fixed bug where initial deployments using --image-url failed.

    Changed gcloud preview app modules set_default command to use the App Engine Admin API.

    Changed gcloud preview app modules list command to use the App Engine Admin API.
2016-02-13 02:35:16 +00:00
ryoon
cfb90f55c9 Use hardcoded py27 2016-01-24 04:03:23 +00:00
ryoon
ed8e36271d Import py27-google-cloud-sdk-91.0.1 as net/py-google-cloud-sdk.
Google Cloud SDK contains tools and libraries that enable you to
easily create and manage resources on Google Cloud Platform,
including App Engine, Compute Engine, Cloud Storage, BigQuery,
Cloud SQL, and Cloud DNS.

This package contains bq, gcloud and gsutil commands.
2016-01-11 04:25:41 +00:00