Giter Site home page Giter Site logo

kc-devops-6-cicd-local-pipelines-instructor-guide's Introduction

kc-devops-6-cicd-local-pipelines-instructor-guide

Resources ๐Ÿ“š to guide the training Development Lifecycle: CI/CD from KeepCoding DevOps bootcamp.

Part 1 out of 3: Local Pipelines ๐Ÿ“

Requirements ๐Ÿ‘‡

Prepare environment to run it with docker ๐Ÿณ (Recommended)

  • docker (Check that docker run hello-world works)

Prepare environment to run it in a virtual machine or workstation ๐Ÿ’ป

  • make (Check that make --version in your terminal outputs something like GNU Make 4.X [...])
  • python3.8 or higher (Check that python3 --version in your terminal outputs something like Python 3.X.X)
  • pip3 (Check that pip3 --version in your terminal outputs something like pip 20.X.X from [...] (python 3.X) which points to previous installation of python3.8)
  • docker (Check that docker run hello-world works)

How to run it โš™๏ธ

  1. Change the name of the user for dockerhub kctest2 by the name of your own user in Makefile
  2. Set just the password for your dockerhub account in a file named dockerHubPassword in the root of the project
  3. Create a .pypirc file with the standard format in the root of the project with your credentials to Pypi

Configuration Aid

To run it with docker ๐Ÿณ (Recommended)

docker build -t dockerized-env-make -f dockerized-env/Dockerfile . && \
    docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock dockerized-env-make

To run it in your virtual-machine or workstation

make

Instructor script :shipit:

  1. Create python app & .gitignore
  2. Create unit test and run them with the terminal
  3. Create targets to build the app
  4. Add unit-test and coverage targets
  5. Add version, package and publish targets
  6. Add docker files
  7. Add dockerize, push and integration-test

Diagram

Diagram

kc-devops-6-cicd-local-pipelines-instructor-guide's People

Contributors

arcones avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.