How to deploy Cloud Run services with GitHub Actions

  Рет қаралды 20,130

Google Cloud Tech

Google Cloud Tech

Күн бұрын

Did you know GitHub Actions integrates with Google Cloud? Welcome back to Serverless Expeditions Extended! In this video, Martin and Luka discuss various use cases for GitHub Actions. Watch along and learn how developers on GitHub can effortlessly integrate CI/CD for Google Cloud products.
Chapters:
0:00 - Intro
0:38 - What are GitHub Actions?
1:25 - Google Cloud Platform
2:56 - Getting started with GitHub Actions
5:32 - Developer workflow for CI/CD
9:59 - Wrap up
Checkout more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions​
Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech​
#ServerlessExpeditions​ #ServerlessExpeditionsExtended

Пікірлер: 22
@googlecloudtech
@googlecloudtech Жыл бұрын
🔩 Subscribe for more Google Cloud tips and tricks → goo.gle/GoogleCloudTech​
@niaz.shovon
@niaz.shovon 2 ай бұрын
Excellent, very useful video. Thank you.
@anilmm2005
@anilmm2005 Жыл бұрын
Thanks Martin. Looking forward to next video of WIF .
@emanuelburgess2426
@emanuelburgess2426 11 ай бұрын
Love the mention of WIF!
@megairrational
@megairrational Жыл бұрын
Great info Martin! Looking forward to seeing how to secure the deployment process using the workload identity federation
@TheMomander
@TheMomander Жыл бұрын
Thank you, Carlos! We are working on that video right now 🙂
@TheMomander
@TheMomander 10 ай бұрын
The video about Workload Identity Federation has been published. Search KZfaq for "How to use Github Actions with Google's Workload Identity Federation" and you will find it. Hope you find it useful.
@grasstoucher856
@grasstoucher856 Жыл бұрын
Great video. Is there a video on uisng WIF instead?
@TheMomander
@TheMomander Жыл бұрын
Yes, we are working on a video about WIF. It's been scheduled for publishing on June 15, but that may change.
@cihadp
@cihadp Жыл бұрын
Could you share your repo please?
@jayantseth9184
@jayantseth9184 Жыл бұрын
How can we run tests on container before deploying the same on cloud run ? I am facing issue with passing the credential to container using github action, and my container needs access to gcp resources so I am getting error which says "unable to load default credentials"
@TheMomander
@TheMomander Жыл бұрын
Good question! I do this by running the GitHub Action "google-github-actions/auth". It pulls in the JSON key for a service account that I have stored as a secret in GitHub.
@JorgeSolis-jd6fr
@JorgeSolis-jd6fr 8 ай бұрын
@@TheMomander I am having trouble understanding where to get the service name and the "service account key" is there a resource that can show me where that is? I am having a similar auth problem: Error: google-github-actions/auth failed with: retry function failed after 1 attempt: failed to parse service account key JSON credentials: unexpected token 緷 in JSON at position 0 Thanks!
@TheMomander
@TheMomander 8 ай бұрын
@@JorgeSolis-jd6fr To export your service account key: go to Google Cloud Console, click the hamburger menu, click "IAM & Admin", click "Service Accounts", click the three dots to the right for the service account you want, click "Manage keys", click "Add key", "Create new key" and pick JSON. To store the key as a GitHub secret: open the JSON file in a text editor, select and copy the contents of the JSON file, click to create a new secret in GitHub, paste in the key file contents you copied. Hope this helps!
@rajeshkumarj9623
@rajeshkumarj9623 10 ай бұрын
Great I really loved it Thank You, will you please give me an idea how to deploy the github project into Apigee X as a proxy using cloud run with maven plugin, your help will be appreciated.
@TheMomander
@TheMomander 10 ай бұрын
Sorry, I don't have much experience with Apigee X.
@rajeshkumarj9623
@rajeshkumarj9623 10 ай бұрын
Hey@@TheMomander, thanks for the reply... I need to know to how to deploy github project into gcp, with workload identity federation authentication in the .yml file, will you please help on that.
@TheMomander
@TheMomander 9 ай бұрын
​@@rajeshkumarj9623 You're in luck; we recently published a video about this. Search KZfaq for "How to use Github Actions with Google's Workload Identity Federation" and you will find it. Best of luck with your project!
@ncrousset26
@ncrousset26 2 ай бұрын
Esta orma ya no funciona, actualizen el video
@seanZG
@seanZG 4 ай бұрын
Nothing worked, it should be simple (why doesn't a connection work out the box) Why do we need to fight a multitude of permission errors after connecting cloud run to github. This has turned into a nightmare - Connected cloud run to github repo and boom only errors can't find a solution - Here's the output of the error Step #1 - "Push": denied: Permission "artifactregistry.repositories.uploadArtifacts" denied on resource "projects/********/locations/europe-west2/repositories/cloud-run-source-deploy" (or it may not exist)
@TheMomander
@TheMomander 4 ай бұрын
GitHub Actions are great if you want to customize your CI/CD pipeline. If you want something simpler that works "out of the box", this may work better for you: 1. Go to Cloud Run in the Google Cloud Console. 2. Click "Create service". 3. Click "Continuously deploy from a repository".
@KwamsC
@KwamsC 2 ай бұрын
The run from source seems to be outdated. Is there going to be an update for it?
Top 3 pain points for serverless developers
10:15
Google Cloud Tech
Рет қаралды 7 М.
GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
32:31
TechWorld with Nana
Рет қаралды 1,4 МЛН
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 12 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 79 МЛН
How to easily Continuous Deployment with Cloud Run
34:24
Kevin Simper
Рет қаралды 34 М.
How to use Github Actions with Google's Workload Identity Federation
11:33
Run your React app on Google Cloud
16:28
Google Cloud Tech
Рет қаралды 15 М.
Cloud Run QuickStart - Docker to Serverless
7:50
Fireship
Рет қаралды 179 М.
How GitHub Actions 10x my productivity
8:18
Beyond Fireship
Рет қаралды 392 М.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 154 М.
Low Price Best 👌 China Mobile 📱
0:42
Tech Official
Рет қаралды 719 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,4 МЛН