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

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 137

  • @DevOpsJourney
    @DevOpsJourney  Рік тому +19

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

  • @linux4kakkar
    @linux4kakkar Рік тому +9

    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.

  • @tonnie7079
    @tonnie7079 2 роки тому +7

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

  • @idlevandal69
    @idlevandal69 2 роки тому +11

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

  • @brambeer5591
    @brambeer5591 3 роки тому +6

    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 роки тому +18

    Really clean tutorial. Hope your channel grows!!

  • @jaket2433
    @jaket2433 2 роки тому +18

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

  • @brandonwie4173
    @brandonwie4173 3 роки тому +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!

  • @symonxd
    @symonxd 3 роки тому +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

  • @trojnara
    @trojnara 3 роки тому +4

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

  • @favourudoh753
    @favourudoh753 2 роки тому +1

    This was really good. i realluy love this!

  • @terrabyte-techy
    @terrabyte-techy Рік тому

    Excellent step by step explanation. Thanks for the upload.

  • @oksanafedan7891
    @oksanafedan7891 2 роки тому +1

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

  • @udaypatel83
    @udaypatel83 3 роки тому +1

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

  • @BDSonderKlassen
    @BDSonderKlassen 2 місяці тому

    GOATED tutorial, thanks a lot man!

  • @JaySalunke-o4h
    @JaySalunke-o4h Місяць тому

    thank you bro for making such great videos

  • @Goldsacs
    @Goldsacs 3 роки тому +1

    Perfect level of introduction. Thank you.

  • @_V__.
    @_V__. 3 роки тому +2

    Great video, straight to the point!

  • @JamesQQuick
    @JamesQQuick 3 роки тому +4

    Awesome!

  • @niveditabhadra4395
    @niveditabhadra4395 9 місяців тому

    An excellent tutorial with an example. Thanks!

  • @hizokadarkwolf
    @hizokadarkwolf 3 роки тому +2

    thank you, very clear and brief explanation and examples.

  • @nishantabanik8327
    @nishantabanik8327 10 місяців тому

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

  • @subhasishnath3078
    @subhasishnath3078 2 роки тому +1

    Great intro tutorial man. Thanks.

  • @Endlessvoidsutidos
    @Endlessvoidsutidos Рік тому

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

  • @DevOpsJourney
    @DevOpsJourney  3 роки тому +19

    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 3 роки тому

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

    • @natsagnyamnamkhai749
      @natsagnyamnamkhai749 2 роки тому

      yocto + Qt + UML = embedded linux

    • @ysucaet
      @ysucaet Рік тому

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

  • @TH3-FALCON
    @TH3-FALCON День тому

    Best for a git action newbie

  • @sharathkumarhk4260
    @sharathkumarhk4260 Місяць тому

    Awesome Explanation!! 🎉🎉

  • @muhammadshafay8309
    @muhammadshafay8309 5 місяців тому

    great video really did help me to understand the CI/CD concept.

  • @Vinod_321
    @Vinod_321 3 роки тому +1

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

  • @dreadserpant
    @dreadserpant 3 роки тому

    Deserves more subs! Great video.

  • @codecartel4598
    @codecartel4598 2 роки тому

    Thanks from India. Very helpful.

  • @ExarchiasGhost
    @ExarchiasGhost 2 роки тому

    You are simply awesome! Great video!

  • @tomer.nosrati
    @tomer.nosrati 2 роки тому

    Exactly what I needed. Thanks!

  • @Crazy-Mind-u5q
    @Crazy-Mind-u5q 3 роки тому +2

    great job man

  • @arunmanglick
    @arunmanglick 2 роки тому +1

    So nicely explained .. Thank you

  • @ItsTouchDown1
    @ItsTouchDown1 3 роки тому +1

    Great content.
    Thank you!

  • @simekanimabambi3271
    @simekanimabambi3271 3 роки тому +1

    Very helpful video! Thanks

  • @ricardolima4809
    @ricardolima4809 3 роки тому +2

    Great video, thanks

  • @seanhuggins5382
    @seanhuggins5382 3 роки тому

    Such a good tutorial wow. Subscribed.

  • @ArnoDunstatter-po7lv
    @ArnoDunstatter-po7lv 7 місяців тому +2

    just a heads up at 7:04 you pronounce "syntax" as "san-tacks" instead of "sin-tax". I bring this up because I'd want someone to tell me if I was pronouncing something wrong. Anyhow, thank you for the video!

    • @CreachterZ
      @CreachterZ 3 місяці тому

      Wow. That was so minor. Please don’t become an English teacher. 😂

    • @intebuddy
      @intebuddy 14 днів тому

      Spandex

  • @vinalkumar6934
    @vinalkumar6934 2 роки тому

    Really informative.. thanks for the vid!!!

  • @katlegophele8909
    @katlegophele8909 Рік тому

    Just what I needed :)

  • @brianschonecker4336
    @brianschonecker4336 Рік тому +2

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

  • @kevon217
    @kevon217 Рік тому +1

    Super helpful thanks!!!

  • @natsagnyamnamkhai749
    @natsagnyamnamkhai749 2 роки тому +1

    excellent tutorial

  • @pooyaarab9011
    @pooyaarab9011 3 місяці тому

    thank you. it really helps

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

  • @dedpossum66
    @dedpossum66 3 роки тому +1

    Good stuff!

  • @thecloudterminal
    @thecloudterminal 2 роки тому

    Thank you for making this amazing tutorial

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

  • @s.nazeri2009
    @s.nazeri2009 Рік тому

    Perfect .Thank you .

  • @unizfrhn2803
    @unizfrhn2803 3 роки тому

    Thanks. This was very understandable.

  • @Collect-AI
    @Collect-AI Рік тому

    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.

  • @itsyeaboi5333
    @itsyeaboi5333 26 днів тому

    if youre having 403 errors, you have to configure in your repo settings Settings -> Action -> General -> Workflow permissions at the bottom and then select read and write permissions

  • @vsoftspot
    @vsoftspot 6 місяців тому

    am thrilled thanks alot

  • @izzlenizzle
    @izzlenizzle 3 роки тому

    Great, thank you!

  • @AspirantNoteBooks
    @AspirantNoteBooks 3 роки тому +1

    thanks man!

  • @thedaiser19
    @thedaiser19 Рік тому +2

    yes

  • @shaheenodeh9858
    @shaheenodeh9858 2 роки тому +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  2 роки тому +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 2 роки тому

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

  • @varshanookarapu8122
    @varshanookarapu8122 3 роки тому +1

    Thank you !!!!

  • @noadsplease2737
    @noadsplease2737 8 місяців тому

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

    • @Imetalh
      @Imetalh 7 місяців тому

      😂😂

  • @juanete69
    @juanete69 11 місяців тому

    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.

  • @muhammadsalmanjamil7182
    @muhammadsalmanjamil7182 Рік тому

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

  • @mosa36
    @mosa36 2 місяці тому

    How do you manually trigger a workflow ?

  • @NhatNguyen-bq6jj
    @NhatNguyen-bq6jj 3 роки тому +2

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

  • @NicolasPL_
    @NicolasPL_ 2 місяці тому

    Is it possible not to push the code if there are any Actions errors?

  • @anju3464
    @anju3464 Рік тому

    Can we Rollback the Github action workflow? Please suggest

  • @Emil_Benny
    @Emil_Benny 3 роки тому

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

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

  • @liquidsnake6879
    @liquidsnake6879 Рік тому

    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.

  • @danielmorris5470
    @danielmorris5470 Рік тому

    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  Рік тому

      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 Рік тому

      @@DevOpsJourney great thank you!

  • @domjanzsoo
    @domjanzsoo 2 роки тому

    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.

  • @SP-db6sh
    @SP-db6sh 2 роки тому +1

    Pro course, industry lebel thinking

  • @Sohneg
    @Sohneg Рік тому

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

  • @andreasn
    @andreasn 3 роки тому

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

  • @bryantony9836
    @bryantony9836 2 місяці тому

    Thank you for the video @DevOpsJourney

  • @yxxsung
    @yxxsung 9 місяців тому +1

    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

  • @matthewbaier766
    @matthewbaier766 2 роки тому

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

    • @DevOpsJourney
      @DevOpsJourney  2 роки тому

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

  • @programmingmindset
    @programmingmindset Рік тому

    I like punching sound in your video 😜😁😁

  • @anandailyasa2530
    @anandailyasa2530 2 роки тому

    Thanks

  • @thecoderabbi
    @thecoderabbi 2 роки тому +1

    👍👍👍👍👍👍👍👍👍👍

  • @dhanrajsubbiyan727
    @dhanrajsubbiyan727 2 роки тому

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

  • @MuthukrishnanP-k2v
    @MuthukrishnanP-k2v Рік тому

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

  • @ivanarabome4172
    @ivanarabome4172 6 місяців тому

    ok so super linter is like... es lint for instance that checks the code has correct syntax... nice

  • @unclejazz5768
    @unclejazz5768 3 роки тому +2

    san-tax?

  • @joseduarte5663
    @joseduarte5663 7 місяців тому +1

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

    • @DevOpsJourney
      @DevOpsJourney  7 місяців тому

      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 2 роки тому

    I followed this tutorial but it failed

    • @DevOpsJourney
      @DevOpsJourney  2 роки тому +1

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

  • @SurTing
    @SurTing 2 роки тому

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

  • @vovs03
    @vovs03 2 роки тому

    3:38 superlinter

  • @TheDivoture
    @TheDivoture 2 роки тому

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

  • @alitaheri1345
    @alitaheri1345 2 роки тому +1

  • @stevenmccullaghmadetech
    @stevenmccullaghmadetech 7 місяців тому

    1minute 47 second unskippable advert before I can watch the video? Not cool!

    • @DevOpsJourney
      @DevOpsJourney  7 місяців тому +1

      It's UA-cam, I can't turn it off =/

  • @BudetSvobodnoy
    @BudetSvobodnoy 7 місяців тому

    ubantu

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

  • @chetanbarsopiya
    @chetanbarsopiya 3 роки тому

    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.

  • @krishx007
    @krishx007 Рік тому

  • @alikaraki4929
    @alikaraki4929 3 роки тому

    brilliant ! thank you

  • @masoudparpanchi505
    @masoudparpanchi505 2 роки тому

    thanks