Open tmatsuo opened 8 years ago
Update: it has gone away. Looks like there are still some references; see http://stackoverflow.com/questions/42033868/cannot-deploy-to-gcloud
By design, one cannot remove artifacts from a maven repository, so this code will be there forever. The way the customer can workaround it is to either upgrade all toolchain to latest, or downgrade/pin to an older Cloud SDK release...
On Fri, Feb 3, 2017 at 4:33 PM, Zack Newman notifications@github.com wrote:
Update: it has gone away. Looks like there are still some references; see http://stackoverflow.com/questions/42033868/cannot-deploy-to-gcloud
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/gcloud-maven-plugin/issues/92#issuecomment-277400612, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE4zSAdgjycpllFFMLtqjGLfkGjBUkMks5rY8dagaJpZM4JKHxg .
Been trying to build and deploy first google cloud / android sample app - "playchat". I have installed the latest maven and latest google cloud sdk as you've recommended, but getting invalid choice preview errors.
[INFO] Running gcloud app deploy... [INFO] Running python -S /usr/local/google-cloud-sdk/lib/gcloud.py --quiet preview app deploy /home/dallas/projects/snowshovel/playchat/firebase-appengine-backend/target/appengine-staging/app.yaml --promote [INFO] ERROR: (gcloud) Invalid choice: 'preview'. [INFO] Usage: gcloud [optional flags] <group | command> [INFO] group may be app | auth | components | compute | config | [INFO] container | dataflow | dataproc | datastore | debug | [INFO] deployment-manager | dns | iam | kms | ml-engine | [INFO] organizations | projects | service-management | [INFO] source | sql | topic [INFO] command may be docker | feedback | help | info | init | version
$ mvn --version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:47-06:00) Maven home: /usr/local/apache-maven-3.3.9 Java version: 1.7.0_121, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.16.0-4-amd64", arch: "amd64", family: "unix"
$ gcloud --version Google Cloud SDK 148.0.0 app-engine-java 1.9.50 app-engine-python 1.9.50 bq 2.0.24 bq-nix 2.0.24 core 2017.03.17 core-nix 2017.03.13 gcloud gcloud-deps 2017.03.17 gcloud-deps-linux-x86_64 2017.02.21 gsutil 4.23 gsutil-nix 4.22
Not sure how to overcome this. I tried "pinning" an older version of gcloud (140.0.0), but that opened up a whole new can of worms. Any ideas for me?
The README has some links to: https://cloud.google.com/sdk/gcloud/reference/preview/app but it will go away soon.