Thank you so much for sharing some of your knowledge with us for free. You're awesome. When I do long sessions of reading documentations I always end up with an headache because of my bad eyesight. The videos like this one save me so much time and health.
✨ Question of the day ✨: What else would you like to learn about Actions? Also, do you like this kind of format or do you prefer the shorter videos? 🆘 NEED HELP? 🆘 Book a 1:1 Consultation with CoderDave: geni.us/cdconsult We can talk about GitHub, Azure DevOps, or any other DevOps tool or project you need help with! 🙏🏻SUPPORT THE CHANNEL🙏🏻 Buy me a coffee: www.buymeacoffee.com/CoderDave PayPal me donation: paypal.me/dabenveg
Thanks and happy to be helpful. I’ve done something like that already, live: Let's Build a GitHub Project Using Actions - LIVE CI\CD with GitHub From Scratch ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-br48WIwhk2o.html
I had this playing in the background while I did some other work and after 90 minutes I am not a hero :( Does the sound have to be on for this to work or something?
Hey there, thanks! I don't have a video about that yet, but I will look into making one. However the docs are here: docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines and it is quite simple to do. Do you have any doubt or issue about it?
im trying to learn this Github Actions ... and i gonna have to watch this about 50 times, to try to understand it ... cause this is soooo complicated and confusing !! ... but thankx for sharing Davide 👍
Just an honest feedback: Being GitHub Actions tutorial, you took so long jumping to any real Action through coding...but kept giving boring theory till almost 25 minutes. I was desperate to get my hands dirty on the GitHub Actions So, please try to explain everything through actions, I would love even more to watch such videos.
A lot of useful information, it was well organized and well presented, however to just scratches the surface for everything. It will be great if you can record some details tutorials on how to write an action workflow, what every keyword means, and how to customize a workflow according to your needs, also a bit more information about self-hosted runners and how to configure them would be really great. But overall, thanks a lot!
Thanks for sharing. I do have some other videos in which I go through some of the points you've mentioned. Take a look at this live stream I;ve done, for example, where I try and build a project from scratch with Actions: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-br48WIwhk2o.html
Thank you for this great video. We are currently still working with Jenkins and want to move to something more modern and lightweight, this tutorial was very interesting.
I need to add linting action to my organization's repository which is either private or internal. Could you suggest a better way to do that? Can I use the actions and a self hosted runner for that??
Your repo visibility (private, public, or internal) doesn't impact the linting. You can still use a linter in Actions, and you don't even need a self hosted runner (that would be necessary only if you need to connect to stuff in your closed network). You can use "normal" runners
Yes, but you won’t be able to connect to it from the outside. Only the actions runner can . It is useful if you have some integration test run during your CI which needs a database or something else
@@CoderDave yeah, I just would like to use a Docker instance to run automated uat and integration test during my CI. So the Docker instance is started by the Github Action and thus belongs to the Github, right?
Hello, I’m new to GitHub actions Had some questions: 1. I want to automate the CI process where the tool I use is connected to the GitHub and there are 2 dbs After a developer pushes to one db, the second db should have the capability to pull the resources that were pushed in the first db. The tool (hosted on aws) provides a .sh file which triggers the pull for the second db. How can I connect to the aws instance from GitHub using actions and point to the aws folder and make use of the .sh file to trigger the pull. Looking forward to your expertise. Thanks a lot
What does it mean that 'Point a code from a github (after forking) to other code like API node.' ? ie, pointing a forked sign up code to some API. Plz. explain.
@@CoderDave 1) Actually we are building a project. I am not familier with codes. But, I used to share ideas & the back end developer build according to that. 2) Yesterday, he told me to test his developed codes. To test the code, he asked me to fork few more repositories like 'Sign up repository'. 3) Then he told me to point this 'sign up' repository to the another main back-end repository. In this way, ge told me to test the newly written codes. But, I am not familier with these codes. Please message me, Il send tge screenshots of our chats. So, you can help me in depth. Thankyou.
I am half way the video and I still don't understand the commands under the "steps" and I am wondering how I would know what commands to run or put in there. what is "- uses:" and what is "- name:" whats the difference between them how do they work and do they have to follow a particular order?
Hey. “Name” just give a display name to a task, so it can be more human readable in both the yaml and the execution logs. “Uses” instead indicates to GitHub Actions the action it has to run. For example “uses: n3wt0n/aaaaa@v1” tells the engine to use the action found in the repo “aaaaa” from user “n3wt0n”, with the version (aka tag) “v1” You can explore those actions in the marketplace, or on the right-side pane when you create a workflow. Uses and name don’t need to follow a specific order.
Hello Dave, Great video and very informative. I’m new to GitHub actions Had some questions: 1. I want to automate the CI process where the tool I use is connected to the GitHub and there are 2 dbs After a developer pushes to one db, the second db should have the capability to pull the resources that were pushed in the first db. The tool (hosted on aws) provides a .sh file which triggers the pull for the second db. How can I connect to the aws instance from GitHub using actions and point to the aws folder and make use of the .sh file to trigger the pull. Looking forward to your expertise. Thanks a lot
I'd need a little more info. Where is that file hosted in AWS? S3 or anywhere else? Also I am not 100% clear of the flow here, and what you want to use GitHub for...
@@CoderDave : the tool I’m using has version control enabled so each time I push (creating views etc) it’s pushed to GIT. The other alternative I have is to use a .bat file thats available in a vm instead of connecting it to aws. So the flow is like this : I want to automate the CI process where the tool I use is connected to the GitHub and there are 2 dbs After a developer pushes to one db, the second db should have the capability to pull the resources that were pushed in the first db. The tool (hosted on a windows vm) provides a .bat file which triggers the pull for the second db. How can I connect to the vm from GitHub using actions and point to the folder and make use of the .bat file to trigger the pull. So in short this is the script I want to execute from GitHub actions: import.bat -f .vql -h :/?username@password Where import.bat is available in a windows vm and pull.vql is stored in GitHub itself. Hope it makes sense. Thanks
I am part of the team that is developing ISO 10303. I wanted to know if these tools support ant and Saxon commands to do a weekly build? Using the workflow shown in the video. Currently using PowerShell, Eclipse bash terminal, and got for commit and push.
Hey there, sorry for the late reply. Yes, you can use ant and any other tool, as long as they run on the type of agent you are using (Linux or Windows). ant is already installed, so no need to do anything else... for Saxon you would need to add a step to your workflow that installs it, then you can use it
@@CoderDave Thanks for the timely response. I do a weekly build for PMI. This includes CR, LG (long form), AP, and SMRL builds. If we were able to build on the host this should speed things up and make the work flow more agile. Again a great video!
I would like to remove “actions” tab on my github private repository as well as restrict users from clicking on " Run workflow " on my environment ( QA ) inside my private repository. I would like to know how to review and approve “Run workflow” in an environment ( QA ) inside my private repository. Please help how this can be achieved in github actions.
Hi, to disable Actions on a specific repository, on the Settings tab of this repository, navigate to Actions , select Disable Actions for this repository. This will remove the Actions tab but also completely disable the feature, so you won;t be able to run any workflow anymore... unfortunately it is not possible to keep Actions enabled but remove the tab. About the approval, if you are in GitHub Enterprise you can use the GitHub Actions Environment features, which includes approvals (take a look at it here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-w_37LDOy4sI.html) If, instead, you are not in GitHub Enterprise, you need to find a workaround for that... one possible solution is using the IssueOps approach as I describe step-by-step in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MDOn9HAS7bQ.html
@@CoderDave I have a JSON file with my environment profiles like Dev branch having array of 3 profiles. I am able to read those values using jq utility. The content I read in one step is not able to shared as a variable to another step in same job. When I initially tried to do same with fromJson utility, it throw error saying " the template is not valid....Error reading Jtokem from JSON reader.
Feedback. I think you took it way too long to get practical. It's good to start with foundations. But to newbies, like me, learning too much foundations at an earlier stage will turn the materials into confusing jargons. Besides, we may only need a handful of these to start getting productive. All of the polishing and ironing will become due diligence for students to do further research. For video tutorial format, I think it's better to show a demo first. Looking at GitHub Actions in _action,_ see when it succeeds, and otherwise when it fails. Then we can reverse engineer it from there on and see what's under the hood. Here you can start explaining _how_ things are actually spinning in GitHub actions. Anyway, it's a useful video overall. Maybe better for those with a few experience in CI/CD or Actions, but not that helpful for newbies initially. Thank you for the video. 😄
I have a whole video about GitHub Actions Secrets as well: Manage Secrets in GitHub | GitHub Repository Secrets vs Environment Secrets ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-tXv_npAP90k.html
yeah its not fully open source, don't bullshit each other. This is maybe partially open source, which means its not open source. Its getting worst and worst, but initial idea was great
I never said that the engine of GitHub Actions is open source. It is indeed not. But ALL the actions on the marketplace (aka the "steps"), however, MUST be (and are) open source otherwise they can't be listed.
sry bro but here only u speaking and only u r understanding the flow which u have taken to deliver ur content is jst very bad if u want srusly to deliver helpful content first u have to make a workflow that how u r going to deliver ur content and specify each and everything bcoz for the beginners its jst awful at the starting u have mentioned about the yaml file but u not described anything wht the things have mentioned there
@@pm_root_passwds4311 m not criticizing him i was telling him about the content bcoz this media is enough for the peoples who wants to learn from d basics till advanced n if u r not getting anything means the person who delivers the content is not doing his job properly
Unless you create a workflow that runs for every api call and in it you use something like PowerShell or a bash script to get the event payload and save it