Intro to CI/CD Part 1: Getting Started with Docker | Digi-Key Electronics

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024
  • Continuous Integration and Continuous Delivery (CI/CD) is the process of automating the testing and deployment of a software project. It is often used in large-scale, multi-person projects, but it can be useful in smaller projects and embedded firmware development. This tutorial shows you how to use Docker to create a simple image that automatically tests a program for the purposes of CI/CD.
    You can view a written version of this tutorial here: www.digikey.co...
    CI/CD helps software teams automate testing, integration, and deployment to encourage small, rapid development changes to a project. By allowing developers to focus on creating practical, incremental improvements, less time is spent debugging larger issues that might arise, which means faster development with (ideally) fewer bugs. You’ll also sometimes see “Continuous Testing” (CT) included in CI/CD.
    CI/CD frameworks can take many forms. One popular way to perform CI/CD is to use GitHub Actions (assuming you are using GitHub to host your projects). Actions can be configured to run every time a new commit is pushed or someone submits a pull request, and Actions are built using modular Docker images.
    Docker is a virtualization platform that runs applications in instances known as “containers.” Containers are spawned from “images,” which are generated from a Dockerfile. A Dockerfile contains a set of instructions telling Docker how to create the image. Containers share common binaries and libraries as well as rely on the host OS drivers to work with the underlying hardware. While this approach reduces the isolation (and therefore reduces inherent security) found in virtual machines, it allows for much smaller guest images as well as incredibly fast boot and run times.
    This video will walk you through the process of creating a Docker image that runs a simple Python script to compile and test a C program. We discuss how Docker plays an important role in CI/CD and demonstrate the process of creating an automated test.
    Related Articles:
    How to Install and Get Started with Node-RED - www.digikey.co...

Комментарии • 21

  • @TheCarmacon
    @TheCarmacon Год назад +21

    Your videos are didactically unparalleled. I paid good money for trainings and courses that were much less well made. Thank you for providing all this free education. I know lots of this already, but I enjoy going back to your videos whenever I need material and ideas on how to present certain topics to new members on my team or non-technical stakeholders.

    • @VeritasEtAequitas
      @VeritasEtAequitas 4 месяца назад

      They aren't didactic. Stop using big words to try to sound smart. You're using them incorrectly.

  • @ami6packs
    @ami6packs Год назад +4

    This is what I was looking for. Shawn Hymel is an excellent content creator. Thanks Shawn and digikey.

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

      Thank you, and I'm glad that you found it helpful!

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

      @@ShawnHymel You are awesome! big fan of your work. :)

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

    Best intro to Docker I've seen to date!

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

    Very helpful ! An overview with general introduction on docker for rookies. :)

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

    Best ever docker tutorial

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

    An excellent introduction. Thanks.

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

    Great content! Thank you.

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

    JUST COMING HERE TO SAY THANK YOU FOR THE 30 MINUTE COMMERCIAL!!! IT WAS AMAZING!!! SO MUCH BETTER THAN LISTENING TO MUSIC!! I WAS 20 FOOT UP A ROOF HOLDING HUNDREDS OF POUNDS OF STUFF AND ITS SOOOOOOO COOL TO HAVE PEOPLE LIKE YOU WITH 30 MINUTE COMMERCIALS!!!! YOU ARE SOO COOL!!!

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

    You are the best!

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

    29:26 you can also get the return code in the windows command line: echo %errorlevel%

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

      Ah! I didn't know I could get that in Windows. Thanks!

  • @cloudblue7772
    @cloudblue7772 11 месяцев назад

    nice explanation sir

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

    Nice Tie.

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

    DOCUMENTATION, coders. It may just keep you out of prison someday.

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

    how did you install ubuntu on windows host system

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

      Do you mean at the end with the git commands? That's Git Bash, which is built on MinGW. You've got other options, like Cygwin or WSL.

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

    I hear a mechanical keyboard, right?

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

      It is :) Varmilo VA87M