Coder Social home page Coder Social logo

azure-devops-flask's Introduction

azure-devops-flask

A simple template for deploying Flask apps with CI/CD to Azure DevOps

Getting Started

This is still a WIP, so these instructions will be quick:

Make new Resource group and create 3 new Azure App Services for your stages (flask-app-service-dev, flask-app-service-stg, flask-app-service-prod)

Resource Overview

  • Connect repo to DevOps by creating a new build pipeline and linking it to the repo. Set up CI from master branch.
  • Builds should run based on the azure pipelines file within this repo whenever changes are made to master
  • Set up Release Pipeline with three identical stages (dev, stg, prod). You'll have to select from the various dropdowns to connect the correct resources you made in step 1
  • Optionally, set up CD in the dev stage of your release pipe. This will release any new changes to master branch to your dev webapp.
  • Optionally, configure manual releases for stg or prod. This lets you have control over the promotion process.

Additional Images

This is the structure of the release pipeline

Resource Overview

You'll want to have settings similar to the next two images...

This shows the steps you'll need to add

Resource Overview

This one shows how I configured it (minus my subscription ID which my resource group falls under)

Resource Overview

You can play with deployments and keep an eye on which ones are deployed to which environments via your release pipeline overview page.

Resource Overview

azure-devops-flask's People

Contributors

nateraw avatar

Stargazers

renauddahou 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.