Projects in VSTS
We want to achieve CI/CD as depicted in the following diagram:
We will utilize Visual Studio Team Services (VSTS) for Continuous Integration and Continuous Delivery to deploy Azure Functions as and when code changes are committed in the Git repository hosted in VSTS:
- First, we will create a project in VSTS so that we can store code and configure Continuous Integration and Continuous Delivery using the build and release definitions:
- Visit visualstudio.com and sign in:
- On the VSTS dashboard, create a new account or select an existing account.
- We already have a few projects available in the dashboard.
- Click on
New Project
:
- Provide the details for the
Project name
,Version control
, andWork item process
. Click onCreate
:
- Click on
Generate Git credentials
:
- Provide the details as required and click on
Save Git Credentials
:
- Once we have Git set up in the VSTS dashboard, go to the directory where Azure Function code is available.
- If Git for Windows is not installed, then install it first...