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.
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!
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!
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.
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?)?
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!
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?
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.
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.
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.
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.
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
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 .
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?
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.
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
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.
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!
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.
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.
Update: Make sure you are using v4 of Superlinter. My repo is up to date. Everything still works the same as the video.
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.
I like how this info is condensed in 12 short minutes complete with a live coding lab session.
Exceptional tutorial, just the right pace and right amount of information to get started. 🥇
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!
Really clean tutorial. Hope your channel grows!!
I appreciate it!
Awesome tutorial man.. Really simple, but covers the basics, that I needed to get started.. Thanks for sharing:-D
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!
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
Nice tutorial. The basics and principles are well balanced with practical examples. This is quite rare. Keep up the good work.
Glad you liked it!
This was really good. i realluy love this!
Excellent step by step explanation. Thanks for the upload.
Thanks a lot! Looked for an intro video and yours is great - clear and with examples
Very simple and but detailed explanation which make sense! Liked it. Thanks a lot!
GOATED tutorial, thanks a lot man!
thank you bro for making such great videos
Perfect level of introduction. Thank you.
Great video, straight to the point!
Glad it helped!
Awesome!
An excellent tutorial with an example. Thanks!
thank you, very clear and brief explanation and examples.
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??
Great intro tutorial man. Thanks.
Fantastic video love your teaching style super clean and informative at every step well done.
What would you like to see a tutorial on next?
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.
Hi, hope you explain how to run play books locally using github actions on push
This is a really good tutorial. Thanks a lot for it.
yocto + Qt + UML = embedded linux
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?)?
Best for a git action newbie
Awesome Explanation!! 🎉🎉
great video really did help me to understand the CI/CD concept.
Thank you !! It was really helpful to get an idea about github action.
Deserves more subs! Great video.
Thanks from India. Very helpful.
You are simply awesome! Great video!
Exactly what I needed. Thanks!
great job man
Thanks!
So nicely explained .. Thank you
My pleasure!
Great content.
Thank you!
Very helpful video! Thanks
Great video, thanks
No problem 👍
Such a good tutorial wow. Subscribed.
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!
Wow. That was so minor. Please don’t become an English teacher. 😂
Spandex
Really informative.. thanks for the vid!!!
Just what I needed :)
Version 3 of the super-linter has problems. Upgrade your yml file to use version 4.
Super helpful thanks!!!
excellent tutorial
Glad you liked it
thank you. it really helps
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?
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.
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.
Good stuff!
Thank you for making this amazing tutorial
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.
sorry.. I dont use precommit... but may use it in the future as I have heard good things.
Sorry I couldnt help!
Perfect .Thank you .
Thanks. This was very understandable.
Glad it was helpful!
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.
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
am thrilled thanks alot
Great, thank you!
thanks man!
Happy to help!
yes
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 .
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!
@@DevOpsJourney thank you I have actually kept researching about this and found out how to do it on Gitlab :D
Thank you !!!!
The content is great. Really top notch but I cannot make it to the end of the video because of my misophonia
😂😂
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?
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.
where is auto deployment part ...
Like hosting it to somewhere else
How do you manually trigger a workflow ?
Can you do CI/CD with Gitlab CI? Thanks.
No
Is it possible not to push the code if there are any Actions errors?
Can we Rollback the Github action workflow? Please suggest
Hello,
How do you combine a different repo to the current repo for CI CD pipeline.?
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
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.
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?
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!
@@DevOpsJourney great thank you!
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.
Pro course, industry lebel thinking
I got a Error: Failed to view version file:[/action/lib/functions/linterVersions.txt]
Do you know what to do?
I tried creating the workflow in another branch than main, but it doesnt show up. Do you know what the reason could be?
Thank you for the video @DevOpsJourney
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
I dont understand. I added the same code but it says Status Failure and nothing runs.
Do you have a link to your GitHub repo? If it's public I'll have a look
I like punching sound in your video 😜😁😁
Thanks
👍👍👍👍👍👍👍👍👍👍
Can you please put some video on repository dispatch which can be used to send client-payload: '{"github": ${{ toJson(github) }}}'
how to skip run super-linter step in a workflow run
ok so super linter is like... es lint for instance that checks the code has correct syntax... nice
san-tax?
Dumb question. Why do you need to check out the code?
GitHub actions runs in a Ubuntu container, it still needs to get the code, it won't be in the container by default
I followed this tutorial but it failed
The tutorial is working for others. What is the problem you are running into?
"gitaction workflow not triggering" ... hehe :)
3:38 superlinter
Off-topic question: Do you get a lot of compliments about your voice?
1minute 47 second unskippable advert before I can watch the video? Not cool!
It's UA-cam, I can't turn it off =/
ubantu
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
same one
same here
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.
brilliant ! thank you
thanks