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

Поделиться
HTML-код
  • Опубликовано: 16 июн 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.

  • @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

  • @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!

  • @udaypatel83
    @udaypatel83 2 года назад +1

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

  • @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

  • @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.

  • @oksanafedan7891
    @oksanafedan7891 Год назад +1

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

  • @Goldsacs
    @Goldsacs 3 года назад +1

    Perfect level of introduction. Thank you.

  • @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!

  • @mcmoodoo
    @mcmoodoo 3 года назад +16

    Really clean tutorial. Hope your channel grows!!

  • @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.

  • @terrabyte-techy
    @terrabyte-techy 6 месяцев назад

    Excellent step by step explanation. Thanks for the upload.

  • @tonnie7079
    @tonnie7079 Год назад +2

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

  • @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.

  • @favourudoh753
    @favourudoh753 2 года назад +1

    This was really good. i realluy love this!

  • @niveditabhadra4395
    @niveditabhadra4395 Месяц назад

    An excellent tutorial with an example. Thanks!

  • @subhasishnath3078
    @subhasishnath3078 Год назад +1

    Great intro tutorial man. Thanks.

  • @tomer.nosrati
    @tomer.nosrati Год назад

    Exactly what I needed. Thanks!

  • @ExarchiasGhost
    @ExarchiasGhost Год назад

    You are simply awesome! Great video!

  • @simekanimabambi3271
    @simekanimabambi3271 3 года назад +1

    Very helpful video! Thanks

  • @omkarposhatwar5190
    @omkarposhatwar5190 2 года назад

    Deserves more subs! Great video.

  • @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??

  • @_V__.
    @_V__. 3 года назад +2

    Great video, straight to the point!

  • @nemzyxt
    @nemzyxt 11 месяцев назад +1

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

  • @Endlessvoidsutidos
    @Endlessvoidsutidos 9 месяцев назад

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

  • @seanhuggins5382
    @seanhuggins5382 2 года назад

    Such a good tutorial wow. Subscribed.

  • @ItsTouchDown1
    @ItsTouchDown1 2 года назад +1

    Great content.
    Thank you!

  • @codecartel4598
    @codecartel4598 Год назад

    Thanks from India. Very helpful.

  • @vinalkumar6934
    @vinalkumar6934 2 года назад

    Really informative.. thanks for the vid!!!

  • @JamesQQuick
    @JamesQQuick 2 года назад +4

    Awesome!

  • @arunmanglick
    @arunmanglick 2 года назад +1

    So nicely explained .. Thank you

  • @kevon217
    @kevon217 Год назад +1

    Super helpful thanks!!!

  • @dedpossum66
    @dedpossum66 2 года назад +1

    Good stuff!

  • @katlegophele8909
    @katlegophele8909 Год назад

    Just what I needed :)

  • @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?)?

  • @ricardolima4809
    @ricardolima4809 3 года назад +2

    Great video, thanks

  • @Turn_Back_to_Allah1
    @Turn_Back_to_Allah1 3 года назад +2

    great job man

  • @unizfrhn2803
    @unizfrhn2803 2 года назад

    Thanks. This was very understandable.

  • @s.nazeri2009
    @s.nazeri2009 10 месяцев назад

    Perfect .Thank you .

  • @natsagnyamnamkhai749
    @natsagnyamnamkhai749 Год назад +1

    excellent tutorial

  • @alikaraki4929
    @alikaraki4929 2 года назад

    brilliant ! thank you

  • @izzlenizzle
    @izzlenizzle 2 года назад

    Great, thank you!

  • @varshanookarapu8122
    @varshanookarapu8122 2 года назад +1

    Thank you !!!!

  • @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.

  • @AspirantNoteBooks
    @AspirantNoteBooks 2 года назад +1

    thanks man!

  • @Emil_Benny
    @Emil_Benny 3 года назад

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

  • @brianschonecker4336
    @brianschonecker4336 8 месяцев назад +2

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

  • @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.

  • @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

  • @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?

  • @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.

  • @anju3464
    @anju3464 Год назад

    Can we Rollback the Github action workflow? Please suggest

  • @anandailyasa2530
    @anandailyasa2530 2 года назад

    Thanks

  • @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?

  • @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!

  • @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.

  • @Sohneg
    @Sohneg 6 месяцев назад

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

  • @masoudparpanchi505
    @masoudparpanchi505 Год назад

    thanks

  • @thedaiser19
    @thedaiser19 Год назад +2

    yes

  • @muhammadsalmanjamil7182
    @muhammadsalmanjamil7182 8 месяцев назад

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

  • @dhanrajsubbiyan727
    @dhanrajsubbiyan727 2 года назад

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

  • @programmingmindset
    @programmingmindset Год назад

    I like punching sound in your video 😜😁😁

  • @SP-db6sh
    @SP-db6sh Год назад +1

    Pro course, industry lebel thinking

  • @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.

  • @NhatNguyen-bq6jj
    @NhatNguyen-bq6jj 3 года назад +2

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

  • @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!

  • @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

  • @noadsplease2737
    @noadsplease2737 Месяц назад

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

  • @thecloudterminal
    @thecloudterminal Год назад

    Thank you for making this amazing tutorial

  • @thecoderabbi
    @thecoderabbi Год назад +1

    👍👍👍👍👍👍👍👍👍👍

  • @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

  • @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?

  • @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?

  • @vovs03
    @vovs03 2 года назад

    3:38 superlinter

  • @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?

  • @joseduarte5663
    @joseduarte5663 3 дня назад +1

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

    • @DevOpsJourney
      @DevOpsJourney  3 дня назад

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

  • @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 месяца назад