GoogleCloudPlatform / google-cloud-eclipse

Google Cloud Platform plugin for Eclipse
Apache License 2.0
86 stars 49 forks source link

Cloud SDK native staging #2891

Open elharo opened 6 years ago

elharo commented 6 years ago

Placeholder bug to capture thoughts:

  1. We shouldn't need to use appcfg to stage anymore. gcloud alone can do this.
  2. Except maybe for cron.xml, dos.xml , etc. files. gcloud will only deploy yaml version.

  1. Verify this.
  2. Can we close the loop so gcloud deploys XML files too?
  3. Can we push this into appengine-plugins-core?
chanseokoh commented 6 years ago

Except maybe for cron.xml, dos.xml , etc. files. gcloud will only deploy yaml version.

Deploying XML config files appears to be supported from the gcloud output as below, but strangely, I cannot see the cron jobs deploy from Pantheon. Might be a bug. Let me try a bit more to verify.

$ gcloud app deploy target/a-0.1.0-SNAPSHOT/WEB-INF/appengine-web.xml target/a-0.1.0-SNAPSHOT/WEB-INF/cron.xml
Services to deploy:

descriptor:      [.../runtime-gcloud-eclipse/mvn/target/a-0.1.0-SNAPSHOT/WEB-INF/appengine-web.xml]
source:          [.../runtime-gcloud-eclipse/mvn/target/a-0.1.0-SNAPSHOT]
...
Configurations to update:

descriptor:      [.../runtime-gcloud-eclipse/mvn/target/a-0.1.0-SNAPSHOT/WEB-INF/cron.xml]
type:            [cron jobs]
...

Beginning deployment of service [default]...
...
Deployed service [default] to [https://....appspot.com]
Updating config [cron]...done.                                                                                                                                                                     

Cron jobs have been updated.

Visit the Cloud Platform Console Task Queues page to view your queues and cron jobs.
https://console.cloud.google.com/appengine/taskqueues/cron?project=...
chanseokoh commented 6 years ago

Updated an internal bug 34777149.

chanseokoh commented 6 years ago

That did not seem a correct bug. Create a new bug 79860984.

chanseokoh commented 6 years ago

Another bug: 79872990