Code Monkey home page Code Monkey logo

azure-devops-demo's Introduction

GitHub For Teams Demo Repository

Basic Node App built with Azure DevOps for showcasing the GitHub Flow.

Demo Flow

This repository is set up to illustrate a collaboration flow using GitHub Issues & Project Boards or the integration with ⚡️ Azure Board:

  1. Create a new Issue (and link it to the Kanban Board) or Work Item; take note of the ID and export ISSUE_ID="[ISSUE_ID_HERE]"
  2. Let's create a new branch locally starting from our demo-init branch which contains some predefined changes:
git checkout -b ado-demo-$ISSUE_ID
git apply demo.patch

  1. this creates a new local branch with some pre-modified changes. Commit the changes (using the Fixes #123 syntax if using GitHub Issues or Fixes AB#123 for Azure Boards) and push the new branch
  2. Open a Pull Request:
  • Codecov should report an increased threshold
  • Snyk should fail because of the fixed version
  • pjawesome will be assigned as Code Owner for review – you can override this and assign to someone else
  • Azure Pipelines will build and automatically deploy to the Staging environment
  1. Using suggested changes, fix the package.json version by restoring the ^ sign
  2. Approve the PR and wait for the staging environment to be available

If you merge the PR (optional) it is recommended to create a new Pull Request (master is a protected branch) that commits the "revert" of the same demo patch to restore master to the initial state: simply do a git apply -R demo.patch, create a new branch, commit and merge.

Forking this Repository

Feel free to fork this repo for personal demos. The master branch contains the Azure Pipelines build YAML files (ado-*.yaml) while the release pipeline JSON files are under the /pipelines folder - you can use the Azure Pipelines import function to import and create the 2 pipelines.

Codecov

Code Coverage on master codecov

Azure DevOps Pipelines

Build status for master Build Status

Snyk Vulnerability Report

Known Vulnerabilities

Deployment slots

Environment URL
Production (via manual approval) https://pierluigi.azurewebsites.net
Preview (CD merge) https://pierluigi-preview.azurewebsites.net
Staging (CD for PRs) https://pierluigi-staging.azurewebsites.net

azure-devops-demo's People

Contributors

pierluigi avatar pjawesome 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.