Cloud Build - Create a CI/CD Pipeline

  Рет қаралды 155,254

Fireship

Fireship

Күн бұрын

Build, test, deploy, repeat 🤖 Create a CI/CD pipeline with Google Cloud Build for that can continuously deploy your app to Firebase Hosting on every git commit fireship.io/lessons/ci-cd-wit...
- Cloud Build cloud.google.com/cloud-build/
- Hosting firebase.google.com/docs/host...

Пікірлер: 81
@camerenisonfire
@camerenisonfire 5 жыл бұрын
I hardly understand how this channel is not one of the top Web Dev resources on KZfaq. Great concise info and incredible production quality. Thanks.
@Fireship
@Fireship 5 жыл бұрын
Thank you :) Tell your friends!
@gerardrique3229
@gerardrique3229 5 жыл бұрын
The content you post on this channel is so incredible and useful.
@patrickmullot73
@patrickmullot73 5 жыл бұрын
Whoo ! I think this is the densest episode of all! So much info in so little time! But awesome anyway! Thanks Jeff!
@Fireship
@Fireship 5 жыл бұрын
Thanks! This took much longer than I expected to create. There are a lot of little gotchas setting up CI/CD
@patrickmullot73
@patrickmullot73 5 жыл бұрын
Indeed!!! DevOps in 9'37 !! You're the Usain Bolt of youtube! :-p
@Fireship
@Fireship 5 жыл бұрын
@@patrickmullot73 haha, I happen to share a birthday with him Aug 21
@patrickmullot73
@patrickmullot73 5 жыл бұрын
​@@Fireship There it is!
@duncan-dean
@duncan-dean 5 жыл бұрын
I set this up for some of my static sites yesterday. Deploys to separate buckets for each site. Was super simple and fun! Awesome video by the way!
@Fireship
@Fireship 5 жыл бұрын
Nice, it's awesome for the JAM stack
@DevOpsDirective
@DevOpsDirective 4 жыл бұрын
The tip at 4:33 about using `gcloud builds submit` from within the cloud-builders-community repo to build and push the builder image to your project's container registry is awesome!
@zoecarlibur
@zoecarlibur 5 жыл бұрын
I love these Google Cloud related videos. Good to learn about the GCP & Firebase Ecosystem.
@kaushilkundalia9653
@kaushilkundalia9653 3 жыл бұрын
This is one of the most underrated channel on YT.
@ZaheeruddinBabar_1
@ZaheeruddinBabar_1 5 жыл бұрын
Right on time! 🔥 Awesome stuff as usual.
@MercyFromOverwatch2
@MercyFromOverwatch2 2 жыл бұрын
Jeff is my favourite tech youtuber!
@shaunb
@shaunb 5 жыл бұрын
Extremely useful video! I was just thinking of setting this up on a personal project of mine, and now I’ll know how to do it right the first time!
@Fireship
@Fireship 5 жыл бұрын
Nice! Let me know how it goes
@StanLTU
@StanLTU 5 жыл бұрын
I love your presentation style. Very informative and straight to the point. You have very good voice for these videos and well done with animations. Can you tell me how many people work on these videos?
@hooligansofts7430
@hooligansofts7430 5 жыл бұрын
Can you please create more tutorials or courses related to deep firebase and firestore related stuff using react or vue as frontend. Your channel is a gold mine to learn the best approaches and practices for firebase and all the related features of it but many of us are not really angular developers. Majority of individuals who are start on their own begin with either react or vue as their first js library. I would seriously love to purchase any course by you where you build a react or vue application using firebase and firestore with all its features. And thanks for sharing all these videos, your content is actually premium.
@Fireship
@Fireship 5 жыл бұрын
Thank you for the suggestion. Fireship courses will decouple the frontend from the backend, making it easier to integrate any frontend. My first attempt with this is already in progress with a Payments course.
@hooligansofts7430
@hooligansofts7430 5 жыл бұрын
@@Fireship so glad to hear that! 😊
@PS-cc3pz
@PS-cc3pz 3 жыл бұрын
Richie rich home as automation reference. Best example ever !
@TerjeChristensen_Norway
@TerjeChristensen_Norway 5 жыл бұрын
Thanks. Great overview
@myxsys
@myxsys 2 жыл бұрын
Exactly what I needed! Thanks for making this straightforward tutorial!
@dmz985
@dmz985 5 жыл бұрын
Awesome video Jeff! Are you planning on showcasing your Algolia index update code / process? I would be really interested in that.
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 5 жыл бұрын
Thank u for this awesome video
@seanrussell214
@seanrussell214 5 жыл бұрын
Thanks for the content! I have been doing something similar, but I'll be making a few adjustments after watching your video. Something to consider for those who use more than hosting on firebase: You can create separate triggers for each component of your firebase app by utilizing the 'Included files filter'. Ex 'public/*' for frontend, and 'functions/*' or 'appengine/*' for backend. This way you do not have to deploy your entire application when you make a little change to your frontend or vise versa. Sorry, long comment over.
@sveinsoermo9883
@sveinsoermo9883 5 жыл бұрын
Gold Jeff, GOLD!
@mvvbuch
@mvvbuch 5 жыл бұрын
That’s awesome! Thanks a lot
@santiagobarchetta5401
@santiagobarchetta5401 2 жыл бұрын
Dude. This is amazing. Thanks for the info! Is super usefull!
@hiranga
@hiranga 2 жыл бұрын
Great to hear you had success with this video - do these steps still work with the current GCP? (3yrs later)?
@madhusvuce
@madhusvuce 3 жыл бұрын
This is great. How do we automate end-to-end for firebase app. Creating the firebase project, creating app within the project, create DB, functions and hosting , set authentication settings on firebase etc. Is it feasible to build scripts to spin up firebase environment end-to-end ??
@rahulkhatri2920
@rahulkhatri2920 3 жыл бұрын
i have a query, can you please look into it. so we used gcloud builds submit command to upload the community repository in our Gcp project, where did we mention the project ID while executing this command like how did gcloud builds submit got know where to submit? edit1: do we need to replace $PROJECT_ID in the cloudbuild.yaml file before running the gcloud builds submit command?
@ikezedev
@ikezedev 5 жыл бұрын
Thanks again Jeff
@AymanEL-BACHA
@AymanEL-BACHA 7 ай бұрын
was wondering how to automate the update process rather than running a script inside the Instance on GCP. I have checked multiple services on GCP (Cloud Build, Cloud Function…) appreciate your guidance
@premkumarh
@premkumarh 5 жыл бұрын
More Code this and not that please.. and make a play list in your channel tooo.. loving your channel keep us moving..
@Fireship
@Fireship 5 жыл бұрын
Thanks for the suggestion, I'll try to fit in a "code this, not that" every couple weeks.
@manualchnn
@manualchnn 5 жыл бұрын
Thanks and keep it up 😍
@DebmallyaBhattacharya
@DebmallyaBhattacharya 4 жыл бұрын
CI/CD which builds the docker image, deploys in GCloud Containers and let's the Cloud Run service point to the latest version of the container.
@TheTiagoslater
@TheTiagoslater 3 жыл бұрын
having multiple environments dev sys qa prod, would you repeat the process each env ?
@resham1729
@resham1729 3 жыл бұрын
Great video👍👍👍
@albertroswell
@albertroswell 3 жыл бұрын
this is very useful, how can I make cloud build to update my code to a certain vps I have on google cloud then?, thanks
@Jo-tj6gn
@Jo-tj6gn 5 жыл бұрын
i would like to see something with Travis & Angular to a normal FTP Service
@mileslemon
@mileslemon 5 жыл бұрын
I would love to see you do more videos with Vue. It's by far my favourite JS framework.
@Fireship
@Fireship 5 жыл бұрын
I like Vue. That might be something you'll see on this channel in the future
@samdavid431
@samdavid431 5 жыл бұрын
I have a problem in integrating the Angular app, ng test does not work due to problems with puppeteer Cannot start ChromeHeadless /opt/atlassian/pipelines/agent/build/node_modules/puppeteer/.local-chromium/linux-609904/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
@acche-rc
@acche-rc 5 жыл бұрын
can u do one for circle ci and compare how it is better or worse than google cloud build?
@ArturoCamposConde
@ArturoCamposConde 4 жыл бұрын
I have a question on scheduling builds, could you point where I could find a replicable example of scheduling builds? I've tried setting the scheduler with cron commands in console but it isn't working. The only way I could trigger builds using the scheduler is by placing a function in between which is redundant because cloud build should obey cloud scheduler triggers.
@ArturoCamposConde
@ArturoCamposConde 4 жыл бұрын
Thanks for your content Jeff it is awesome.
@honky7donky
@honky7donky 4 жыл бұрын
How would you set this up if you, like us, are using a monorepo, and the cloudbuild.yaml file is not in the root of the repository?
@abdullahhejazi6907
@abdullahhejazi6907 4 жыл бұрын
I am quite shocked that you use ubuntu, for a long time I thought you use macOS Great video
@just_jimmy
@just_jimmy 5 жыл бұрын
Great video
@MrOnizukakira
@MrOnizukakira 5 жыл бұрын
Do I have to enable billing to use this service? Thank you
@Fireship
@Fireship 5 жыл бұрын
Yes, forgot to mention that. It pricing is very generous tho and will likely be free unless you have a big active build process.
@jacobmiller38
@jacobmiller38 2 жыл бұрын
Can this also push iOS and Android apps to TestFlight, App Store, and Play?
@tempolakay104
@tempolakay104 3 жыл бұрын
If you do not understand where the names are coming from. They just containers that the script runs in-line with your command. So the first -name is a docker container for npm packages and the entrypointis npm. The args is the command. It spins up a docker container with npm utilities and run npm install then it does, continue to the next step
@kartiksikka3866
@kartiksikka3866 4 жыл бұрын
Hi I am facing below issue while deploying angular 9 app on firebase , It says me to update npm version . Please help !! The Angular CLI requires a minimum Node.js version of either v10.13 or v12.0.
@VenkatSubash
@VenkatSubash 5 жыл бұрын
Vue is really awesome
@mitchsrobinson
@mitchsrobinson 5 жыл бұрын
Great video! Is anyone else having an issue with the firebase cloud builder? Error about the permissions: -> "starting container process caused "exec: \"/firebase.bash\": permission denied": unknown."
@mitchsrobinson
@mitchsrobinson 5 жыл бұрын
Okay so anyone having this problem - add firebase tools to your dependencies and create an NPM "deploy" script that calls "firebase deploy" and run that in the normal npm cloud builder!
@Oswee
@Oswee 4 жыл бұрын
Firebase !== production. :)
@evolintend
@evolintend 5 ай бұрын
i like your content
@mazimadu
@mazimadu 3 жыл бұрын
I am getting this error. standard_init_linux.go:219: exec user process caused: no such file or directory EDIT: Well I figured it out for me! Since I'm on Windows: Use notepad++, go to edit -> EOL conversion -> change from CRLF to LF.
@PatNeedhamUSA
@PatNeedhamUSA 4 жыл бұрын
For anyone who decided to NOT do a copy pasta and manually typed out that cloudbuild.yaml ... make sure you have it as gcr.io, NOT grc.io.
@J38x729
@J38x729 3 жыл бұрын
I followed the steps and I got the error "Status: Downloaded newer image for gcr.io/zoomdash/firebase:latest gcr.io/zoomdash/firebase:latest standard_init_linux.go:211: exec user process caused "no such file or directory"" anyone know how to fix this?
@atulkumarsaurabh8955
@atulkumarsaurabh8955 3 жыл бұрын
Hey Did you find a fix for that? I am also facing the same
@mazimadu
@mazimadu 3 жыл бұрын
I am also getting this error. Any fix?
@mazimadu
@mazimadu 3 жыл бұрын
Well I figured it out for me! Since I'm on Windows: Use notepad++, go to edit -> EOL conversion -> change from CRLF to LF.
@user72974
@user72974 5 жыл бұрын
No more Kubuntu? Looks like you switched to Ubuntu. :O
@Fireship
@Fireship 5 жыл бұрын
Yep, I upgraded my system a few months ago. I almost went with Manjaro, but really liking bionic beaver
@user72974
@user72974 5 жыл бұрын
@@Fireship I had an Antergos phase for a while too before I settled on trusty old Ubuntu. It's boring, but it works. :)
@peak_mustafa
@peak_mustafa 4 жыл бұрын
This is not CI/CD it's just a CI part. Where is the publishing artifact part and choosing specific environment ?
@TheCreeperTrack1
@TheCreeperTrack1 3 жыл бұрын
Codoku/Pubsub
@TheCreeperTrack1
@TheCreeperTrack1 3 жыл бұрын
Teraje
@balu.92
@balu.92 2 жыл бұрын
These steps feel convoluted and non-intuitive. Cloud integration feels complicated lol
@kaushilkundalia9653
@kaushilkundalia9653 3 жыл бұрын
This is one of the most underrated channel on YT.
CI CD наглядные примеры
22:08
Ulbi TV
Рет қаралды 274 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 68 М.
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
10 regrets of experienced programmers
8:16
Fireship
Рет қаралды 1,1 МЛН
Cloud Run QuickStart - Docker to Serverless
7:50
Fireship
Рет қаралды 179 М.
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 468 М.
What’s new in modern CI/CD on Google Cloud
40:09
Google Cloud Tech
Рет қаралды 2,6 М.
CI/CD Crash Course using Google Cloud Build
38:56
DevOps Directive
Рет қаралды 16 М.
How to design a modern CI/CD Pipeline
9:59
DevOps Journey
Рет қаралды 81 М.
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
Google Cloud Platform (GCP) - Cloud Build
41:26
Cloud Monkey
Рет қаралды 17 М.
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 2,8 МЛН
Что не так с яблоком Apple? #apple #macbook
0:38
Не шарю!
Рет қаралды 479 М.
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 5 МЛН