Git Product home page Git Product logo

azure-devops-pipelines-demo's Introduction

Azure DevOps - Pipelines Demo

All tools in this demo

  • .NET Core 2.2 / xUnit (Application and tests)
  • Azure DevOps (CI/CD)
  • Sonarqube (Code quality analysis)
  • Docker (Package / Containerization app)
  • Docker Hub (Registry for docker images)
  • Runscope (Integration tests)
  • Azure (Infra to deploy)

1 - Appliciation development

  • Application;
  • Unit Tests;
  • Dockerfile;
  • All tests locally;

2 - Azure DevOps - Overview

3 - Create Azure Build Pipeline

3.1 - Create Build Step

  • Create initial variables
  • Create build step and commit;
  • See build results;
  • Add store artifact;
  • Commit and see results again;

azure-pipelines.yml result

3.2 - Create Unit Tests Step

  • Create tests step and commit;
  • See tests results;
  • Add store artifact / publish code coverage and test results;
  • Commit and see results again;

azure-pipelines.yml result

3.3 - Create Quality Analysis Step

azure-pipelines.yml result

3.4 - Create Docker Publish Step

azure-pipelines.yml result

4 - GitHub Status Check

  • Create a new branch with some change and create a pull request;
  • Check commit and PR build status;
  • See about skip CI build

5 - Badges

  • Go to Azure DevOps Build Pipelines project dashboard and get your badge in top-right menu, 'Status Badge'
  • Go to Sonarcloud Dashboard and click in 'Get Project Badges'
  • Get badges for Quality Gate Status, Code Coverage
  • Go to Shields.io to generate other badges for SonarCloud;
  • Add in project README.md

README.md badges result

6 - Prepare Infrastructure

7 - Create Azure Release Pipeline

7.1 - Create Deploy Step

  • Create a single container/environment in Azure Web App
  • Simulate Deploy
  • Create Staging Environment
  • Deploy to staging
  • Then Swap Slots
  • Deploy Link
  • Swap Link

7.2 - Create Integration Test Step

azure-devops-pipelines-demo's People

Contributors

thiagobarradas avatar

Watchers

 avatar  avatar

Forkers

alefaggravo

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.