Github Actions CI/CD - Everything you need to know to get started

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 มิ.ย. 2024
  • I finally made a Github Actions tutorial! In this video, I go over everything you need to know to get started with Github actions. Video includes an explanation of what Github Actions is and a lab you can follow along with.
    👨‍💻 Join our Discord Community of DevOps Engineers: / discord
    🛍️ Amazon Store (homelab/youtube setup): www.amazon.com/shop/devopsjou...
    ☕ Buy me a coffee: www.buymeacoffee.com/bradmorg
    📁 Code Available Here: github.com/devopsjourney1/myg...
    📘 Chapters:
    0:00 Introduction to GitHub actions
    1:00 Github actions workflow file walkthrough
    2:36 Github actions Lab - Creating Repo and setting up Action
    4:20 Github actions Lab - Running and Troubleshooting workflows
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 123

  • @DevOpsJourney
    @DevOpsJourney  8 หลายเดือนก่อน +6

    Update: Make sure you are using v4 of Superlinter. My repo is up to date. Everything still works the same as the video.

  • @brandonwie4173
    @brandonwie4173 2 ปีที่แล้ว +5

    Hi DJ, I am a front-end dev, but don't know much about CI/CD such as Docker, Kubernetes, or the Github Actions. However, it's time for me to learn more about it. And I found you here. I just subscribed to your channel. Thank you so much for a great video and hope I can find some more helpful content here. Thanks, man!

  • @idlevandal69
    @idlevandal69 ปีที่แล้ว +6

    Exceptional tutorial, just the right pace and right amount of information to get started. 🥇

  • @jaket2433
    @jaket2433 2 ปีที่แล้ว +17

    Awesome tutorial man.. Really simple, but covers the basics, that I needed to get started.. Thanks for sharing:-D

  • @linux4kakkar
    @linux4kakkar 5 หลายเดือนก่อน +4

    I have learned new thing today and it will help us to check syntax errors, formatting problems, and potential security vulnerabilities. Thanks for uploading this.

  • @symonxd
    @symonxd 2 ปีที่แล้ว +1

    God bless your clear explanation, at college I'm assigned a group project about Azure DevOps and this video explained CI/CD sexily well, thanks man

  • @brambeer5591
    @brambeer5591 2 ปีที่แล้ว +5

    So i was manually publishing some Python packages to pypi but didn't do it that often so forget the exact instructions each time. This is the perfect solution to automate the job. Thanks and great video!

  • @udaypatel83
    @udaypatel83 2 ปีที่แล้ว +1

    Very simple and but detailed explanation which make sense! Liked it. Thanks a lot!

  • @mcmoodoo
    @mcmoodoo 3 ปีที่แล้ว +16

    Really clean tutorial. Hope your channel grows!!

  • @oksanafedan7891
    @oksanafedan7891 ปีที่แล้ว +1

    Thanks a lot! Looked for an intro video and yours is great - clear and with examples

  • @trojnara
    @trojnara 2 ปีที่แล้ว +4

    Nice tutorial. The basics and principles are well balanced with practical examples. This is quite rare. Keep up the good work.

  • @Goldsacs
    @Goldsacs 3 ปีที่แล้ว +1

    Perfect level of introduction. Thank you.

  • @tonnie7079
    @tonnie7079 ปีที่แล้ว +2

    I like how this info is condensed in 12 short minutes complete with a live coding lab session.

  • @terrabyte-techy
    @terrabyte-techy 6 หลายเดือนก่อน

    Excellent step by step explanation. Thanks for the upload.

  • @DevOpsJourney
    @DevOpsJourney  3 ปีที่แล้ว +18

    What would you like to see a tutorial on next?

    • @jhonnafg
      @jhonnafg 3 ปีที่แล้ว +1

      Hi your channel is a gem. I want to be in the devOps path but still trying to make my way... Started doing bootcamp for first step, just about to finish frontend... Maybe make a video of whats best to learn next in oder to be get to devops.

    • @omerahmed463
      @omerahmed463 3 ปีที่แล้ว +2

      Hi, hope you explain how to run play books locally using github actions on push

    • @rumplstiltztinkerstein
      @rumplstiltztinkerstein 2 ปีที่แล้ว

      This is a really good tutorial. Thanks a lot for it.

    • @natsagnyamnamkhai749
      @natsagnyamnamkhai749 ปีที่แล้ว

      yocto + Qt + UML = embedded linux

    • @ysucaet
      @ysucaet 10 หลายเดือนก่อน

      In GitHub; How would you produce a global heatmap to indicate the locations in the world from where your (open source) project has been downloaded? Is that information (IP addresses from where pulls were issued) even available (and where?)?

  • @hizokadarkwolf
    @hizokadarkwolf 2 ปีที่แล้ว +2

    thank you, very clear and brief explanation and examples.

  • @Vinod_321
    @Vinod_321 2 ปีที่แล้ว +1

    Thank you !! It was really helpful to get an idea about github action.

  • @niveditabhadra4395
    @niveditabhadra4395 หลายเดือนก่อน

    An excellent tutorial with an example. Thanks!

  • @favourudoh753
    @favourudoh753 2 ปีที่แล้ว +1

    This was really good. i realluy love this!

  • @tomer.nosrati
    @tomer.nosrati ปีที่แล้ว

    Exactly what I needed. Thanks!

  • @nemzyxt
    @nemzyxt 11 หลายเดือนก่อน +1

    Thanks for the tutorial sir ! You got a new sub here, and I got my goto channel for DevOps

  • @subhasishnath3078
    @subhasishnath3078 ปีที่แล้ว +1

    Great intro tutorial man. Thanks.

  • @simekanimabambi3271
    @simekanimabambi3271 3 ปีที่แล้ว +1

    Very helpful video! Thanks

  • @nishantabanik8327
    @nishantabanik8327 2 หลายเดือนก่อน

    LOVING what you are putting out. Keep rocking!!
    Just a quick question, which video editing tools are you using for recording and editing your videos??

  • @vinalkumar6934
    @vinalkumar6934 2 ปีที่แล้ว

    Really informative.. thanks for the vid!!!

  • @Endlessvoidsutidos
    @Endlessvoidsutidos 9 หลายเดือนก่อน

    Fantastic video love your teaching style super clean and informative at every step well done.

  • @ItsTouchDown1
    @ItsTouchDown1 2 ปีที่แล้ว +1

    Great content.
    Thank you!

  • @codecartel4598
    @codecartel4598 ปีที่แล้ว

    Thanks from India. Very helpful.

  • @seanhuggins5382
    @seanhuggins5382 2 ปีที่แล้ว

    Such a good tutorial wow. Subscribed.

  • @_V__.
    @_V__. 3 ปีที่แล้ว +2

    Great video, straight to the point!

  • @omkarposhatwar5190
    @omkarposhatwar5190 2 ปีที่แล้ว

    Deserves more subs! Great video.

  • @ExarchiasGhost
    @ExarchiasGhost ปีที่แล้ว

    You are simply awesome! Great video!

  • @arunmanglick
    @arunmanglick 2 ปีที่แล้ว +1

    So nicely explained .. Thank you

  • @kevon217
    @kevon217 ปีที่แล้ว +1

    Super helpful thanks!!!

  • @unizfrhn2803
    @unizfrhn2803 2 ปีที่แล้ว

    Thanks. This was very understandable.

  • @JamesQQuick
    @JamesQQuick 2 ปีที่แล้ว +4

    Awesome!

  • @s.nazeri2009
    @s.nazeri2009 10 หลายเดือนก่อน

    Perfect .Thank you .

  • @katlegophele8909
    @katlegophele8909 ปีที่แล้ว

    Just what I needed :)

  • @ricardolima4809
    @ricardolima4809 3 ปีที่แล้ว +2

    Great video, thanks

  • @izzlenizzle
    @izzlenizzle 2 ปีที่แล้ว

    Great, thank you!

  • @alikaraki4929
    @alikaraki4929 2 ปีที่แล้ว

    brilliant ! thank you

  • @dedpossum66
    @dedpossum66 2 ปีที่แล้ว +1

    Good stuff!

  • @Turn_Back_to_Allah1
    @Turn_Back_to_Allah1 3 ปีที่แล้ว +2

    great job man

  • @varshanookarapu8122
    @varshanookarapu8122 2 ปีที่แล้ว +1

    Thank you !!!!

  • @natsagnyamnamkhai749
    @natsagnyamnamkhai749 ปีที่แล้ว +1

    excellent tutorial

  • @AspirantNoteBooks
    @AspirantNoteBooks 2 ปีที่แล้ว +1

    thanks man!

  • @collectitbydiyversity2442
    @collectitbydiyversity2442 9 หลายเดือนก่อน

    Thank ypu for posting. Is it possible to do this with a preexisting repo? If so, how can it be does safely as to not screw up the repo the preexisting repo? It would be a great tutorial.

  • @anandailyasa2530
    @anandailyasa2530 2 ปีที่แล้ว

    Thanks

  • @russomario
    @russomario 2 ปีที่แล้ว +1

    Very simple and useful video!
    I have a question: what I have to do when some checks fail? I have to delete the failing commit and make a new one or just make a new commit to fix the checks of the failing commit? If also the new commit has some checks that failed?

    • @DevOpsJourney
      @DevOpsJourney  2 ปีที่แล้ว +2

      Hello Mario. You should just commit new changes until the build passes. It's okay if it takes a few tries before you get your code to pass. You should never have to delete an old commit. Git is meant to keep the entire history your code went through.

    • @chrishillery
      @chrishillery 2 ปีที่แล้ว +2

      The other, probably better, alternative is to set it up so that at least basic tests run on pull requests, rather than on commits. Then do your changes on a branch or fork, and propose the change as a pull request. That way if the test fails, you can push new commits to your fork/branch until everything is right. Then do a squash-merge to pull your final change onto the main branch, which will consolidate all your trial and error into a single commit. That gives you the best of both worlds: iterative development and a clean public git history. Both are important for non-trivial codebases.

  • @rascalenters
    @rascalenters ปีที่แล้ว

    Question might be little stupid but i am confused a bit.
    There is a file that is available in a folder in aws and i am running a java maven project using github actions (self hosted runner on aws).
    Can i directly access and read the file to use it inside my java project or do i need to write a code to connect to aws again from java.
    I am new to action and confused about it.
    Thanks

  • @brianschonecker4336
    @brianschonecker4336 8 หลายเดือนก่อน +2

    Version 3 of the super-linter has problems. Upgrade your yml file to use version 4.

  • @masoudparpanchi505
    @masoudparpanchi505 ปีที่แล้ว

    thanks

  • @Emil_Benny
    @Emil_Benny 3 ปีที่แล้ว

    Hello,
    How do you combine a different repo to the current repo for CI CD pipeline.?

  • @juanete69
    @juanete69 4 หลายเดือนก่อน

    Hello.
    How do I create several different workflows? Each one triggered with a different event.
    Do I need to put each one in a different yaml and that's it?
    In what order are those yaml's executed?

  • @rudypridec3
    @rudypridec3 2 ปีที่แล้ว

    Hello and thanks for your help. When I try to run the code in github I get the below error: docker: invalid reference format: repository name must be lowercase.

  • @thedaiser19
    @thedaiser19 ปีที่แล้ว +2

    yes

  • @SP-db6sh
    @SP-db6sh ปีที่แล้ว +1

    Pro course, industry lebel thinking

  • @programmingmindset
    @programmingmindset ปีที่แล้ว

    I like punching sound in your video 😜😁😁

  • @tennyson130
    @tennyson130 2 ปีที่แล้ว +2

    Nice one !
    I have a query , can u pls help !
    I have a request for pre-commit hook with parameters to pass. Could you please help !
    2. Comma separated file paths. If the files committed are separated by commas (e.g.: c:\my folder\my files, c:\my folder\my files1), git should prevent the files from commit.

    • @DevOpsJourney
      @DevOpsJourney  2 ปีที่แล้ว

      sorry.. I dont use precommit... but may use it in the future as I have heard good things.
      Sorry I couldnt help!

  • @noadsplease2737
    @noadsplease2737 หลายเดือนก่อน

    The content is great. Really top notch but I cannot make it to the end of the video because of my misophonia

    • @Imetalh
      @Imetalh วันที่ผ่านมา

      😂😂

  • @domjanzsoo
    @domjanzsoo ปีที่แล้ว

    I tried to run a very simple workflow on the Ubuntu runner, but it keeps waiting for the runner to pick it up. The workflow is really basic it runs an npm install and npm help command. I did post it on Stack overflow, but haven't got any solution. My yml file is basically a copy from the official GitHub documentation page. Is it possible that GitHub can have its runners down or unavailable ? I can't think of any other possible reason.

  • @anju3464
    @anju3464 ปีที่แล้ว

    Can we Rollback the Github action workflow? Please suggest

  • @andreasn
    @andreasn 2 ปีที่แล้ว

    I tried creating the workflow in another branch than main, but it doesnt show up. Do you know what the reason could be?

  • @NhatNguyen-bq6jj
    @NhatNguyen-bq6jj 3 ปีที่แล้ว +2

    Can you do CI/CD with Gitlab CI? Thanks.

    • @hos7012
      @hos7012 3 ปีที่แล้ว

      No

  • @yxxsung
    @yxxsung หลายเดือนก่อน

    I should have read the comments, I spent an hour on this before realizing I had to switch to v4 of the superlinter, lol I feel goofy now

  • @liquidsnake6879
    @liquidsnake6879 11 หลายเดือนก่อน

    its entirely possible that in some cases your organization isn't set up to use actions and in that case you adding the files in will do nothing. Was hoping to see more on that side of things.

  • @shaheenodeh9858
    @shaheenodeh9858 ปีที่แล้ว +1

    is this different on Gitlab ? and if so, how is it different ? is it the setup CI/CD option ? because I have created the files and everything but it doesn't work like Github .

    • @DevOpsJourney
      @DevOpsJourney  ปีที่แล้ว +1

      This is different then Gitlab, sorry I'm not too sure what you mean with your question. I hope you were able to figure it out though!

    • @shaheenodeh9858
      @shaheenodeh9858 ปีที่แล้ว

      @@DevOpsJourney thank you I have actually kept researching about this and found out how to do it on Gitlab :D

  • @dhanrajsubbiyan727
    @dhanrajsubbiyan727 2 ปีที่แล้ว

    Can you please put some video on repository dispatch which can be used to send client-payload: '{"github": ${{ toJson(github) }}}'

  • @Sohneg
    @Sohneg 6 หลายเดือนก่อน

    I got a Error: Failed to view version file:[/action/lib/functions/linterVersions.txt]
    Do you know what to do?

  • @muhammadsalmanjamil7182
    @muhammadsalmanjamil7182 8 หลายเดือนก่อน

    where is auto deployment part ...
    Like hosting it to somewhere else

  • @thecoderabbi
    @thecoderabbi ปีที่แล้ว +1

    👍👍👍👍👍👍👍👍👍👍

  • @danielmorris5470
    @danielmorris5470 10 หลายเดือนก่อน

    is the linter just checking for syntax then? what is the point of ci/cd if it's not doing like actual scripting checks of the actual app?

    • @DevOpsJourney
      @DevOpsJourney  10 หลายเดือนก่อน

      Hey Daniel, yes a linter just checks for proper syntax. Sometimes this is enough for simple repositories. If you need more tests, you would add them the same way you add the linter. Just add an additional step for each of your checks. My Jenkins video goes into more details of this as it's an hour long, this video is more of a getting started with Github actions guide.
      Hope that helps!

    • @danielmorris5470
      @danielmorris5470 10 หลายเดือนก่อน

      @@DevOpsJourney great thank you!

  • @matthewbaier766
    @matthewbaier766 ปีที่แล้ว

    I dont understand. I added the same code but it says Status Failure and nothing runs.

    • @DevOpsJourney
      @DevOpsJourney  ปีที่แล้ว

      Do you have a link to your GitHub repo? If it's public I'll have a look

  • @user-vr1qh7qi3t
    @user-vr1qh7qi3t 9 หลายเดือนก่อน

    how to skip run super-linter step in a workflow run

  • @unclejazz5768
    @unclejazz5768 3 ปีที่แล้ว +2

    san-tax?

  • @vovs03
    @vovs03 2 ปีที่แล้ว

    3:38 superlinter

  • @alitaheri1345
    @alitaheri1345 2 ปีที่แล้ว +1

  • @SurTing
    @SurTing ปีที่แล้ว

    "gitaction workflow not triggering" ... hehe :)

  • @TheDivoture
    @TheDivoture 2 ปีที่แล้ว

    Off-topic question: Do you get a lot of compliments about your voice?

  • @joseduarte5663
    @joseduarte5663 2 วันที่ผ่านมา +1

    Dumb question. Why do you need to check out the code?

    • @DevOpsJourney
      @DevOpsJourney  2 วันที่ผ่านมา

      GitHub actions runs in a Ubuntu container, it still needs to get the code, it won't be in the container by default

  • @HoopKitchen
    @HoopKitchen ปีที่แล้ว

    I followed this tutorial but it failed

    • @DevOpsJourney
      @DevOpsJourney  ปีที่แล้ว +1

      The tutorial is working for others. What is the problem you are running into?

  • @thecloudterminal
    @thecloudterminal ปีที่แล้ว

    Thank you for making this amazing tutorial

  • @tahmidbhuiyan5591
    @tahmidbhuiyan5591 ปีที่แล้ว

    santax

  • @user-ik3yi3uo7q
    @user-ik3yi3uo7q 11 หลายเดือนก่อน

    i cant understand sir anything 🤔🤔🤔🤔🤔🤔🤔

    • @DevOpsJourney
      @DevOpsJourney  11 หลายเดือนก่อน

      It's a feature in GitHub that allows you to automate things after pushing your code. You may need to look at a beginners guide on git/GitHub to get up to speed

  • @BudetSvobodnoy
    @BudetSvobodnoy 6 วันที่ผ่านมา

    ubantu

  • @chetanbarsopiya
    @chetanbarsopiya 2 ปีที่แล้ว

    amazing video man. I need a little help. Can't comment on public. So can you please tell me where can I contact you ? Don't worry it's related to coding only.

  • @def2easy942
    @def2easy942 2 ปีที่แล้ว

    i make yours same but im get error. 2022-04-27 18:55:09 [FATAL] Failed to view version file:[/action/lib/functions/linterVersions.txt] pls help me

  • @krishx007
    @krishx007 4 หลายเดือนก่อน