/blake-cicd-demo

Primary LanguagePythonMIT LicenseMIT

blake-cicd-demo

Prerequisites

  • Python
  • Docker
  • GitHub account

Steps

  1. Code main.py
  2. Code test_main_unittest.py
  3. Create virtualenv
  4. pip install numpy
  5. Modify main.py with import numpy
  6. Dockerize
  7. Integrate with Buddy
  • buddy.yml
  • Docker environment password
  1. Modify GitHub settings with branch protection
  2. Modify main.py with float feature
  • Try to commit some median code that won't pass tests
  • Add new floating test cases

Keys to Winning

  1. Test
  2. Build
  3. Deploy
  4. Profit