GitHub Actions: Approvals, Environments and Visualization DEEP DIVE

  Рет қаралды 23,353

CoderDave

CoderDave

Күн бұрын

GitHub Actions finally have Approvals, Environments, and Visualization!
In this video we will explore those features and we will see how to set them up and use them the best way.
How to configure an environment in GitHub Actions? How to approve a deploy in GitHub Actions? What about GitHub Actions Visualization?
We will answer those questions and more in this GitHub Actions approvals, environments and visualization deep dive.
🌟EXCLUSIVE CONTENT🌟
Do you want to access exclusive content, live chats and Q&As, polls, and even 1:1 calls with me? Join my Patreon: / coderdave
🆘 NEED HELP? 🆘
Book a 1:1 Consultation with CoderDave: geni.us/cdconsult
🙏🏻SUPPORT THE CHANNEL🙏🏻
Buy me a coffee: www.buymeacoffee.com/CoderDave
PayPal me donation: paypal.me/dabenveg
💬JOIN THE COMMUNITY
► Website: coderdave.io
► Discord: geni.us/cddiscord
► Newsletter: coderdave.io/newsletter
► Blog: dev.to/n3wt0n
► GitHub: github.com/n3wt0n
► Twitter: / davidebenvegnu
► Facebook: / coderdaveyt
🎥VIDEOS
► Automate EVERYTHING with GitHub Actions: • Automate EVERYTHING wi...
► GitHub Universe 2020 RECAP: • GitHub Universe 2020: ...
► GitHub Actions Manual Trigger: • We can START GitHub Ac...
⏲TIMESTAMPS
0:00 Intro
1:21 About Environments
1:41 Enable Environments
2:35 Environments Configuration Setting
2:56 Approvers Settings
3:44 Timer Settings
4:14 Environment Secrets
6:07 Actions Configuration to Use Environments
8:43 Environments demo
9:30 Workflow visualization
10:28 Approval process
11:32 Auditing and Deployment Tracking
12:54 Wrap Up
13:16 Bloopers
🎤PODCAST: geni.us/cdpodcast
❓QUESTIONS?
Have a question about DevOps, Cloud, Coding, or Anything Else? Post in comments section of this video!
🔴SUBSCRIBE to CoderDave here: kzbin.info?sub...
_______________
👕GET MY MERCH: geni.us/cdmerch
🔮TOOLS I USE
► Twingate - Connect to your Private Resources SECURELY: geni.us/twingate
► TubeBuddy - #1 KZbin channel Management tool (FREE): www.tubebuddy.com/CoderDave
► Moosend - Free Newsletter and Automation Platform: geni.us/moosend
📸🖥️GEAR AND SOFTWARE
► Music - Epidemic Sound (Get 30 days free): epidemicsound.com/referral/zf...
► Editing - Adobe Premiere Pro: geni.us/AdobeVideo
► Gear I Use for KZbin: kit.co/CoderDave/gear-i-use-f...
► Gear I Use for Streaming: kit.co/CoderDave/gear-i-use-f...
► My Computer Setup: kit.co/CoderDave/main-compute...
► Full office setup: github.com/n3wt0n/work-from-h...
Disclaimer:
Some product links are affiliate links which means if you buy something I'll receive a small commission at no additional cost to you.
As an Amazon Associate, I earn from qualifying purchases.

Пікірлер: 46
@CoderDave
@CoderDave 3 жыл бұрын
✨ *Question of the day* ✨: Do you like these new features? How do you plan to use them? *SUPPORT THE CHANNEL :* Buy me a coffee: www.buymeacoffee.com/CoderDave Join my Patreon: www.patreon.com/CoderDave PayPal me donation: paypal.me/dabenveg
@pluralcloud1756
@pluralcloud1756 3 жыл бұрын
Keep your content coming- -appreciate it
@CoderDave
@CoderDave 3 жыл бұрын
Thanks, I definitely will ☺️
@son7211
@son7211 3 жыл бұрын
Thanks! love the detail explanation. Now this is added to my favorite 😎👍
@CoderDave
@CoderDave 3 жыл бұрын
Thanks to you! Merry Christmas if you celebrate it and happy new year 🎊
@johnpaulmoaje5358
@johnpaulmoaje5358 2 жыл бұрын
Very informative. Thank you for sharing!
@CoderDave
@CoderDave 2 жыл бұрын
Glad you enjoyed it!
@MrLablanco
@MrLablanco 6 ай бұрын
Thank you mate! very useful!
@CoderDave
@CoderDave 6 ай бұрын
Glad it helped!
@RoshanSingh-kc6os
@RoshanSingh-kc6os 3 жыл бұрын
Thanks for sharing this video.. really like
@CoderDave
@CoderDave 3 жыл бұрын
Thanks! What do you like the most in the video?
@TypeScriptTV
@TypeScriptTV 2 жыл бұрын
Great tutorial! It showed me how to review deployment jobs. Thanks a lot! Benny
@CoderDave
@CoderDave 2 жыл бұрын
Glad it was helpful!
@MildronizeWangth
@MildronizeWangth 2 жыл бұрын
Thanks Good explanation.
@CoderDave
@CoderDave 2 жыл бұрын
Thanks, happy you liked it ☺️
@arxi29
@arxi29 6 ай бұрын
great tutorial
@CoderDave
@CoderDave 6 ай бұрын
Thank you! Cheers!
@ammarmansoor7783
@ammarmansoor7783 3 жыл бұрын
Hey liked the video a lot and left a like. These new features sound like they would definitely help an agile team. But quick question. How does environment protection work with mid + sized team if you have multiple developers working on different tasks in the same repo? Lets say dev one checks in code and is waiting approval and while waiting dev 2 checks in his code and is then awaiting approval as well. What is the behavior of Github Actions pipeline in this state?
@CoderDave
@CoderDave 3 жыл бұрын
If a deployment A is waiting for approval in an environment, and another deployment B is queued for the same environment you''ll have it both waiting for approval. Then it is a matter of which one you approve first. Anyway, the other will still be in waiting state until you either approve it or cancel it.
@vadimkalinin8677
@vadimkalinin8677 Жыл бұрын
Hi Dave, thanks for a great overview. Do you perhaps know if one step or job requiring approval, say Production, was once approved will this approval be inherited by consequent steps and jobs in the same workflow? Basically speaking, am I approving a particular step or the whole workflow?
@CoderDave
@CoderDave Жыл бұрын
Happy you found this helpful. The approval is set on the environment, and the environment is set at Job level. Therefore the approval is at job level, meaning that once approved all the steps in the job will be executed.
@vadimkalinin8677
@vadimkalinin8677 Жыл бұрын
Thanks for replying. Yeah, although I understand the logic behind, was a little upset when found this out by trials and errors. I wanted to approve 2 reusable workflows running on same environment at once. Eventually, needed to introduce separate job in front for the purpose of approval.
@LawyerAB
@LawyerAB 2 жыл бұрын
Hello, thank you for explanation. I have a question for you please. Who transfer the code between environments? For example when developers done their codes who pushes to test environment and when testers done who pushes codes to next environment? And who creates these environments on GitHub in real projects? Thanks in advance.
@CoderDave
@CoderDave 2 жыл бұрын
Hey, happy it's been helpful About your questions is a matter of process... in many processes, no-one pushes the code... the code is pushed to the branch once... and build once, the build creates what is know as artifact (basically the result of the build, which could be a zip file, a binary, or anything that you can deploy) and then a job in the workflow deploys that artifact to the first environment (let's say Dev). if changes need to be made, the current run is invalidated, changes are made, and a new updated artifact is deployed to Dev. when the status is ok, you can approve the next deployment and a new job in teh same workflow will deploy THE SAME ARTIFACT to the next environment, and so on so forth. It is very important to note I said "the same artifact". This means that there is no build or code change between environments. The application is built once, and then the exact same binaries are deployed to the different environments (this ensure that if a binary was working in QA, it will work in staging, prod, etc because no code is changed) About the "who creates the environments", well again it depends... could be a Release manager, the DevOps team, or anyone else with enough permissions
@fernandozpiccin
@fernandozpiccin 3 жыл бұрын
Great video. Does anyone know if its possible to deploy releases to specific environments?
@CoderDave
@CoderDave 3 жыл бұрын
Thanks. Do you mean the "GitHub Releases"? If so, it is not possible to deploy the releases directly (they are basically a "storage" to fix in time whatever artifact you want. But you can have an Action workflow triggered by a release creation. In the workflow you could read the content of the release and therefore use that artifact to deploy to the environment you want.
@lee45283
@lee45283 Жыл бұрын
Great video, it’s very cool feature. Shame you need an enterprise subscription, seems a pretty common requirement even for small teams
@CoderDave
@CoderDave Жыл бұрын
Very true!
@Chatsworth1979
@Chatsworth1979 3 жыл бұрын
Question about what you discuss at the 12:00 mark: I created an environment. Then I clicked the code view, on the right where your screen shows Releases, Packages, and Environments mine shows Releases, Packages, and Languages. I did not actually build and deploy to the Environment, I simply created and configured one Environment. Could that be why? Maybe a build and deployment is required? Thanks for any info.
@CoderDave
@CoderDave 3 жыл бұрын
That's correct, it won't show unless there been a deployment activity on that environment
@swathiashok2586
@swathiashok2586 Жыл бұрын
How do I disable email notification for the review deployments approval,as I donot need email notification, is there any settings to do this at organization level instead of manually unsubscribing it can we do it in settings?
@CoderDave
@CoderDave Жыл бұрын
I believe that, at least for now, it is not possible
@swathiashok2586
@swathiashok2586 Жыл бұрын
Hey can u pls lemme know if we can modify If a job is not approved within 30 days, the workflow run will be automatically canceled. 30days to lesser number and how?
@CoderDave
@CoderDave Жыл бұрын
Unfortunately at the moment it is not possible to change that value
@akashmohapatra1008
@akashmohapatra1008 2 жыл бұрын
for private repository what to do ?
@CoderDave
@CoderDave 2 жыл бұрын
Unfortunately, this is not available for private repos on either personal account or teams plan :( GitHub has decided to make this available on private repos only in the GitHub Enterprise Cloud (GHEC) :( If you are on private repos but not on GHEC, then you'd need to use some kind of workaround
@414121
@414121 3 жыл бұрын
The Environment setting, in my case, only appears on the public repository. Is that your case?
@CoderDave
@CoderDave 3 жыл бұрын
Yes, that’s correct. I believe I mention this also in the video, Environments are available only for public repos. If you have GitHub Enterprise, then it’s available also on private repos.
@414121
@414121 3 жыл бұрын
@@CoderDave Yes, I did not notice when you comment. I re-watched the video. Thanks to and congrats on your work.
@raj080288
@raj080288 2 жыл бұрын
Would the environment variables deploy automatically to their servers?
@CoderDave
@CoderDave 2 жыл бұрын
Not sure what you mean. You still have the deployment steps for your environments/servers/targets in the workflow. The Environment section of the job specifications allows you to control things like environment-specific secrets, approvals, etc
@kamalkamals
@kamalkamals 2 жыл бұрын
on settings on my project cannot found environement option
@CoderDave
@CoderDave 2 жыл бұрын
Is it a private repo? If so it is normal, environments are available only on public repos. If you want to have them on private repos you need to be on GitHub Enterprise 😕
@kamalkamals
@kamalkamals 2 жыл бұрын
@@CoderDave yep yep it s enable by default if using normal account but not free for organization :(
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 2,7 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 13 МЛН
Why did the angel disappear?#Short #Officer Rabbit #angel
00:38
兔子警官
Рет қаралды 5 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 106 МЛН
ვანოს შოუ | სტუმარი - თინა ბოკუჩავა შვილებთან ერთად
23:02
შაბათის შოუ ჯგუფი - Shabatis Show Group
Рет қаралды 10 М.
GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
32:31
TechWorld with Nana
Рет қаралды 1,4 МЛН
A typical GitHub workflow // what to expect
10:00
Kahan Data Solutions
Рет қаралды 18 М.
GitHub Actions (Branch Protection, Automated Testing) - Full Tutorial
29:56
GitHub Actions -  Getting Started With Environments
12:25
Mickey Gousset
Рет қаралды 34 М.
5 Ways to DevOps-ify your App - Github Actions Tutorial
12:12
Fireship
Рет қаралды 675 М.
CI/CD for Android Projects using Github Actions | Pipelines + Workflows
24:43
Github Actions CI/CD - Everything you need to know to get started
12:21
Understanding GitHub Actions - Automated Testing
11:28
Dev Leonardo
Рет қаралды 24 М.
Разряженный iPhone может больше Android
0:34
MacBook Air Японский Прикол!
0:42
Sergey Delaisy
Рет қаралды 575 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 629 М.
📦Он вам не медведь! Обзор FlyingBear S1
18:26
Ждёшь обновление IOS 18? #ios #ios18 #айоэс #apple #iphone #айфон
0:57