gcloud tool & queue configuration

535 views
Skip to first unread message

Pedro Ribeiro

unread,
Jul 1, 2015, 12:00:17 PM7/1/15
to google-a...@googlegroups.com

Hi,

I used to deploy my appengine projects using the maven appengine plugin (mvn appengine:update), but I switched to the gcloud plugin so I could use service accounts. I have multiple modules and I am deploying a specific one using something like

mvn --projects <module> gcloud:deploy

Quoting the documentation (https://cloud.google.com/sdk/gcloud-app):

gcloud preview app deploy deploys all application code and modules as well as indexes, cron jobs, denial of service settings, and queues.

However, it seems like it isn't updating my queues configuration at all. Down the line, the maven plugin ends up running the following command:

python -S /home/<user>/google-cloud-sdk/lib/googlecloudsdk/gcloud/gcloud.py --quiet --project=<project_name> preview app deploy /tmp/1435761723265-0/app.yaml --version=0-0-1

The documentation talks about "directories" but my current gcloud version demands an app.yaml file.

If I check /tmp/1435761723265-0 I can see a valid queue.yaml generated based on my queue.xml, but unless I manually run

gcloud preview app deploy /tmp/1435761723265-0/queue.yaml

my configs are not updated.

Am I missing something? Is the documentation outdated? Is it a bug?

I'm using gcloud-maven-plugin:0.9.57.v20150423 and Google Cloud SDK 0.9.67:

app 2015.06.30
app-engine-go-linux-x86_64 1.9.23
app-engine-java 1.9.23
app-engine-python 1.9.23
app-engine-python-extras 1.9.21
bq 2.0.18
bq-nix 2.0.18
core 2015.06.30
core-nix 2015.06.02
gae-python 2015.06.02
gcloud 2015.06.30
gcutil-msg 2015.06.09
gsutil 4.13
gsutil-nix 4.12
preview 2015.06.30

Thanks!

Pedro Ribeiro

Ryan (Cloud Platform Support)

unread,
Jul 1, 2015, 2:07:32 PM7/1/15
to google-a...@googlegroups.com, pedro....@byclosure.com
Salutations Pedro,

These kind of reports are best done on the Public Issue Tracker. If you create one post the link here and I will process it for you.

Pedro Ribeiro

unread,
Jul 2, 2015, 5:00:37 AM7/2/15
to google-a...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/Zb2mnxTDe5g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4bf1f0b2-3cef-485e-8e55-e6ed9ae73ef6%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Pedro Ribeiro

unread,
Jul 2, 2015, 5:02:04 AM7/2/15
to google-a...@googlegroups.com, pedro....@byclosure.com

Ryan (Cloud Platform Support)

unread,
Jul 2, 2015, 10:03:37 AM7/2/15
to google-a...@googlegroups.com, pedro....@byclosure.com
Thank you very much! I will look into this today and get back to you later.


On Wednesday, July 1, 2015 at 12:00:17 PM UTC-4, Pedro Ribeiro wrote:

Ryan (Cloud Platform Support)

unread,
Jul 6, 2015, 11:18:53 AM7/6/15
to google-a...@googlegroups.com, rbru...@google.com, pedro....@byclosure.com
I have confirmed the doc's are not clear. You need to specify the yaml files you want to use when deploying.

Pedro Ribeiro

unread,
Jul 6, 2015, 11:21:54 AM7/6/15
to google-a...@googlegroups.com, pedro....@byclosure.com
And do you confirm that we are supposed to update each component individually (queue, cron, etc independently)?

Pedro Ribeiro

Ryan (Cloud Platform Support)

unread,
Jul 6, 2015, 11:42:59 AM7/6/15
to google-a...@googlegroups.com, pedro....@byclosure.com
For now you need to specify each yaml you want to update. Such as:

gcloud preview app deploy app.yaml queue.yaml

will update both code and queue.
Reply all
Reply to author
Forward
0 new messages