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: content/maintainers/creating-a-new-repo.md
+14
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ For class libraries projects a Sonarcloud project has to be setup in order to ru
36
36
37
37
## Setup Azure DevOps
38
38
39
+
### Build Pipeline
40
+
39
41
1. Open a new browser window on which you are signed in to GitHub as `nfbot`.
40
42
1. On the repo Settings, navigate to "GitHub Apps".
41
43
1. Click "Configure" button for Azure Pipelines.
@@ -62,6 +64,18 @@ For class libraries projects a Sonarcloud project has to be setup in order to ru
62
64
1. Add the following variables, all set to secret, with the values comming from the .NET Foundation signing service. Variables are `SignClientId`, `SignClientSecret`, `SignKeyVaultCertificate`, `SignKeyVaultUrl` and `SignTenantId`. **Make sure** that all the variables are set to `secret` by clicking on the appropriate option.
63
65
1. Go back to the pipelines view and with the current pipeline selected, click on the ellipsis icon and then on "Status badge". Copy the markdown code that shows on the pop-up. This will be required to add the correct build badges in the repo readme in a moment.
64
66
67
+
### Bootstrap pipeline
68
+
69
+
1. Go to the project pipelines page and click "New Pipeline".
70
+
1. Choose GitHub, select the repository, in configuration step select the option "Existing Azure Pipelines YAML file" and in the path, the azure-bootstrap.yml.
71
+
1. Click on "Variables" and add the following.
72
+
1. Add `AZURE_DEVOPS_PAT` with the PAT for ADO access. **Make sure** that the variable is set to `secret` by clicking on the appropriate option.
73
+
1. Click the "Save" button on the Variables pop-up (it will take you back to the pipeline yaml).
74
+
1. Cline the "Save" button at the top right and go through the commit message.
75
+
1. Navigate back to the Pipeline, select it and click "Edit" (at the top right). Then click on the 3 vertical dots (again at the top right) and then "Triggers".
76
+
1. Rename the pipeline to match the project name ending in bootstap (like in "nanoFramework.Json bootstrap").
77
+
1. Click "Save" in the toolbar (NOT "Save & Queue").
78
+
65
79
## Prepare the initial commit
66
80
67
81
1. Fork the repo into your preferred GutHub account and clone it locally.
0 commit comments