[google-appengine] Re: Using pubsub to trigger subsequent cloud build with filtering

2022-06-06 Thread 'Jose Perez Sanchez' via Google App Engine


According to the error message, certain variables aren't sufficiently 
defined. 

Could you please check your IAM allocated roles? You should be something 
close to an "admin." It appears to be a rights-related error.

Under Cloud Build, look at the Logging sections. Whether there isn't 
anything, you could try editing the trigger with the API 

 
to see if it also fails. It might provide further information about the 
real error.

Identity requirements To update Cloud Build triggers, you'll need the 
permission 
 
cloudbuild.build.create.

You can also try disabling and enabling the Cloud Build API in your project 
so a new service account is created, or adding the role “App Engine 
Deployer” to the cloud build service account, then try to deploy again.

On Friday, June 3, 2022 at 2:45:49 PM UTC-5 t...@terratrue.com wrote:

>
> To be 100% explicit, I am adding the following into the Filters section of 
> my Cloud Build Trigger, within the "Filter Editor" tab, as the first tab 
> doesn't let me select anything useful from the build pub/sub message. This 
> is right from the documentation.
>
> *filter: build.status == Build.Status.SUCCESS*
>
> And when I try to save my trigger, I receive this error at the bottom of 
> the page:
>
> *Failed to update trigger: generic::invalid_argument: ERROR: :1:7: 
> Syntax error: mismatched input ':' expecting  | filter: build.status 
> == Build.Status.SUCCESS | ..^*
>
> I also tried removing "*filter: *" as it seems redundant to have that, 
> but that also fails with an error:
>
> *Failed to update trigger: generic::invalid_argument: ERROR: :1:1: 
> undeclared reference to 'build' (in container '') | build.status == 
> Build.Status.SUCCESS | ^ ERROR: :1:17: undeclared reference to 
> 'Build' (in container '') | build.status == Build.Status.SUCCESS | 
> ^*
>
> Nothing I have tried seems to be valid in this and the documentation link 
> right there in the trigger editor UI is exactly the documentation giving 
> the examples.
> [image: cloud-build-trigger-filters-error.png]
>
> I've been working at this for a few days, and I'm out of ideas for making 
> this function as documented. Please, some assistance is needed.
>
> Thanks.
>
> On Thursday, June 2, 2022 at 5:52:19 PM UTC-7 Tom Harris wrote:
>
>>
>> I have one cloud build trigger in one of our projects that deploys an App 
>> Engine. I have also created a pubsub topic named 'cloud-builds' in this 
>> same project, and I see that build event messages are being sent to that 
>> topic during and at the end of builds.
>>
>> I am attempting to use this topic in another project with a pubsub cloud 
>> build trigger. This works, but has no filtering, and as described on this 
>> page, its firing the build way too often:
>>
>>
>> https://cloud.google.com/build/docs/automating-builds/create-pubsub-triggers#risks_associated_with_an_unfiltered_trigger
>>
>> Now, all I need to determine how to do is add the filtering so only 
>> successful builds with the right trigger ID are used. The documentation (
>> https://cloud.google.com/build/docs/automating-builds/create-pubsub-triggers#using_cel_to_filter_build_events)
>>  
>> says to add something like this to my cloud build trigger filter:
>>
>> filter: build.build_trigger_id == "redacted" && build.status == 
>> Build.Status.SUCCESS
>>
>> However, I am never able to save my trigger, as whatever I type into the 
>> filter fails syntax validation. All the examples given on that page fail. I 
>> have not been able to find any examples on the net, either. I have tried 
>> subsets of these, exactly as described in the documentation, and they all 
>> fail with syntax errors.
>>
>> How is this supposed to be entered into the cloud build trigger filter? 
>> We cannot have every one of the pubsub messages firing a build, as I saw at 
>> least 15 messages delivered when there was no filter, triggering 15 builds 
>> in quick succession, most of which failed due to app engine deployment 
>> concurrency.
>>
>> Please, need some assistance. Also, better documentation around this area 
>> would be good.
>>
>> Many thanks,
>> Tom Harris
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/774004fd-e9c3-42b6-ae28-c58e03f52a8fn%40googlegroups.com.


[google-appengine] Re: Google Cloud Signup Error

2022-04-18 Thread 'Jose Perez Sanchez' via Google App Engine


It is not usual for this error to happen, so, as a recommendation, try 
again and maybe with a different browser (Chrome is the best supported one 
on all Google products), or clear cache if everything fails.

You can also open an issue here: issuetracker.google.com
Here is a guide of how to report issues and request features with issue 
trackers 

On Sunday, April 17, 2022 at 10:37:22 AM UTC-5 alex.ki...@gmail.com wrote:

> I am trying to sign up for google cloud but get an infinite loading screen 
> when I do so. Example: [image: Screenshot 2022-04-14 211642.jpg]

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0437b8ae-2b88-4049-bd6e-1ba565414a50n%40googlegroups.com.


[google-appengine] Re: Error in App Engine/Console

2022-02-23 Thread 'Jose Perez Sanchez' via Google App Engine


To manage the tomcat service:

systemctl stop | start | restart | status tomcat8

If we are installing tomcat8 in an OpenStack instance, and due to the 
limitations of virtual machines in pseudorandom generation, it is necessary 
to modify the file 
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security, and 
change the following line:

secure random . source = file : /dev/./urandom _ _ _

After the change we restart the service.

To have more information of the message you are getting in your Tomcat home 
page, I suggest you to follow the next link: 
https://iaw.readthedocs.io/es/latest/unidades/u5/tomcat8.html

On Wednesday, February 23, 2022 at 1:17:55 PM UTC-6 mymailm...@gmail.com 
wrote:

> Hi,
>
> Can anybody help here to find out what this below error means?
>
> Everything is fine inside GCP console but this web application is not 
> working. It is very unusual error.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/dd8d45ef-25d3-406c-857c-943ad9e28bbfn%40googlegroups.com.