Re: [google-appengine] gcloud beta app deploy : This deployment has too many files

2018-05-18 Thread Lourdu rajan
Hi Ani Hatzis,

Could you provide some steps to make my code as public, so that I can
upload my code for your exploration.

Yeah, my gCloud SDK is up-to date.

Regards
Lourdu Rajan G

On Thu, May 17, 2018 at 11:12 PM, Ani Hatzis <anihat...@gmail.com> wrote:

> Ok, beta makes sense then and maybe it's really just a bug. If your code
> is public I could try to deploy myself into a temporary project and see if
> the deployment gives me the same error. Have you ever used Cloud Shell
> <https://cloud.google.com/shell/docs/features>? It makes reproducing such
> steps very easy and it comes with pre-installed tools. Just to be sure the
> problem is not related to the local environment, e.g. outdated or broken
> Cloud SDK.
>
> Regards,
> Ani
>
>
> On Thursday, May 17, 2018 at 5:07:42 PM UTC+2, Lourdu rajan wrote:
>>
>> Hi Ani Hatzis,
>>
>> Thanks for your reply.
>>
>> I am trying to publish my code as Endpoint Services in Google Flex
>> Environment. Currently Endpoint backend deploy methodlogy is in beta
>> version. So "gcloud beta app deploy" command used for deploying my code
>> into the Flex environment.
>>
>> I also tried to publish the code with specifying the app.yaml file in the
>> gcloud command (i.e. gcloud beta app deploy app.yaml), but still got the
>> same issue.
>>
>> If you would like, then I may be share the code.
>>
>> Also implemented below items inthis code,
>>
>> - Swagger Docs
>> - OpenAPI file for Endpoint
>> - OAuth Security in OpenAPI file as Security Definition
>> - Encode/Decode for Database credentials in app.yaml
>> - Swagger Project structure
>>
>> Do you think any of these item may cause for this issue?, because your
>> sample code from Git
>> <https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/endpoints/getting-started>works
>> fine for me.
>>
>> Regards
>> Lourdu Rajan G
>>
>> On Thu, May 17, 2018 at 3:39 AM, Ani Hatzis <anih...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> well, that doesn't sound like 10,000+ files. If it's a bug you could
>>> file a report in the Public Issue Tracker
>>> <https://issuetracker.google.com/>. Is there a particular reason that
>>> you use gcloud *beta* app deploy instead of gcloud app deploy? The
>>> first one gives you the commands that are still in beta, the latter one the
>>> commands that are GA. And my last question: Do you have used gcloud
>>> beta app deploy with nothing else? I believe that if you don't specify
>>> the location, e.g. gcloud app deploy src/app.yaml, the command will try
>>> to automatically detect where the app is, and maybe it gets confused and
>>> tries to upload some other path with 10,000+ files.
>>>
>>> Good luck,
>>> Ani
>>>
>>> On Wednesday, May 16, 2018 at 9:11:36 PM UTC+2, Lourdu rajan wrote:
>>>>
>>>> Hi Ani Hatzis,
>>>>
>>>> Thanks for your reply.
>>>>
>>>> I don't have any process like file storage or file processing. Just
>>>> trying to deploy my code into the Google app engine flexible environment, 
>>>> which
>>>> has basic functionality and it's reference. Like, app.yaml, openapi.yaml,
>>>> app.js, db.js, package.json and node modules (reference). I checked the
>>>> file size of each files, its all just below 250 kB.
>>>>
>>>> Any other solutions/suggestions please.
>>>>
>>>> Regards,
>>>> Lourdu Rajan G
>>>>
>>>> On Wed 16 May, 2018, 12:02 AM Ani Hatzis, <anih...@gmail.com> wrote:
>>>>
>>>>> Does your app deployment indeed include more than 10,000 files? You
>>>>> cannot deploy an app with more than 10,000 files. The deployment is
>>>>> supposed to contain mainly code and configuration files. You probably want
>>>>> to also host a bunch of other files (images, PDFs etc.) and have added 
>>>>> them
>>>>> to the deployment, I guess. You would not include them in the deployment.
>>>>> Instead you can host these files in Cloud Storage
>>>>> <https://cloud.google.com/storage/docs/> or Firebase Hosting
>>>>> <https://firebase.google.com/products/hosting/>.
>>>>>
>>>>> On Tue, May 15, 2018 at 7:01 PM Lourdu rajan <lourd...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> I got the below error, when I tried to deploy my Google Clou

Re: [google-appengine] gcloud beta app deploy : This deployment has too many files

2018-05-17 Thread Lourdu rajan
Hi Ani Hatzis,

Thanks for your reply.

I am trying to publish my code as Endpoint Services in Google Flex
Environment. Currently Endpoint backend deploy methodlogy is in beta
version. So "gcloud beta app deploy" command used for deploying my code
into the Flex environment.

I also tried to publish the code with specifying the app.yaml file in the
gcloud command (i.e. gcloud beta app deploy app.yaml), but still got the
same issue.

If you would like, then I may be share the code.

Also implemented below items inthis code,

- Swagger Docs
- OpenAPI file for Endpoint
- OAuth Security in OpenAPI file as Security Definition
- Encode/Decode for Database credentials in app.yaml
- Swagger Project structure

Do you think any of these item may cause for this issue?, because your
sample code from Git
<https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/endpoints/getting-started>works
fine for me.

Regards
Lourdu Rajan G

On Thu, May 17, 2018 at 3:39 AM, Ani Hatzis <anihat...@gmail.com> wrote:

> Hi,
>
> well, that doesn't sound like 10,000+ files. If it's a bug you could file
> a report in the Public Issue Tracker <https://issuetracker.google.com/>.
> Is there a particular reason that you use gcloud *beta* app deploy
> instead of gcloud app deploy? The first one gives you the commands that
> are still in beta, the latter one the commands that are GA. And my last
> question: Do you have used gcloud beta app deploy with nothing else? I
> believe that if you don't specify the location, e.g. gcloud app deploy
> src/app.yaml, the command will try to automatically detect where the app
> is, and maybe it gets confused and tries to upload some other path with
> 10,000+ files.
>
> Good luck,
> Ani
>
> On Wednesday, May 16, 2018 at 9:11:36 PM UTC+2, Lourdu rajan wrote:
>>
>> Hi Ani Hatzis,
>>
>> Thanks for your reply.
>>
>> I don't have any process like file storage or file processing. Just
>> trying to deploy my code into the Google app engine flexible environment, 
>> which
>> has basic functionality and it's reference. Like, app.yaml, openapi.yaml,
>> app.js, db.js, package.json and node modules (reference). I checked the
>> file size of each files, its all just below 250 kB.
>>
>> Any other solutions/suggestions please.
>>
>> Regards,
>> Lourdu Rajan G
>>
>> On Wed 16 May, 2018, 12:02 AM Ani Hatzis, <anih...@gmail.com> wrote:
>>
>>> Does your app deployment indeed include more than 10,000 files? You
>>> cannot deploy an app with more than 10,000 files. The deployment is
>>> supposed to contain mainly code and configuration files. You probably want
>>> to also host a bunch of other files (images, PDFs etc.) and have added them
>>> to the deployment, I guess. You would not include them in the deployment.
>>> Instead you can host these files in Cloud Storage
>>> <https://cloud.google.com/storage/docs/> or Firebase Hosting
>>> <https://firebase.google.com/products/hosting/>.
>>>
>>> On Tue, May 15, 2018 at 7:01 PM Lourdu rajan <lourd...@gmail.com> wrote:
>>>
>>>> I got the below error, when I tried to deploy my Google Cloud Flex
>>>> Environment Endpoint project (NodeJs) through gcloud command (gcloud beta
>>>> app deploy).
>>>>
>>>> ERROR: (gcloud.beta.app.deploy) INVALID_ARGUMENT: This deployment has
>>>> too many files. New versions are limited to 1 files for this app.-
>>>> '@type': type.googleapis.com/google.rpc.BadRequest fieldViolations:  -
>>>> description: This deployment has too many files.
>>>>
>>>> --
>>>> 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 google-appengi...@googlegroups.com.
>>>> To post to this group, send email to google-a...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/google-appengine.
>>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>>> gid/google-appengine/83d04d8f-8642-4f28-a55d-4c5ae89b1f08%
>>>> 40googlegroups.com
>>>> <https://groups.google.com/d/msgid/google-appengine/83d04d8f-8642-4f28-a55d-4c5ae89b1f08%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups &q

Re: [google-appengine] gcloud beta app deploy : This deployment has too many files

2018-05-16 Thread Lourdu rajan
Hi Ani Hatzis,

Thanks for your reply.

I don't have any process like file storage or file processing. Just trying
to deploy my code into the Google app engine flexible environment, which
has basic functionality and it's reference. Like, app.yaml, openapi.yaml,
app.js, db.js, package.json and node modules (reference). I checked the
file size of each files, its all just below 250 kB.

Any other solutions/suggestions please.

Regards,
Lourdu Rajan G

On Wed 16 May, 2018, 12:02 AM Ani Hatzis, <anihat...@gmail.com> wrote:

> Does your app deployment indeed include more than 10,000 files? You cannot
> deploy an app with more than 10,000 files. The deployment is supposed to
> contain mainly code and configuration files. You probably want to also host
> a bunch of other files (images, PDFs etc.) and have added them to the
> deployment, I guess. You would not include them in the deployment. Instead
> you can host these files in Cloud Storage
> <https://cloud.google.com/storage/docs/> or Firebase Hosting
> <https://firebase.google.com/products/hosting/>.
>
> On Tue, May 15, 2018 at 7:01 PM Lourdu rajan <lourdura...@gmail.com>
> wrote:
>
>> I got the below error, when I tried to deploy my Google Cloud Flex
>> Environment Endpoint project (NodeJs) through gcloud command (gcloud beta
>> app deploy).
>>
>> ERROR: (gcloud.beta.app.deploy) INVALID_ARGUMENT: This deployment has too
>> many files. New versions are limited to 1 files for this app.- '@type':
>> type.googleapis.com/google.rpc.BadRequest fieldViolations:  -
>> description: This deployment has too many files.
>>
>> --
>> 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 google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-appengine/83d04d8f-8642-4f28-a55d-4c5ae89b1f08%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/83d04d8f-8642-4f28-a55d-4c5ae89b1f08%40googlegroups.com?utm_medium=email_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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/CALdDuQ5KaTRA7f8RS%3D5yo%3DekvqgtZ9dSSrA9rSsKCSpisHZ6CA%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CALdDuQ5KaTRA7f8RS%3D5yo%3DekvqgtZ9dSSrA9rSsKCSpisHZ6CA%40mail.gmail.com?utm_medium=email_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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAO%3DnpLb6hYh4NHT8A21e9zq2Ej3gJqpt%2BrG0%2BZbi5gdiYDv9Vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] gcloud beta app deploy : This deployment has too many files

2018-05-15 Thread Lourdu rajan
I got the below error, when I tried to deploy my Google Cloud Flex 
Environment Endpoint project (NodeJs) through gcloud command (gcloud beta 
app deploy).

ERROR: (gcloud.beta.app.deploy) INVALID_ARGUMENT: This deployment has too 
many files. New versions are limited to 1 files for this app.- '@type': 
type.googleapis.com/google.rpc.BadRequest fieldViolations:  - description: 
This deployment has too many files. 

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/83d04d8f-8642-4f28-a55d-4c5ae89b1f08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.