{"id":16239246,"url":"https://github.com/pierluigi/azure-devops-demo","last_synced_at":"2025-03-19T16:31:23.718Z","repository":{"id":34197708,"uuid":"165993844","full_name":"pierluigi/azure-devops-demo","owner":"pierluigi","description":"Basic Node App built with Azure DevOps for demos","archived":false,"fork":false,"pushed_at":"2022-03-23T17:10:43.000Z","size":3997,"stargazers_count":7,"open_issues_count":16,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-11T13:42:30.364Z","etag":null,"topics":["azure-devops","channels","codecov","demo","vulnerabilities"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pierluigi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-01-16T07:22:05.000Z","updated_at":"2021-12-09T05:18:57.000Z","dependencies_parsed_at":"2022-08-08T00:01:57.310Z","dependency_job_id":null,"html_url":"https://github.com/pierluigi/azure-devops-demo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierluigi%2Fazure-devops-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierluigi%2Fazure-devops-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierluigi%2Fazure-devops-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierluigi%2Fazure-devops-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pierluigi","download_url":"https://codeload.github.com/pierluigi/azure-devops-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221729263,"owners_count":16870979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-devops","channels","codecov","demo","vulnerabilities"],"created_at":"2024-10-10T13:42:54.164Z","updated_at":"2024-10-27T20:24:41.138Z","avatar_url":"https://github.com/pierluigi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub For Teams Demo Repository\n\nBasic Node App built with Azure DevOps for showcasing the GitHub Flow.\n\n# Demo Flow\n\nThis repository is set up to illustrate a collaboration flow using GitHub Issues \u0026 Project Boards or the integration with [⚡️ Azure Board](https://dev.azure.com/pierluigi-github/GitHub%20Azure%20DevOps%20Demos/_boards/board/t/GitHub%20Azure%20DevOps%20Demos%20Team/Stories):\n\n1) 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]\"`\n2) Let's create a new branch locally starting from our `demo-init` branch which contains some predefined changes: \n```\ngit checkout -b ado-demo-$ISSUE_ID\ngit apply demo.patch\n\n```\n3) 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 \n4) Open a Pull Request:\n  - Codecov should report an increased threshold \n  - Snyk should fail because of the fixed version\n  - `pjawesome` will be assigned as Code Owner for review – you can override this and assign to someone else\n  - Azure Pipelines will build and automatically deploy to the Staging environment\n5) Using suggested changes, fix the package.json version by restoring the `^` sign\n6) Approve the PR and wait for the staging environment to be available\n\nIf 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. \n\n# Forking this Repository\n\nFeel 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.\n\n# Codecov \n\nCode Coverage on `master`\n[![codecov](https://codecov.io/gh/pierluigi/azure-devops-demo/branch/master/graph/badge.svg)](https://codecov.io/gh/pierluigi/azure-devops-demo)\n\n# Azure DevOps Pipelines\n\nBuild status for `master`\n[![Build Status](https://dev.azure.com/pierluigi-github/GitHub%20Azure%20DevOps%20Demos/_apis/build/status/Master?branchName=master)](https://dev.azure.com/pierluigi-github/GitHub%20Azure%20DevOps%20Demos/_build/latest?definitionId=6?branchName=master)\n\n# Snyk Vulnerability Report\n [![Known Vulnerabilities](https://snyk.io/test/github/pierluigi/azure-devops-demo/badge.svg)](https://snyk.io/test/github/pierluigi/azure-devops-demo) \n\n# Deployment slots\n\n| Environment | URL |\n| ----------- | --- | \n| Production (via manual approval) | https://pierluigi.azurewebsites.net |\n| Preview (CD merge) | https://pierluigi-preview.azurewebsites.net |\n| Staging (CD for PRs) | https://pierluigi-staging.azurewebsites.net |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierluigi%2Fazure-devops-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierluigi%2Fazure-devops-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierluigi%2Fazure-devops-demo/lists"}