You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/devops-project/azure-devops-project-php.md
+40-65Lines changed: 40 additions & 65 deletions
Original file line number
Diff line number
Diff line change
@@ -1,143 +1,118 @@
1
1
---
2
-
title: 'Quickstart: Create a CI/CD pipeline for PHP with Azure DevOps Projects'
3
-
description: DevOps Projects makes it easy to get started on Azure. It helps you launch an app on an Azure service of your choice in few quick steps.
2
+
title: 'Quickstart: Create a CI/CD pipeline for PHP with Azure DevOps Starter'
3
+
description: DevOps Starter makes it easy to get started on Azure. It helps you launch an app on an Azure service of your choice in few quick steps.
4
4
ms.prod: devops
5
5
ms.technology: devops-cicd
6
6
services: vsts
7
7
documentationcenter: vs-devops-build
8
8
author: mlearned
9
9
manager: gwallace
10
-
editor: ''
11
-
ms.assetid:
12
10
ms.workload: web
13
11
ms.tgt_pltfrm: na
14
12
ms.topic: quickstart
15
-
ms.date: 07/09/2018
13
+
ms.date: 03/24/2020
16
14
ms.author: mlearned
17
15
ms.custom: mvc
18
-
monikerRange: 'vsts'
19
16
---
20
17
18
+
# Create a CI/CD pipeline for PHP with Azure DevOps Starter
21
19
22
-
# Create a CI/CD pipeline for PHP with Azure DevOps Projects
23
-
24
-
Azure DevOps Projects presents a simplified experience that creates Azure resources and sets up a continuous integration (CI) and continuous delivery (CD) pipeline for your PHP app in Azure Pipelines.
20
+
Azure DevOps Starter presents a simplified experience that creates Azure resources and sets up a continuous integration (CI) and continuous delivery (CD) pipeline for your PHP app in Azure Pipelines.
25
21
26
22
If you don't have an Azure subscription, you can get one for free through [Visual Studio Dev Essentials](https://visualstudio.microsoft.com/dev-essentials/).
27
23
28
24
## Sign in to the Azure portal
29
25
30
-
DevOps Projects creates a CI/CD pipeline in Azure Pipelines. You can create a free new Azure DevOps organization or use an existing organization. DevOps Projects also creates Azure resources in the Azure subscription of your choice.
26
+
DevOps Starter creates a CI/CD pipeline in Azure Pipelines. You can create a free new Azure DevOps organization or use an existing organization. DevOps Projects also creates Azure resources in the Azure subscription of your choice.
31
27
32
28
1. Sign in to the [Microsoft Azure portal](https://portal.azure.com).
33
29
34
-
1. In the left pane, select the **Create a resource** icon, and then search for **DevOps Projects**.
35
-
36
-
3. Select **Create**.
30
+
1. In the search box, type **DevOps Starter**, and then select. Click on **Add** to create a new one.
The PHP samples include a choice of several application frameworks.The default sample framework is Laravel.
44
-
45
-
2. Leave the default setting, and then select **Next**.
36
+
1. Select the PHP sample application. The PHP samples include a choice of several application frameworks. The default sample framework is Laravel.
37
+
38
+
1. Leave the default setting, and then select **Next**.
46
39
47
-
1. Web App For Containers is the default deployment target.
48
-
The application framework, which you chose previously, dictates the type of Azure service deployment target that's available here. Leave the default service, and then select **Next**.
40
+
1. Web App For Containers is the default deployment target. The application framework, which you chose previously, dictates the type of Azure service deployment target that's available here. Leave the default service, and then select **Next**.
49
41
50
42
## Configure Azure DevOps and an Azure subscription
51
43
52
44
1. Create a new Azure DevOps organization or select an existing organization.
53
45
54
-
a. Choose a name for your project in Azure DevOps.
55
-
56
-
b. Select your Azure subscription and location, enter a name for your application, and then select **Done**.
57
-
After few minutes, the DevOps Projects dashboard is displayed in the Azure portal. A sample application is set up in a repository in your Azure DevOps organization, a build runs, and your application deploys to Azure. This dashboard provides visibility into your code repository, your CI/CD pipeline, and your application in Azure.
58
-
46
+
a. Choose a name for your project in Azure DevOps.
47
+
48
+
b. Select your Azure subscription and location, enter a name for your application, and then select **Done**.
49
+
After few minutes, the DevOps Starter dashboard is displayed in the Azure portal. A sample application is set up in a repository in your Azure DevOps organization, a build runs, and your application deploys to Azure. This dashboard provides visibility into your code repository, your CI/CD pipeline, and your application in Azure.
50
+
59
51
2. Select **Browse** to view your running application.
DevOps Projects automatically configured a CI build and release trigger. You're now ready to collaborate with a team on a PHP app with a CI/CD process that automatically deploys your latest work to your web site.
DevOps Starter automatically configured a CI build and release trigger. You're now ready to collaborate with a team on a PHP app with a CI/CD process that automatically deploys your latest work to your web site.
64
56
65
57
## Commit code changes and execute CI/CD
66
58
67
-
DevOps Projects creates a Git repository in Azure Repos or GitHub. To view the repository and make code changes to your application, take the following steps:
59
+
DevOps Starter creates a Git repository in Azure Repos or GitHub. To view the repository and make code changes to your application, take the following steps:
68
60
69
-
1. On the left of the DevOps Projects dashboard, select the link for your master branch.
70
-
This link opens a view to the newly created Git repository.
61
+
1. On the left of the DevOps Starter dashboard, select the link for your master branch. This link opens a view to the newly created Git repository.
71
62
72
-
1. To view the repository clone URL, select **Clone** from the top right of the browser.
73
-
You can clone your Git repository in your favorite IDE. In the next few steps, use the web browser to make and commit code changes directly to the master branch.
63
+
1. To view the repository clone URL, select **Clone** from the top right of the browser. You can clone your Git repository in your favorite IDE. In the next few steps, use the web browser to make and commit code changes directly to the master branch.
74
64
75
65
1. On the left, go to the **resources/views/welcome.blade.php** file.
76
66
77
67
1. Select **Edit**, and then make a change to some of the text. For example, change some of the text for one of the div tags.
78
68
79
69
1. Select **Commit**, and then save your changes.
80
70
81
-
1. In your browser, go to the DevOps Projects dashboard.
82
-
You should now see a build in progress. The changes you just made are automatically built and deployed via a CI/CD pipeline.
71
+
1. In your browser, go to the DevOps Starter dashboard. You should now see a build in progress. The changes you just made are automatically built and deployed via a CI/CD pipeline.
83
72
84
73
## Examine the CI/CD pipeline
85
74
86
-
DevOps Projects automatically configures a full CI/CD pipeline in Azure Pipelines. Explore and customize the pipeline as needed. To familiarize yourself with the build and release pipelines, do the following:
75
+
DevOps Starter automatically configures a full CI/CD pipeline in Azure Pipelines. Explore and customize the pipeline as needed. To familiarize yourself with the build and release pipelines, do the following:
87
76
88
-
1. At the top of the DevOps Projects dashboard, select **Build Pipelines**.
89
-
This link opens a browser tab and the build pipeline for your new project.
77
+
1. At the top of the DevOps Starter dashboard, select **Build Pipelines**. This link opens a browser tab and the build pipeline for your new project.
90
78
91
-
1. Point to the **Status** field, and then select the **ellipsis** (...).
92
-
A menu displays several options, such as queuing a new build, pausing a build, and editing the build pipeline.
79
+
1. Point to the **Status** field, and then select the **ellipsis** (...). A menu displays several options, such as queuing a new build, pausing a build, and editing the build pipeline.
93
80
94
81
1. Select **Edit**.
95
82
96
-
1. In this pane, you can examine the various tasks for your build pipeline.
97
-
The build runs a variety of tasks, such as fetching sources from the Git repository, restoring dependencies, and publishing outputs that are used for deployments.
83
+
1. In this pane, you can examine the various tasks for your build pipeline. The build runs a variety of tasks, such as fetching sources from the Git repository, restoring dependencies, and publishing outputs that are used for deployments.
98
84
99
85
1. At the top of the build pipeline, select the build pipeline name.
100
86
101
87
1. Change the name of your build pipeline to something more descriptive, select, **Save & queue**, and then select **Save**.
102
88
103
-
1. Under your build pipeline name, select **History**.
104
-
The **History** pane displays an audit trail of your recent changes for the build. Azure Pipelines keeps track of any changes that are made to the build pipeline, and it allows you to compare versions.
89
+
1. Under your build pipeline name, select **History**. The **History** pane displays an audit trail of your recent changes for the build. Azure Pipelines keeps track of any changes that are made to the build pipeline, and it allows you to compare versions.
105
90
106
-
1. Select **Triggers**.
107
-
DevOps Projects automatically created a CI trigger, and every commit to the repository starts a new build. You can optionally choose to include or exclude branches from the CI process.
91
+
1. Select **Triggers**. DevOps Starter automatically created a CI trigger, and every commit to the repository starts a new build. You can optionally choose to include or exclude branches from the CI process.
108
92
109
-
1. Select **Retention**.
110
-
Depending on your scenario, you can specify policies to keep or remove a certain number of builds.
93
+
1. Select **Retention**. Depending on your scenario, you can specify policies to keep or remove a certain number of builds.
111
94
112
-
1. Select **Build and Release**, and then select **Releases**.
113
-
DevOps Projects creates a release pipeline to manage deployments to Azure.
95
+
1. Select **Build and Release**, and then select **Releases**. DevOps Starter creates a release pipeline to manage deployments to Azure.
114
96
115
-
1. Select the ellipsis (...) next to your release pipeline, and then select **Edit**.
116
-
The release pipeline contains a pipeline, which defines the release process.
97
+
1. Select the ellipsis (...) next to your release pipeline, and then select **Edit**. The release pipeline contains a pipeline, which defines the release process.
117
98
118
-
12. Under **Artifacts**, select **Drop**.
119
-
The build pipeline you examined in the previous steps produces the output that's used for the artifact.
99
+
12. Under **Artifacts**, select **Drop**. The build pipeline you examined in the previous steps produces the output that's used for the artifact.
120
100
121
-
1. Next to the **Drop** icon, select the **Continuous deployment trigger**.
122
-
This release pipeline has an enabled CD trigger, which runs a deployment every time there's a new build artifact available. Optionally, you can disable the trigger so that your deployments require manual execution.
101
+
1. Next to the **Drop** icon, select the **Continuous deployment trigger**. This release pipeline has an enabled CD trigger, which runs a deployment every time there's a new build artifact available. Optionally, you can disable the trigger so that your deployments require manual execution.
123
102
124
-
1. On the left, select **Tasks**.
125
-
The tasks are the activities that your deployment process performs. In this example, a task was created to deploy to Azure App Service.
103
+
1. On the left, select **Tasks**. The tasks are the activities that your deployment process performs. In this example, a task was created to deploy to Azure App Service.
126
104
127
105
1. On the right, select **View releases** to display a history of releases.
128
106
129
-
1. Select the ellipsis (...) next to one of your releases, and then select **Open**.
130
-
There are several menus to explore from this view such as a release summary, associated work items, and tests.
107
+
1. Select the ellipsis (...) next to one of your releases, and then select **Open**. There are several menus to explore from this view such as a release summary, associated work items, and tests.
131
108
132
-
1. Select **Commits**.
133
-
This view shows code commits that are associated with the specific deployment.
109
+
1. Select **Commits**. This view shows code commits that are associated with the specific deployment.
134
110
135
-
1. Select **Logs**.
136
-
The logs contain useful information about the deployment process. They can be viewed both during and after deployments.
111
+
1. Select **Logs**. The logs contain useful information about the deployment process. They can be viewed both during and after deployments.
137
112
138
113
## Clean up resources
139
114
140
-
You can delete Azure App Service and other related resources when you don't need them anymore. Use the **Delete** functionality on the DevOps Projects dashboard.
115
+
You can delete Azure App Service and other related resources when you don't need them anymore. Use the **Delete** functionality on the DevOps Starter dashboard.
Copy file name to clipboardExpand all lines: articles/devops-project/azure-devops-project-python.md
+37-58Lines changed: 37 additions & 58 deletions
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,23 @@
1
1
---
2
-
title: 'Quickstart: Create a CI/CD pipeline for Python with Azure DevOps Projects'
3
-
description: DevOps Projects makes it easy to get started with Azure. It helps you launch an app on an Azure service of your choice in few quick steps.
2
+
title: 'Quickstart: Create a CI/CD pipeline for Python with Azure DevOps Starter'
3
+
description: DevOps Starter makes it easy to get started with Azure. It helps you launch an app on an Azure service of your choice in few quick steps.
4
4
ms.prod: devops
5
5
ms.technology: devops-cicd
6
6
services: vsts
7
7
documentationcenter: vs-devops-build
8
8
author: mlearned
9
9
manager: gwallace
10
-
editor: ''
11
-
ms.assetid:
12
10
ms.workload: web
13
11
ms.tgt_pltfrm: na
14
12
ms.topic: quickstart
15
-
ms.date: 07/09/2018
13
+
ms.date: 03/24/2020
16
14
ms.author: mlearned
17
15
ms.custom: mvc
18
-
monikerRange: 'vsts'
19
16
---
20
17
18
+
# Create a CI/CD pipeline for Python with Azure DevOps Starter
21
19
22
-
# Create a CI/CD pipeline for Python with Azure DevOps Projects
23
-
24
-
In this quickstart, you use the simplified Azure DevOps Projects experience to set up a continuous integration (CI) and continuous delivery (CD) pipeline for your Python app in Azure Pipelines. You can use Azure DevOps Projects to set up everything you need for developing, deploying, and monitoring your app.
20
+
In this quickstart, you use the simplified Azure DevOps Starter experience to set up a continuous integration (CI) and continuous delivery (CD) pipeline for your Python app in Azure Pipelines. You can use Azure DevOps Starter to set up everything you need for developing, deploying, and monitoring your app.
25
21
26
22
## Prerequisites
27
23
@@ -30,114 +26,97 @@ In this quickstart, you use the simplified Azure DevOps Projects experience to s
30
26
31
27
## Sign in to the Azure portal
32
28
33
-
DevOps Projects creates a CI/CD pipeline in Azure Pipelines. You can create a new Azure DevOps organization or use an existing organization. DevOps Projects also creates Azure resources in the Azure subscription of your choice.
29
+
DevOps Starter creates a CI/CD pipeline in Azure Pipelines. You can create a new Azure DevOps organization or use an existing organization. DevOps Starter also creates Azure resources in the Azure subscription of your choice.
34
30
35
-
1. Sign in to the [Azure portal](https://portal.azure.com), and in the left pane, select **Create a resource**.
31
+
1. Sign in to the [Azure portal](https://portal.azure.com).
36
32
37
-

33
+
1. In the search box, type **DevOps Starter**, and then select. Click on **Add** to create a new one.
38
34
39
-
1. Search for and select **DevOps Projects**, and then select **Create**.
1. Select the Python sample application. The Python samples include a choice of several application frameworks.
44
40
45
-
1. The default sample framework is Django. Leave the default setting, and then select **Next**.
46
-
Web App For Containers is the default deployment target. The application framework, which you chose previously, dictates the type of Azure service deployment target available here.
41
+
1. The default sample framework is Django. Leave the default setting, and then select **Next**. Web App For Containers is the default deployment target. The application framework, which you chose previously, dictates the type of Azure service deployment target available here.
47
42
48
43
3. Leave the default service, and then select **Next**.
49
44
50
45
## Configure Azure DevOps and an Azure subscription
51
46
52
47
1. Create a new Azure DevOps organization or choose an existing organization.
53
48
54
-
a. Enter a name for your project in Azure DevOps.
49
+
a. Enter a name for your project in Azure DevOps.
55
50
56
-
b. Select your Azure subscription and location, enter a name for your application, and then select **Done**.
57
-
After few minutes, the project dashboard is displayed in the Azure portal. A sample application is set up in a repository in your Azure DevOps organization, a build is executed, and your application is deployed to Azure. This dashboard provides visibility into your code repository, your CI/CD pipeline, and your application in Azure.
58
-
51
+
b. Select your Azure subscription and location, enter a name for your application, and then select **Done**.
52
+
After few minutes, the Starter dashboard is displayed in the Azure portal. A sample application is set up in a repository in your Azure DevOps organization, a build is executed, and your application is deployed to Azure. This dashboard provides visibility into your code repository, your CI/CD pipeline, and your application in Azure.
53
+
59
54
2. Select **Browse** to view your running application.
DevOps Projects automatically configures a CI build and release trigger. You're now ready to collaborate with a team on a Python app by using a CI/CD process that automatically deploys your latest work to your website.
64
59
65
60
## Commit code changes and execute CI/CD
66
61
67
-
DevOps Projects creates a Git repository in Azure Repos or GitHub. To view the repository and make code changes to your application, do the following:
62
+
DevOps Starter creates a Git repository in Azure Repos or GitHub. To view the repository and make code changes to your application, do the following:
68
63
69
-
1. On the left side of the DevOps Projects dashboard, select the link for your master branch.
70
-
This link opens a view to the newly created Git repository.
64
+
1. On the left side of the DevOps Starter dashboard, select the link for your master branch. This link opens a view to the newly created Git repository.
71
65
72
-
1. To view the repository clone URL, select **Clone** from the top right of the browser.
73
-
You can clone your Git repository in your favorite IDE. In the next few steps, you can use the web browser to make and commit code changes directly to the master branch.
66
+
1. To view the repository clone URL, select **Clone** from the top right of the browser. You can clone your Git repository in your favorite IDE. In the next few steps, you can use the web browser to make and commit code changes directly to the master branch.
74
67
75
68
1. On the left, go to the **app/templates/app/index.html** file.
76
69
77
70
1. Select **Edit**, and make a change to some of the text. For example, change some of the text for one of the div tags.
78
71
79
72
1. Select **Commit**, and then save your changes.
80
73
81
-
1. In your browser, go to the DevOps Projects dashboard.
82
-
You should now see a build in progress. The changes you just made are automatically built and deployed via a CI/CD pipeline.
74
+
1. In your browser, go to the DevOps Starter dashboard. You should now see a build in progress. The changes you just made are automatically built and deployed via a CI/CD pipeline.
83
75
84
76
## Examine the CI/CD pipeline
85
77
86
-
In the previous step, DevOps Projects automatically configured a full CI/CD pipeline. Explore and customize the pipeline as needed. To familiarize yourself with the build and release pipelines, do the following:
78
+
In the previous step, DevOps Starter automatically configured a full CI/CD pipeline. Explore and customize the pipeline as needed. To familiarize yourself with the build and release pipelines, do the following:
87
79
88
-
1. At the top of the DevOps Projects dashboard, select **Build Pipelines**.
89
-
A browser tab displays the build pipeline for your new project.
80
+
1. At the top of the DevOps Starter dashboard, select **Build Pipelines**. A browser tab displays the build pipeline for your new project.
90
81
91
-
1. Point to the **Status** field, and then select the **ellipsis** (...).
92
-
A menu displays several options, such as queueing a new build, pausing a build, and editing the build pipeline.
82
+
1. Point to the **Status** field, and then select the **ellipsis** (...). A menu displays several options, such as queueing a new build, pausing a build, and editing the build pipeline.
93
83
94
84
1. Select **Edit**.
95
85
96
-
1. In this pane, you can examine the various tasks for your build pipeline.
97
-
The build performs various tasks such as fetching sources from the Git repository, restoring dependencies, and publishing outputs for deployments.
86
+
1. In this pane, you can examine the various tasks for your build pipeline. The build performs various tasks such as fetching sources from the Git repository, restoring dependencies, and publishing outputs for deployments.
98
87
99
88
1. At the top of the build pipeline, select the build pipeline name.
100
89
101
90
1. Change the name of your build pipeline to something more descriptive, select **Save & queue**, and then select **Save**.
102
91
103
-
1. Under your build pipeline name, select **History**.
104
-
You see an audit trail of your recent changes for the build. Azure DevOps keeps track of any changes made to the build pipeline, and it allows you to compare versions.
92
+
1. Under your build pipeline name, select **History**. You see an audit trail of your recent changes for the build. Azure DevOps keeps track of any changes made to the build pipeline, and it allows you to compare versions.
105
93
106
-
1. Select **Triggers**.
107
-
DevOps Projects automatically creates a CI trigger, and every commit to the repository starts a new build. You can optionally choose to include or exclude branches from the CI process.
94
+
1. Select **Triggers**. DevOps Starter automatically creates a CI trigger, and every commit to the repository starts a new build. You can optionally choose to include or exclude branches from the CI process.
108
95
109
-
1. Select **Retention**.
110
-
Depending on your scenario, you can specify policies to keep or remove a certain number of builds.
96
+
1. Select **Retention**. Depending on your scenario, you can specify policies to keep or remove a certain number of builds.
111
97
112
98
1. Select **Build and Release**, and then choose **Releases**.
113
99
DevOps Projects creates a release pipeline to manage deployments to Azure.
114
100
115
-
1. Select the ellipsis next to your release pipeline, and then select **Edit**.
116
-
The release pipeline defines the release process.
117
-
118
-
12. Under **Artifacts**, select **Drop**.
119
-
The build pipeline you examined in the previous steps produces the output that's used for the artifact.
101
+
1. Select the ellipsis next to your release pipeline, and then select **Edit**. The release pipeline defines the release process.
102
+
103
+
12. Under **Artifacts**, select **Drop**. The build pipeline you examined in the previous steps produces the output that's used for the artifact.
120
104
121
-
1. Next to the **Drop** icon, select the **Continuous deployment trigger**.
122
-
The release pipeline has an enabled CD trigger, which runs a deployment every time there's a new build artifact available. Optionally, you can disable the trigger so that your deployments require manual execution.
105
+
1. Next to the **Drop** icon, select the **Continuous deployment trigger**. The release pipeline has an enabled CD trigger, which runs a deployment every time there's a new build artifact available. Optionally, you can disable the trigger so that your deployments require manual execution.
123
106
124
-
1. On the left, select **Tasks**.
125
-
The tasks are the activities that your deployment process performs. In this example, a task was created to deploy to Azure App Service.
107
+
1. On the left, select **Tasks**. The tasks are the activities that your deployment process performs. In this example, a task was created to deploy to Azure App Service.
126
108
127
109
1. On the right, select **View releases** to display a history of releases.
128
-
129
-
1. Select the ellipsis (...) next to one of your releases, and then select **Open**.
130
-
There are several menus to explore from this view, such as a release summary, associated work items, and tests.
110
+
111
+
1. Select the ellipsis (...) next to one of your releases, and then select **Open**. There are several menus to explore from this view, such as a release summary, associated work items, and tests.
131
112
132
-
1. Select **Commits**.
133
-
This view shows the code commits that are associated with the specific deployment.
113
+
1. Select **Commits**. This view shows the code commits that are associated with the specific deployment.
134
114
135
-
1. Select **Logs**.
136
-
The logs contain useful information about the deployment process. You can view them both during and after deployments.
115
+
1. Select **Logs**. The logs contain useful information about the deployment process. You can view them both during and after deployments.
137
116
138
117
## Clean up resources
139
118
140
-
You can delete Azure App Service and related resources when you don't need them anymore. Use the **Delete** functionality on the DevOps Projects dashboard.
119
+
You can delete Azure App Service and related resources when you don't need them anymore. Use the **Delete** functionality on the DevOps Starter dashboard.
Copy file name to clipboardExpand all lines: articles/devops-project/azure-devops-project-ruby.md
+35-59Lines changed: 35 additions & 59 deletions
Original file line number
Diff line number
Diff line change
@@ -1,51 +1,44 @@
1
1
---
2
-
title: 'Quickstart: Create a CI/CD pipeline for Ruby on Rails by using Azure DevOps Projects'
3
-
description: Azure DevOps Projects makes it easy to get started on Azure. You can launch a Ruby web app on an Azure service in a few quick steps.
2
+
title: 'Quickstart: Create a CI/CD pipeline for Ruby on Rails by using Azure DevOps Starter'
3
+
description: Azure DevOps Starter makes it easy to get started on Azure. You can launch a Ruby web app on an Azure service in a few quick steps.
4
4
ms.prod: devops
5
5
ms.technology: devops-cicd
6
6
services: vsts
7
7
documentationcenter: vs-devops-build
8
8
author: mlearned
9
9
manager: gwallace
10
-
editor: ''
11
-
ms.assetid:
12
10
ms.workload: web
13
11
ms.tgt_pltfrm: na
14
12
ms.topic: quickstart
15
-
ms.date: 07/09/2018
13
+
ms.date: 03/24/2020
16
14
ms.author: mlearned
17
15
ms.custom: mvc
18
-
monikerRange: 'vsts'
19
16
---
20
17
18
+
# Create a CI/CD pipeline for Ruby on Rails by using Azure DevOps Starter
21
19
22
-
# Create a CI/CD pipeline for Ruby on Rails by using Azure DevOps Projects
23
-
24
-
Configure continuous integration (CI) and continuous delivery (CD) for your Ruby on Rails app by using Azure DevOps Projects. DevOps Projects simplifies the initial configuration of an Azure DevOps build and release pipeline.
20
+
Configure continuous integration (CI) and continuous delivery (CD) for your Ruby on Rails app by using Azure DevOps Starter. DevOps Starter simplifies the initial configuration of an Azure DevOps build and release pipeline.
25
21
26
22
If you don't have an Azure subscription, you can get one free through [Visual Studio Dev Essentials](https://visualstudio.microsoft.com/dev-essentials/).
27
23
28
24
## Sign in to the Azure portal
29
25
30
-
Azure DevOps Projects creates a CI/CD pipeline in Azure Repos. You can create a new Azure DevOps organization or use an existing organization. DevOps Projects also creates Azure resources in the Azure subscription of your choice.
26
+
Azure DevOps Starter creates a CI/CD pipeline in Azure Repos. You can create a new Azure DevOps organization or use an existing organization. DevOps Starter also creates Azure resources in the Azure subscription of your choice.
31
27
32
28
1. Sign in to the [Azure portal](https://portal.azure.com).
33
29
34
-
1. In the left pane, select **Create a resource**.
35
-
36
-
1. In the search box, type **DevOps Projects**, and then select **Create**.
30
+
1. In the search box, type **DevOps Starter**, and then select. Click on **Add** to create a new one.
1. Select the **Ruby on Rails** application framework. When you're done, select **Next**.
45
39
46
-
1.**Web App on Linux** is the default deployment target.
47
-
Optionally, you can select **Web App for Containers**. The application framework, which you chose previously, dictates the type of Azure service deployment target that's available here.
48
-
40
+
1.**Web App on Linux** is the default deployment target. Optionally, you can select **Web App for Containers**. The application framework, which you chose previously, dictates the type of Azure service deployment target that's available here.
41
+
49
42
1. Select the target service of your choice, and then select **Next**.
50
43
51
44
## Configure Azure DevOps and an Azure subscription
@@ -55,90 +48,73 @@ Azure DevOps Projects creates a CI/CD pipeline in Azure Repos. You can create a
55
48
1. Enter a name for your Azure DevOps project.
56
49
57
50
1. Select your Azure subscription and location, enter a name for your app, and then select **Done**.
58
-
After a few minutes, the DevOps Projects dashboard is displayed in the Azure portal. A sample app is set up in a repo in your Azure DevOps organization, a build is executed, and your app is deployed to Azure.
59
-
60
-
The dashboard provides visibility into your code repo, your CI/CD pipeline, and your app in Azure. At the right, select **Browse** to view your running app.
51
+
After a few minutes, the DevOps Starter dashboard is displayed in the Azure portal. A sample app is set up in a repo in your Azure DevOps organization, a build is executed, and your app is deployed to Azure.
52
+
53
+
The dashboard provides visibility into your code repo, your CI/CD pipeline, and your app in Azure. At the right, select **Browse** to view your running app.
Azure DevOps Projects creates a Git repo in Azure Pipelines or GitHub. To view the repo and make code changes to your app, do the following:
59
+
Azure DevOps Starter creates a Git repo in Azure Pipelines or GitHub. To view the repo and make code changes to your app, do the following:
67
60
68
-
1. On the DevOps Projects dashboard, at the left, select the link for your master branch.
69
-
The link opens a view to the newly created Git repo.
61
+
1. On the DevOps Starter dashboard, at the left, select the link for your master branch. The link opens a view to the newly created Git repo.
70
62
71
-
1. To view the repo clone URL, select **Clone** at the top right.
72
-
You can clone your Git repo in your favorite IDE. In the next few steps, you can use the web browser to make and commit code changes directly to the master branch.
63
+
1. To view the repo clone URL, select **Clone** at the top right. You can clone your Git repo in your favorite IDE. In the next few steps, you can use the web browser to make and commit code changes directly to the master branch.
73
64
74
65
1. At the left, go to the *app/views/pages/home.html.erb* file, and then select **Edit**.
75
66
76
67
1. Make a change to the file. For example, modify some text within one of the div tags.
77
68
78
69
1. Select **Commit**, and then save your changes.
79
70
80
-
1. In your browser, go to the DevOps Projects dashboard.
81
-
A build should be in progress. The changes you made are automatically built and deployed via a CI/CD pipeline.
71
+
1. In your browser, go to the DevOps Starter dashboard. A build should be in progress. The changes you made are automatically built and deployed via a CI/CD pipeline.
82
72
83
73
## Examine the Azure Pipelines CI/CD pipeline
84
74
85
-
Azure DevOps Projects automatically configures a full CI/CD pipeline in your Azure DevOps organization. Explore and customize the pipeline as needed. To familiarize yourself with the Azure DevOps build and release pipelines, do the following:
75
+
Azure DevOps Starter automatically configures a full CI/CD pipeline in your Azure DevOps organization. Explore and customize the pipeline as needed. To familiarize yourself with the Azure DevOps build and release pipelines, do the following:
86
76
87
-
1. Go to the DevOps Projects dashboard.
77
+
1. Go to the DevOps Starter dashboard.
88
78
89
-
1. At the top, select **Build pipelines**.
90
-
A browser tab displays the build pipeline for your new project.
79
+
1. At the top, select **Build pipelines**. A browser tab displays the build pipeline for your new project.
91
80
92
-
1. Point to the **Status** field, and then select the ellipsis (...).
93
-
A menu displays several options, such as queueing a new build, pausing a build, and editing the build pipeline.
81
+
1. Point to the **Status** field, and then select the ellipsis (...). A menu displays several options, such as queueing a new build, pausing a build, and editing the build pipeline.
94
82
95
83
1. Select **Edit**.
96
84
97
-
1. In this pane, you can examine the various tasks for your build pipeline.
98
-
The build performs various tasks, such as fetching sources from the Git repo, restoring dependencies, and publishing outputs used for deployments.
85
+
1. In this pane, you can examine the various tasks for your build pipeline. The build performs various tasks, such as fetching sources from the Git repo, restoring dependencies, and publishing outputs used for deployments.
99
86
100
87
1. At the top of the build pipeline, select the build pipeline name.
101
88
102
89
1. Change the name of your build pipeline to something more descriptive, select **Save & queue**, and then select **Save**.
103
90
104
-
1. Under your build pipeline name, select **History**.
105
-
This pane displays an audit trail of your recent changes for the build. Azure DevOps keeps track of any changes made to the build pipeline, and it allows you to compare versions.
91
+
1. Under your build pipeline name, select **History**. This pane displays an audit trail of your recent changes for the build. Azure DevOps keeps track of any changes made to the build pipeline, and it allows you to compare versions.
106
92
107
-
1. Select **Triggers**.
108
-
DevOps Projects automatically creates a CI trigger, and every commit to the repo starts a new build. Optionally, you can choose to include or exclude branches from the CI process.
93
+
1. Select **Triggers**. DevOps Starter automatically creates a CI trigger, and every commit to the repo starts a new build. Optionally, you can choose to include or exclude branches from the CI process.
109
94
110
-
1. Select **Retention**.
111
-
Depending on your scenario, you can specify policies to keep or remove a certain number of builds.
95
+
1. Select **Retention**. Depending on your scenario, you can specify policies to keep or remove a certain number of builds.
112
96
113
-
1. Select **Build and Release**, and then select **Releases**.
114
-
DevOps Projects creates a release pipeline to manage deployments to Azure.
97
+
1. Select **Build and Release**, and then select **Releases**. DevOps Starter creates a release pipeline to manage deployments to Azure.
115
98
116
-
1. Select the ellipsis (...) next to your release pipeline, and then select **Edit**.
117
-
The release pipeline contains a *pipeline*, which defines the release process.
99
+
1. Select the ellipsis (...) next to your release pipeline, and then select **Edit**. The release pipeline contains a *pipeline*, which defines the release process.
118
100
119
-
1. Under **Artifacts**, select **Drop**.
120
-
The build pipeline you examined previously produces the output that's used for the artifact.
101
+
1. Under **Artifacts**, select **Drop**. The build pipeline you examined previously produces the output that's used for the artifact.
121
102
122
-
1. At the right of the **Drop** icon, select **Continuous deployment trigger**.
123
-
This release pipeline has an enabled CD trigger, which executes a deployment every time a new build artifact is available. Optionally, you can disable the trigger so that your deployments require manual execution.
103
+
1. At the right of the **Drop** icon, select **Continuous deployment trigger**. This release pipeline has an enabled CD trigger, which executes a deployment every time a new build artifact is available. Optionally, you can disable the trigger so that your deployments require manual execution.
124
104
125
-
1. At the left, select **Tasks**.
126
-
Tasks are the activities your deployment process performs. In this example, a task was created to deploy to Azure App Service.
105
+
1. At the left, select **Tasks**. Tasks are the activities your deployment process performs. In this example, a task was created to deploy to Azure App Service.
127
106
128
107
1. At the right, select **View releases** to display a history of releases.
129
108
130
-
1. Select the ellipsis (...) next to a release, and then select **Open**.
131
-
You can explore several menus, such as a release summary, associated work items, and tests.
109
+
1. Select the ellipsis (...) next to a release, and then select **Open**. You can explore several menus, such as a release summary, associated work items, and tests.
132
110
133
-
1. Select **Commits**.
134
-
This view shows code commits that are associated with this deployment.
111
+
1. Select **Commits**. This view shows code commits that are associated with this deployment.
135
112
136
-
1. Select **Logs**.
137
-
The logs contain useful information about the deployment process. You can view them both during and after deployments.
113
+
1. Select **Logs**. The logs contain useful information about the deployment process. You can view them both during and after deployments.
138
114
139
115
## Clean up resources
140
116
141
-
When they are no longer needed, you can delete the Azure App Service instance and related resources that you created in this quickstart. To do so, use the **Delete** functionality on the DevOps Projects dashboard.
117
+
When they are no longer needed, you can delete the Azure App Service instance and related resources that you created in this quickstart. To do so, use the **Delete** functionality on the DevOps Starter dashboard.
Copy file name to clipboardExpand all lines: articles/devops-project/azure-devops-project-service-fabric.md
+36-53Lines changed: 36 additions & 53 deletions
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,29 @@
1
1
---
2
-
title: 'Tutorial: Deploy your ASP.NET Core app to Azure Service Fabric by using Azure DevOps Projects'
3
-
description: Azure DevOps Projects makes it easy to get started on Azure. With DevOps Projects, you can deploy your ASP.NET Core app to Azure Service Fabric in a few quick steps.
2
+
title: 'Tutorial: Deploy your ASP.NET Core app to Azure Service Fabric by using Azure DevOps Starter'
3
+
description: Azure DevOps Starter makes it easy to get started on Azure. With DevOps Projects, you can deploy your ASP.NET Core app to Azure Service Fabric in a few quick steps.
4
4
ms.author: mlearned
5
5
ms.manager: gwallace
6
6
ms.prod: devops
7
7
ms.technology: devops-cicd
8
8
ms.topic: tutorial
9
-
ms.date: 07/09/2018
9
+
ms.date: 03/24/2020
10
10
author: mlearned
11
-
monikerRange: 'vsts'
12
11
---
13
12
13
+
# Tutorial: Deploy your ASP.NET Core app to Azure Service Fabric by using Azure DevOps Starter
14
14
15
-
# Tutorial: Deploy your ASP.NET Core app to Azure Service Fabric by using Azure DevOps Projects
15
+
Azure DevOps Starter presents a simplified experience where you can bring your existing code and Git repo or choose a sample application to create a continuous integration (CI) and continuous delivery (CD) pipeline to Azure.
16
16
17
-
Azure DevOps Projects presents a simplified experience where you can bring your existing code and Git repo or choose a sample application to create a continuous integration (CI) and continuous delivery (CD) pipeline to Azure.
17
+
DevOps Starter also:
18
18
19
-
DevOps Projects also:
20
19
* Automatically creates Azure resources, such as Azure Service Fabric.
21
20
* Creates and configures a release pipeline in Azure DevOps that sets up a CI/CD pipeline.
22
21
* Creates an Azure Application Insights resource for monitoring.
23
22
24
23
In this tutorial, you will:
25
24
26
25
> [!div class="checklist"]
27
-
> * Use DevOps Projects to create an ASP.NET Core app and deploy it to Service Fabric
26
+
> * Use DevOps Starter to create an ASP.NET Core app and deploy it to Service Fabric
28
27
> * Configure Azure DevOps and an Azure subscription
29
28
> * Examine the CI pipeline
30
29
> * Examine the CD pipeline
@@ -35,17 +34,15 @@ In this tutorial, you will:
35
34
36
35
* An Azure subscription. You can get one free through [Visual Studio Dev Essentials](https://visualstudio.microsoft.com/dev-essentials/).
37
36
38
-
## Use DevOps Projects to create an ASP.NET Core app and deploy it to Service Fabric
37
+
## Use DevOps Starter to create an ASP.NET Core app and deploy it to Service Fabric
39
38
40
-
DevOps Projects creates a CI/CD pipeline in Azure Pipelines. You can create a new Azure DevOps organization or use an existing organization. DevOps Projects also creates Azure resources, such as a Service Fabric cluster, in the Azure subscription of your choice.
39
+
DevOps Starter creates a CI/CD pipeline in Azure Pipelines. You can create a new Azure DevOps organization or use an existing organization. DevOps Starter also creates Azure resources, such as a Service Fabric cluster, in the Azure subscription of your choice.
41
40
42
41
1. Sign in to the [Azure portal](https://portal.azure.com).
43
42
44
-
1. In the left pane, select**Create a resource**.
43
+
1. In the search box, type**DevOps Starter**, and then select. Click on **Add** to create a new one.
45
44
46
-
1. In the search box, type **DevOps Projects**, and then select **Create**.
@@ -61,70 +58,56 @@ DevOps Projects creates a CI/CD pipeline in Azure Pipelines. You can create a ne
61
58
62
59
1. Select your Azure subscription.
63
60
64
-
1. To view additional Azure configuration settings and to identify the node virtual machine size and operating system for the Service Fabric cluster, select **Change**.
65
-
This pane displays various options for configuring the type and location of Azure services.
61
+
1. To view additional Azure configuration settings and to identify the node virtual machine size and operating system for the Service Fabric cluster, select **Change**. This pane displays various options for configuring the type and location of Azure services.
66
62
67
63
1. Exit the Azure configuration area, and then select **Done**.
68
-
After a few minutes, the process is completed. A sample ASP.NET Core app is set up in a Git repo in your Azure DevOps organization, a Service Fabric cluster is created, a CI/CD pipeline is executed, and your app is deployed to Azure.
64
+
After a few minutes, the process is completed. A sample ASP.NET Core app is set up in a Git repo in your Azure DevOps organization, a Service Fabric cluster is created, a CI/CD pipeline is executed, and your app is deployed to Azure.
69
65
70
-
After all this is completed, the DevOps Projects dashboard is displayed in the Azure portal. You can also go to the DevOps Projects dashboard directly from **All resources** in the Azure portal.
66
+
After all this is completed, the DevOps Starter dashboard is displayed in the Azure portal. You can also go to the DevOps Starter dashboard directly from **All resources** in the Azure portal.
71
67
72
-
This dashboard provides visibility into your Azure DevOps code repo, your CI/CD pipeline, and your Service Fabric cluster. You can configure additional options for your CI/CD pipeline in Azure Repos. At the right, select **Browse** to view your running app.
68
+
This dashboard provides visibility into your Azure DevOps code repo, your CI/CD pipeline, and your Service Fabric cluster. You can configure additional options for your CI/CD pipeline in Azure Repos. At the right, select **Browse** to view your running app.
73
69
74
70
## Examine the CI pipeline
75
71
76
-
DevOps Projects automatically configures a CI/CD pipeline in Azure Pipelines. You can explore and customize the pipeline. To familiarize yourself with it, do the following:
72
+
DevOps Starter automatically configures a CI/CD pipeline in Azure Pipelines. You can explore and customize the pipeline. To familiarize yourself with it, do the following:
77
73
78
-
1. Go to the DevOps Project dashboard.
74
+
1. Go to the DevOps Starter dashboard.
79
75
80
-
1. At the top of the DevOps Projects dashboard, select **Build pipelines**.
81
-
A browser tab displays the build pipeline for your new project.
76
+
1. At the top of the DevOps Starter dashboard, select **Build pipelines**. A browser tab displays the build pipeline for your new project.
82
77
83
-
1. Point to the **Status** field, and then select the ellipsis (...).
84
-
A menu displays several options, such as queueing a new build, pausing a build, and editing the build pipeline.
78
+
1. Point to the **Status** field, and then select the ellipsis (...). A menu displays several options, such as queueing a new build, pausing a build, and editing the build pipeline.
85
79
86
80
1. Select **Edit**.
87
81
88
-
1. In this pane, you can examine the various tasks for your build pipeline.
89
-
The build performs various tasks, such as fetching sources from the Git repo, restoring dependencies, and publishing outputs used for deployments.
82
+
1. In this pane, you can examine the various tasks for your build pipeline. The build performs various tasks, such as fetching sources from the Git repo, restoring dependencies, and publishing outputs used for deployments.
90
83
91
84
1. At the top of the build pipeline, select the build pipeline name.
92
85
93
-
1. Under your build pipeline name, select **History**.
94
-
This pane displays an audit trail of your recent changes for the build. Azure DevOps keeps track of any changes made to the build pipeline, and it allows you to compare versions.
86
+
1. Under your build pipeline name, select **History**. This pane displays an audit trail of your recent changes for the build. Azure DevOps keeps track of any changes made to the build pipeline, and it allows you to compare versions.
95
87
96
-
1. Select **Triggers**.
97
-
DevOps Projects automatically creates a CI trigger, and every commit to the repo starts a new build. Optionally, you can choose to include or exclude branches from the CI process.
88
+
1. Select **Triggers**. DevOps Starter automatically creates a CI trigger, and every commit to the repo starts a new build. Optionally, you can choose to include or exclude branches from the CI process.
98
89
99
-
1. Select **Retention**.
100
-
Depending on your scenario, you can specify policies to keep or remove a certain number of builds.
90
+
1. Select **Retention**. Depending on your scenario, you can specify policies to keep or remove a certain number of builds.
101
91
102
92
## Examine the CD pipeline
103
93
104
-
DevOps Projects automatically creates and configures the necessary steps to deploy from your Azure DevOps organization to your Azure subscription. These steps include configuring an Azure service connection to authenticate Azure DevOps to your Azure subscription. The automation also creates a release pipeline, which provides the CD to Azure. To learn more about the release pipeline, do the following:
94
+
DevOps Starter automatically creates and configures the necessary steps to deploy from your Azure DevOps organization to your Azure subscription. These steps include configuring an Azure service connection to authenticate Azure DevOps to your Azure subscription. The automation also creates a release pipeline, which provides the CD to Azure. To learn more about the release pipeline, do the following:
105
95
106
-
1. Select **Build and Release**, and then select **Releases**.
107
-
DevOps Projects creates a release pipeline to manage deployments to Azure.
96
+
1. Select **Build and Release**, and then select **Releases**. DevOps Starter creates a release pipeline to manage deployments to Azure.
108
97
109
-
1. Select the ellipsis (...) next to your release pipeline, and then select **Edit**.
110
-
The release pipeline contains a *pipeline*, which defines the release process.
98
+
1. Select the ellipsis (...) next to your release pipeline, and then select **Edit**. The release pipeline contains a *pipeline*, which defines the release process.
111
99
112
-
1. Under **Artifacts**, select **Drop**.
113
-
The build pipeline you examined previously produces the output that's used for the artifact.
100
+
1. Under **Artifacts**, select **Drop**. The build pipeline you examined previously produces the output that's used for the artifact.
114
101
115
-
1. At the right of the **Drop** icon, select **Continuous deployment trigger**.
116
-
This release pipeline has an enabled CD trigger, which executes a deployment every time a new build artifact is available. Optionally, you can disable the trigger so that your deployments require manual execution.
102
+
1. At the right of the **Drop** icon, select **Continuous deployment trigger**. This release pipeline has an enabled CD trigger, which executes a deployment every time a new build artifact is available. Optionally, you can disable the trigger so that your deployments require manual execution.
117
103
118
104
1. At the right, select **View releases** to display a history of releases.
119
105
120
-
1. Select the ellipsis (...) next to a release, and then select **Open**.
121
-
You can explore several menus, such as a release summary, associated work items, and tests.
106
+
1. Select the ellipsis (...) next to a release, and then select **Open**. You can explore several menus, such as a release summary, associated work items, and tests.
122
107
123
-
1. Select **Commits**.
124
-
This view shows code commits that are associated with this deployment. Compare releases to view the commit differences between deployments.
108
+
1. Select **Commits**. This view shows code commits that are associated with this deployment. Compare releases to view the commit differences between deployments.
125
109
126
-
1. Select **Logs**.
127
-
The logs contain useful information about the deployment process. You can view them both during and after deployments.
110
+
1. Select **Logs**. The logs contain useful information about the deployment process. You can view them both during and after deployments.
128
111
129
112
## Commit changes to Git and automatically deploy them to Azure
130
113
@@ -140,18 +123,18 @@ You're now ready to collaborate with a team on your app by using a CI/CD process
140
123
1. Make a change to the file, such as adding some text within one of the div tags.
141
124
142
125
1. At the top right, select **Commit**, and then select **Commit** again to push your change.
143
-
After a few moments, a build starts, and then a release executes to deploy the changes. You can monitor the build status on the DevOps Projects dashboard or in the browser with Azure DevOps real-time logging.
126
+
After a few moments, a build starts, and then a release executes to deploy the changes. You can monitor the build status on the DevOps Starter dashboard or in the browser with Azure DevOps real-time logging.
144
127
145
128
1. After the release is completed, refresh your app to verify your changes.
146
129
147
130
## Clean up resources
148
131
149
-
If you are testing, you can avoid accruing billing charges by cleaning up your resources. When they are no longer needed, you can delete the Azure Service Fabric cluster and related resources that you created in this tutorial. To do so, use the **Delete** functionality on the DevOps Projects dashboard.
132
+
If you are testing, you can avoid accruing billing charges by cleaning up your resources. When they are no longer needed, you can delete the Azure Service Fabric cluster and related resources that you created in this tutorial. To do so, use the **Delete** functionality on the DevOps Starter dashboard.
150
133
151
134
> [!IMPORTANT]
152
-
> The following procedure permanently deletes resources. The *Delete* functionality destroys the data that's created by the project in DevOps Projects in both Azure and Azure DevOps, and you will be unable to retrieve it. Use this procedure only after you've carefully read the prompts.
135
+
> The following procedure permanently deletes resources. The *Delete* functionality destroys the data that's created by the project in DevOps Starter in both Azure and Azure DevOps, and you will be unable to retrieve it. Use this procedure only after you've carefully read the prompts.
153
136
154
-
1. In the Azure portal, go to the DevOps Projects dashboard.
137
+
1. In the Azure portal, go to the DevOps Starter dashboard.
155
138
1. At the top right, select **Delete**.
156
139
1. At the prompt, select **Yes** to *permanently delete* the resources.
157
140
@@ -160,7 +143,7 @@ If you are testing, you can avoid accruing billing charges by cleaning up your r
160
143
You can optionally modify the Azure CI/CD pipeline to meet the needs of your team. You can also use this CI/CD pattern as a template for your other pipelines. In this tutorial, you learned how to:
161
144
162
145
> [!div class="checklist"]
163
-
> * Use DevOps Projects to create an ASP.NET Core app and deploy it to Service Fabric
146
+
> * Use DevOps Starter to create an ASP.NET Core app and deploy it to Service Fabric
164
147
> * Configure Azure DevOps and an Azure subscription
0 commit comments