Ok, so it turns out that 'gcloud run' behavior is even more strange, if there is a module name with a lower lexical order then 'default' (in my case it was 'admin'), then queue.yaml is not being loaded.
On Saturday, July 11, 2015 at 11:00:39 AM UTC+3, Dor litay wrote: > > Hi Patrice, > > With your replay i was able to figure it out. > My problem was that my application is based on modules, so i do not have > 'app.yaml', and the documents pretty much just say to put 'queue.yaml' in > the root folder, which doesn't work. > Moving 'queue.yaml' to the default module path solved the problem. > > I really thing the documents should be more clear on this subject. > > Thank you for the help. > > > > > On Sat, Jul 11, 2015 at 12:20 AM Patrice (Cloud Platform Support) < > [email protected]> wrote: > >> Hi Dor, >> >> Unless there's something I'm missing, when you run devserver with queues, >> you never target your queues.yaml directly. >> >> If you run with dev_appserver.py, for instance you call it on your app >> itself, and the queue.yaml just follows. >> >> Did you try "gcloud preview app run app.yaml"? >> >> Cheers! >> >> >> On Friday, July 10, 2015 at 5:11:38 AM UTC-4, Dor litay wrote: >>> >>> >>> Hello all, >>> >>> >>> How I can use 'queue.yaml' with "gcloud preview app run" ? >>> >>> >>> I could not find any instructions, and when I just try to add it to the >>> run list, I get the following error: >>> >>> google.appengine.api.yaml_errors.EventError: Unexpected attribute >>> 'queue' for object of type AppInfoExternal. >>> >> -- >> 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/ONM-D805ADc/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> 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/ed9ca353-3031-423f-9433-3120843c25ee%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-appengine/ed9ca353-3031-423f-9433-3120843c25ee%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. 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/bb88542a-b2f8-49b8-9f19-0a10fa352b43%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
