Thanks. It was very detailed and clear that I could now get the whole picture which I was not having after I studied the google cloud build documentation!
@alessandroceccarelli68893 жыл бұрын
It seems like the --allow-unauthenticated parameter isn't working properly, since "Allow unauthenticated" flag is not shown within the main functions menu on GCP Console. How can I expose the API and give public access? @CLOUD ADVOCATE
@joaoterreiroeatopia11 ай бұрын
Nice; i make one project that have more than one function. And i do steps. But when i get the cloud build trigger, the build deploy all the functions agin. How to create just one project for more then one cloud function, that just deploys the functions that i have change?
@michelkant3 жыл бұрын
Awesome! Very well explained 👍 👍
@Kogulansendhan Жыл бұрын
Thanks for this. But I see the first deployed cloud function name is “sample_function” & the other one via Cloud Build trigger as “hello_world” which was a completely new deployment. Believe if we have the function name as “sample_function” in the yaml it will recreate that specific function as part of CI/CD. Please, Correct me if am wrong.
@mayureshpatilvlogs3 жыл бұрын
Excellent video. I have Doubt. Is there any way we can roll back to previous State. Current I am using Terraform to create cloud function and trigger job with Teamcity flow is working fine. But each time I have destroy existing infra and create new Terraform plan. Is there any way in cloud build we can store state of cloud function and rollback to previous State if our function is not working properly. looking forward for more videos
@CloudAdvocate3 жыл бұрын
Hi Mayur, that's a good scenario. Let me think about that. One way is maintaining the versioning in ur GIT and and then create a new function and route the traffic to that function, pretty much like BG. But other than that, I don't think CF supports any versioning. Let me see if if there any other way.
@ghauri001 Жыл бұрын
Thanks. Still useful. but now google has gen 2 function. Is there a way to setup gen 2 function using cicd?
@Ankit-Cloud Жыл бұрын
This bucket how it is created ? What will be the location of this bucket ?
@veebs993511 ай бұрын
can you tell what to write yml files for config schema for cloud build and cloud function?
@Suresh_Kannan3 жыл бұрын
How you uploaded all files in cloud shell directory... This question may be silly
@ratikeshpathak1982 жыл бұрын
Hi @ Cloud Advocate I am not able to get the free tier for gcp .. could you please help me
@leewerner16773 жыл бұрын
Thanks for the great video! This really helped me with getting started. I have a question though about the Cloud Build trigger. It gives three options for events that invoke a trigger "Push to a branch", "Push new tag", and "Pull request". Now, let's say that I have a repository with many Cloud Functions. I make an edit on one function and I trigger the event. But I don't want every single cloud function in that repository to re-deploy. Any ideas?
@CloudAdvocate3 жыл бұрын
Very good question. Yes you can accomplish multiple ways such as ignoring the files to trigger any builds. For example: You can only invoke build if certain file is changed. cloud.google.com/cloud-build/docs/automating-builds/create-manage-triggers has very good info on that. Please try this in ur non prod :). Also you can combine this with branching strategy of GIT. I found this link helpful too stackoverflow.com/questions/61011558/in-gcp-through-cloudbuild-how-can-i-ensure-that-only-those-steps-get-triggered
@michelkant3 жыл бұрын
Good question indeed. What if you have all cloud functions in main.py 🤔 then technically that will trigger a rebuild on all functions for every single change.
@pdsdoteth43352 жыл бұрын
Thanks!
@Ankit-Cloud2 жыл бұрын
How we can configure cloud build using terraform module ?
@arunj5357 Жыл бұрын
Thank You for amazing content. Could please let us know how to integrate Jenkins with App Engine. For GKE we have plugin and creaking Json key for service account then inegrating however for App engine we don't have any plugin. Could you please suggest something. Thank You!
@pratikbhandari56494 жыл бұрын
Amazing video... just saw the video..now I'll try once 🙏
@pratikbhandari56494 жыл бұрын
Pls provide GitHub url
@CloudAdvocate4 жыл бұрын
Thanks Pratik, updated in the description.
@pratikbhandari56494 жыл бұрын
I am facing issue will running the gcloud builds command
@CloudAdvocate4 жыл бұрын
What's the error mate
@surajshende46442 жыл бұрын
can we do roll back using cloud build.
@varunjain62744 жыл бұрын
Very informative videos
@varunjain62744 жыл бұрын
I am facing one issue (gcloud.builds.submit) HTTPError 403: AccessDeniedAccess denied.cloudbuildfn@awesome-pilot-289111.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object. Even service account is having "Storage Admin" role
@CloudAdvocate4 жыл бұрын
Hi Varun, did you check permissions of cloud build?
@varunjain62744 жыл бұрын
@@CloudAdvocate Service account has following roles Cloud Build Service Account ,Cloud Functions Developer and Service Account User. One more interesting error on command line is still being shown awesome-pilot-289111.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object." but build was triggered for 1 min though it is failing with following error Function failed on loading user code. Error message: File main.py that is expected to define function doesn't exist Detailed stack trace: Traceback (most recent call last): File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker_v1.py", line 315, in check_or_load_user_function _function_handler.load_user_function() File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker_v1.py", line 190, in load_user_function spec.loader.exec_module(main_module) File "", line 724, in exec_module File "", line 859, in get_code File "", line 916, in get_data FileNotFoundError: [Errno 2] No such file or directory: '/user_code/main.py'
@varunjain62744 жыл бұрын
Copying all source in same folder and executing following command gcloud builds submit , cloud is function is getting deployed and working fine but on command prompt i still see same error "cloudbuildfn@awesome-pilot-289111.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object" which is kind of strange thing.
@withshivaram4 жыл бұрын
Hi GK, Thanks for videos on cloud, could you please suggest if I need to start cloud career with cloud developer associate or azure architect, could you please suggest, thanks!!
@CloudAdvocate4 жыл бұрын
You mean in Azure? Or GCP? I am not much familiar with Azure at the moment.
@rajkishormahanada62234 жыл бұрын
Kindly upload the Jenkins with gcp developer tutorials video's
@CloudAdvocate4 жыл бұрын
Sure, will do.
@ManojKumar-xk9uc4 жыл бұрын
Thanks for the video bro, it is very helpful. How can we get the email when build gets failed ?
@CloudAdvocate4 жыл бұрын
Hi Manoj... thank you! Not the straight forward way like Jenkins but you can do it with pubsub. Give it a try cloud.google.com/cloud-build/docs/subscribe-build-notifications